Skip to content

Respect AOA_RESULT_REQ and normalize SESSION_INFO_NTF_CONFIG - #152

Merged
sameer merged 1 commit into
mainfrom
aoa-result-req
Oct 29, 2026
Merged

sameer merged 1 commit into
mainfrom
aoa-result-req

Conversation

@sameer

@sameer sameer commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

While PR #144 added DL-TDoA measurement generation alongside Two-Way Ranging, Pica populated local azimuth and elevation AoA fields across TWR and DL-TDoA measurements even when disabled by AOA_RESULT_REQ. Pica also evaluated AoA notification bounds on disabled axes and ignored FiRa Note 2 notification filtering rules under disabled AoA.

Zero disabled local AoA angles and figures of merit while preserving aoa_destination_* fields. Normalize SESSION_INFO_NTF_CONFIG via effective_session_info_ntf_config() according to FiRa Table 28 / Table 38 Note 2, and restrict AOA_BOUND_CONFIG filtering to enabled AoA axes.

Closes #147

@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 support for the AoaResultReq configuration in ranging sessions. It introduces the encode_aoa helper to conditionally encode azimuth and elevation based on the requested AoA type (Disabled, Enabled, Azimuth Only, or Elevation Only). It also updates the bounds checking and session notification configurations to respect the effective notification configuration when AoA is disabled. Additionally, integration tests have been added to verify these behaviors. I have no feedback to provide.

@sameer
sameer changed the base branch from dl-tdoa to block-stride October 28, 2026 22:32
@sameer
sameer added this pull request to stack #145 October 28, 2026 22:32
Base automatically changed from block-stride to main October 29, 2026 01:35
While PR #144 added DL-TDoA measurement generation alongside Two-Way
Ranging, Pica populated local azimuth and elevation AoA fields across
TWR and DL-TDoA measurements even when disabled by AOA_RESULT_REQ. Pica
also evaluated AoA notification bounds on disabled axes and ignored
FiRa Note 2 notification filtering rules under disabled AoA.

Zero disabled local AoA angles and figures of merit while preserving
aoa_destination_* fields. Normalize SESSION_INFO_NTF_CONFIG via
effective_session_info_ntf_config() according to FiRa Table 28 / Table 38
Note 2, and restrict AOA_BOUND_CONFIG filtering to enabled AoA axes.

Closes #147
@sameer
sameer merged commit e4b221b 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 AOA_RESULT_REQ

2 participants