feat(libSceNpSessionSignaling): implement sceNpSessionSignalingGetConnectionStatistics #970

Closed
Kikoarl wants to merge 1 commit from upstream-pr/970 into main
Kikoarl commented 2026-10-06 20:46:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T20:46:41Z.


What

Implement sceNpSessionSignalingGetConnectionStatistics in libSceNpSessionSignaling returning SCE_NP_SESSION_SIGNALING_ERROR_UNAVAILABLE, matching sceNpSessionSignalingGetConnectionInfo.

Tested

Linux x86_64, GCC Release build:

  • Built libs and guest_np_session_signaling_tests.
  • ctest -R guest_np_session_signaling passes. Added test assertion in GuestNpSessionSignaling.cpp.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4764457078 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970). Originally posted by [Kikoarl](https://github.com/Kikoarl) on 2026-10-06T20:46:41Z. --- ### What Implement `sceNpSessionSignalingGetConnectionStatistics` in `libSceNpSessionSignaling` returning `SCE_NP_SESSION_SIGNALING_ERROR_UNAVAILABLE`, matching `sceNpSessionSignalingGetConnectionInfo`. ### Tested Linux x86_64, GCC Release build: - Built `libs` and `guest_np_session_signaling_tests`. - `ctest -R guest_np_session_signaling` passes. Added test assertion in `GuestNpSessionSignaling.cpp`. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-06 20:47:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T20:47:04Z.


Progress report (5b35909 → d0a20c8)

📈 System libraries: 87.03% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceNpSessionSignaling sceNpSessionSignalingGetConnectionStatistics
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6025147677 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970#issuecomment-6025147677). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-06T20:47:04Z. --- <!-- progress-report --> ### Progress report (5b35909 → d0a20c8) 📈 **System libraries**: 87.03% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNpSessionSignaling | `sceNpSessionSignalingGetConnectionStatistics` | </details>
oneandonlydean commented 2026-10-06 22:03:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T22:03:13Z.


Thanks. Which title reaches this? The owner has asked us to merge only changes a title needs, so a title ID (and the log line it hits on main) would let me merge it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6026276806 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970#issuecomment-6026276806). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-06T22:03:13Z. --- Thanks. Which title reaches this? The owner has asked us to merge only changes a title needs, so a title ID (and the log line it hits on main) would let me merge it.
Kikoarl commented 2026-10-06 22:40:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T22:40:59Z.


@oneandonlydean Thanks. This is part of the libSceNpSessionSignaling entry points imported by The Last of Us Part I (PPSA03396) (added alongside sceNpSessionSignalingActivateUser and sceNpSessionSignalingGetConnectionFromPeerAddress2 in #517 / #338). On main, calling it currently halts with NotImplemented_nid_no_patch("sceNpSessionSignalingGetConnectionStatistics") when TLOU Part I queries session signaling network diagnostics.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6026770288 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970#issuecomment-6026770288). Originally posted by [Kikoarl](https://github.com/Kikoarl) on 2026-10-06T22:40:59Z. --- @oneandonlydean Thanks. This is part of the `libSceNpSessionSignaling` entry points imported by **The Last of Us Part I (PPSA03396)** (added alongside `sceNpSessionSignalingActivateUser` and `sceNpSessionSignalingGetConnectionFromPeerAddress2` in #517 / #338). On `main`, calling it currently halts with `NotImplemented_nid_no_patch("sceNpSessionSignalingGetConnectionStatistics")` when TLOU Part I queries session signaling network diagnostics.
oneandonlydean commented 2026-10-07 00:02:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-07T00:02:33Z.


Thanks. #338 added this NID from TLOU Part I's import list, so the title imports it, but that doesn't show it calls it. Did a TLOU run on main actually stop at this call? If so, please add the log line here and I'll merge it. If it came from the import list, like #986 and #989, I'd close it for now until a run reaches it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6027795879 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970#issuecomment-6027795879). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-07T00:02:33Z. --- Thanks. #338 added this NID from TLOU Part I's import list, so the title imports it, but that doesn't show it calls it. Did a TLOU run on main actually stop at this call? If so, please add the log line here and I'll merge it. If it came from the import list, like #986 and #989, I'd close it for now until a run reaches it.
Kikoarl commented 2026-10-07 04:10:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-07T04:10:53Z.


@oneandonlydean Thanks for the feedback. Indeed, this was identified from the import list declared in #338 rather than a captured execution log on main.
Since I don't have a live runtime log trace showing TLOU Part I stopping at this call right now, I agree with closing it for now until someone hits it in a real title run. Feel free to close it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6030745685 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/970#issuecomment-6030745685). Originally posted by [Kikoarl](https://github.com/Kikoarl) on 2026-10-07T04:10:53Z. --- @oneandonlydean Thanks for the feedback. Indeed, this was identified from the import list declared in #338 rather than a captured execution log on `main`. Since I don't have a live runtime log trace showing TLOU Part I stopping at this call right now, I agree with closing it for now until someone hits it in a real title run. Feel free to close it.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!970
No description provided.