Skip to content

Commit 9add053

Browse files
Kavita Kavitajmberg-intel
authored andcommitted
wifi: cfg80211: skip regulatory for punctured subchannels
The kernel performs several regulatory checks for AP mode in nl80211/cfg80211. These checks include radar detection, verification of whether the sub-channel is disabled, and an examination to determine if the channel is a DFS channel (both DFS usable and DFS available). These checks are performed across a frequency range, examining each sub-channel. However, these checks are also performed on subchannels that have been punctured which should not be examined as they are not in use. This leads to the issue where the AP stops because one of the 20 MHz sub-channels is disabled or radar detected on the channel, even when the sub-channel is punctured. To address this issue, add a condition check wherever regulatory checks exist for AP mode in nl80211/cfg80211. This check identifies punctured channels and, upon finding them, skips the regulatory checks for those channels. Co-developed-by: Manaswini Paluri <[email protected]> Signed-off-by: Manaswini Paluri <[email protected]> Signed-off-by: Kavita Kavita <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 3aaa1a5 commit 9add053

File tree

1 file changed

+123
-247
lines changed

1 file changed

+123
-247
lines changed

0 commit comments

Comments
 (0)