Commit Graph
13 Commits
Author SHA1 Message Date
Dean Galvinandedubox 2bd8a197f5 fix(libSceNpUtility): cap live service checker 2 requests, not issued ids
The host limit counted every id ever issued, so a title that created and destroyed one request per check got TOO_MANY_OBJECTS after 4096 checks. Count the live requests instead; ids still increase and skip live ones. The test now creates and destroys more requests than the limit.

Co-authored-by: edubox <[email protected]>
2026-11-06 09:13:20 +13:00
Eduardo Ruiz 26781d1016 fix(libSceNpUtility): bound request ids and match the abort wrapper 2026-11-02 23:11:20 +01:00
Eduardo Ruiz a6ec5d648b feat(libSceNpUtility): implement the service checker 2 requests
Recover the eight sceNpServiceChecker2Int signatures and error codes from the 11.00 wrappers: Initialize/Finalize hold one host state, CreateRequest writes request ids from 1, Destroy/Abort remove them, GetServiceAvailability and its A form return SIGNED_OUT without writing because no network is available, and IsSetServiceType reads bit 0..9 of a 32-bit mask. The console's availability payload, exact offline error and any request limit are not measured.
2026-11-02 03:34:03 +01:00
zaryabzip 217fc9f7e3 feat(libSceNpUtility): create lookup and word filter title contexts for a user id 2026-10-29 04:06:44 +05:00
milescovielloandClaude Opus 5.5 4bc7680624 test(libSceNpUtility): cover sceNpBandwidthTestAbort and sceNpBandwidthTestGetStatus before a test starts
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 18:02:59 +00:00
Dean ae5c5145db Merge pull request #10900 from EagleBearerYS/feat/netctl-ipcint-twins-v2
feat(libSceNetCtl): answer the IpcInt calls as their public twins, plus NpUtility's bandwidth test and Http's registered ids
2026-10-27 00:58:28 +13:00
louise-patraandClaude Opus 5.5 10f2994bb6 fix(libSceNpUtility): refuse null results and synchronous requests in polls and waits
Firmware 13.42's module checks a null result first (0x80550704) and
refuses a synchronous request in the lookup poll and wait with
0x80550307; the word filter keeps INVALID_ID. The debt entry records the
measurement and that IDs here do not carry the console's service bits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 18:50:17 +05:30
louise-patraandClaude Opus 5.5 855e4ea6a0 test(libSceNpUtility): keep the export ABI in the wait callback
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 13:57:19 +05:30
louise-patraandClaude Opus 5.5 ed2d79d962 test(libSceNpUtility): fail a wait that returns before its request finishes
The waiter sets a flag right before the wait; the test waits for it,
then requires the wait not to have returned before it finishes, aborts
or deletes the request.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 13:28:28 +05:30
louise-patraandClaude Opus 5.5 1cb7e2e3e0 feat(libSceNpUtility): implement lookup async requests, waits and timeouts
Adds sceNpLookupAbortRequest, sceNpLookupCreateAsyncRequest,
sceNpLookupPollAsync, sceNpLookupWaitAsync, sceNpLookupSetTimeout,
sceNpWordFilterSetTimeout and sceNpWordFilterWaitAsync on the offline
request model. Waits block on a condition variable that request
completion, abort and deletion signal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 13:28:28 +05:30
Yunus Shaikh 45d987a187 feat(libSceNpUtility): answer sceNpBandwidthTestInitStart and ShutdownWithDetailedInfo offline
InitStart returns SIGNED_OUT, as sceNpBandwidthTestInitStartDownload and
InitStartUpload do, so no test is ever started, and
ShutdownWithDetailedInfo returns INVALID_ARGUMENT and writes nothing, as
sceNpBandwidthTestShutdown does. Neither reads an argument.
2026-10-25 07:47:43 +00:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
Federico Marras fd7d181074 feat(libSceNpUtility): model the lookup and word filter requests offline
The 14 lookup and word filter exports threw. They now run shadPS4's
argument checks in its order over local title contexts and requests,
and the lookup, censor and sanitize calls finish with
SCE_NP_ERROR_SIGNED_OUT without writing an NpId or a comment.
2026-10-22 22:41:30 +02:00