Skip to content

fix: exclude channel 76 from default CS channel_map (Core Spec 6.0 compliance)#950

Open
dcaayushd wants to merge 1 commit into
google:mainfrom
dcaayushd:fix/cs-channel-map-excludes-channel-76
Open

fix: exclude channel 76 from default CS channel_map (Core Spec 6.0 compliance)#950
dcaayushd wants to merge 1 commit into
google:mainfrom
dcaayushd:fix/cs-channel-map-excludes-channel-76

Conversation

@dcaayushd

Copy link
Copy Markdown

Fixes #945

the default channel_map in Device.create_cs_config() had byte 9 set
to 0x15 which enables channel 76. Core Spec 6.0 Vol 4 Part E §7.8.117
requires channels 0,1,23,24,25,76,77,78 to be excluded from the CS
Channel_Map. strict controllers (e.g. Nordic nRF54L15) correctly reject
the command with UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE_ERROR (0x11).

fix: change byte 9 from 0x15 to 0x05, keeping only channels 72 and 74
enabled in that byte. same even-numbered channel pattern, now spec-compliant.

added a test verifying the default map has no overlap with the forbidden
channel set.

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.

Default channel_map in Device.create_cs_config enables channel 76, which the CS spec requires to be excluded

1 participant