Skip to content

Support RSSI reporting for TWR and DL-TDoA measurements - #153

Merged
sameer merged 1 commit into
mainfrom
rssi-reporting
Oct 29, 2026
Merged

sameer merged 1 commit into
mainfrom
rssi-reporting

Conversation

@sameer

@sameer sameer commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Building on the DL-TDoA groundwork in PR #144, Pica still ignored the RSSI_REPORTING (0x13) session configuration and hardcoded 0xFF in ranging reports. Android decodes 0xFF as -127 dBm rather than RSSI_UNKNOWN, distorting client signal metrics.

Advertise vendor capability SUPPORTED_RSSI_REPORTING (0xE6), emit 0x00 when disabled, and emit -50 dBm (100 in unsigned Q7.1 format) across Two-Way Ranging and DL-TDoA measurements when enabled.

Closes #148

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements RSSI reporting configuration and support. It introduces a default RSSI reporting configuration, adds capability info for RSSI reporting, updates ranging measurements (both two-way and DL-TDoA) to include the RSSI value based on the session configuration, and adds corresponding integration tests to verify the behavior. There are no review comments, so I have no feedback to provide.

@sameer
sameer changed the base branch from dl-tdoa to aoa-result-req October 28, 2026 22:32
@sameer
sameer added this pull request to stack #145 October 28, 2026 22:32
@sameer
sameer force-pushed the rssi-reporting branch 2 times, most recently from 6a9f335 to dc78d16 Compare October 29, 2026 01:35
Base automatically changed from aoa-result-req to main October 29, 2026 01:35
Building on the DL-TDoA groundwork in PR #144, Pica still ignored
the RSSI_REPORTING (0x13) session configuration and hardcoded 0xFF in
ranging reports. Android decodes 0xFF as -127 dBm rather than
RSSI_UNKNOWN, distorting client signal metrics.

Advertise vendor capability SUPPORTED_RSSI_REPORTING (0xE6), emit 0x00
when disabled, and emit -50 dBm (100 in unsigned Q7.1 format) across
Two-Way Ranging and DL-TDoA measurements when enabled.

Closes #148
@sameer
sameer merged commit adf74b4 into main Oct 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle RSSI_REPORTING

2 participants