diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-04-28 12:25:40 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-05-05 15:49:04 +0300 |
| commit | 07f3e2174606202f7954e3a0454dd59064148610 (patch) | |
| tree | 52e6a0e12e4ea661a4f710a5596aecea485a08bf /include/linux/timerqueue.h | |
| parent | 12efcd79d6db52fd75fafada75f6505be529f65b (diff) | |
| download | linux-07f3e2174606202f7954e3a0454dd59064148610.tar.xz | |
wifi: cfg80211: separate NPCA validity from chandef validity
When considering both NPCA and DBE, it can appear that the
NPCA configuration is invalid, e.g. for an 80 MHz BSS channel
with DBE to 160 MHz:
| primary channel
| NPCA primary channel
| |
V V
| p | | n | | | | | |
| BSS channel |
| DBE channel |
Now the NPCA primary channel is in the same half as the primary
channel, and the NPCA puncturing bitmap could be completely
invalid as a puncturing bitmap when considering the overall
channel.
Split out the validity checks from cfg80211_chandef_valid() to
a new cfg80211_chandef_npca_valid() function that just checks
the NPCA configuration against the BSS chandef.
Link: https://patch.msgid.link/20260428112708.1225df131557.If3a6afadcce05d215b72fd82175f72373a0f6d24@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
