hostapd: permit 40MHz in 802.1s only also for 2.4GHz g/n with noscan
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 8 Nov 2023 15:48:57 +0000 (16:48 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Nov 2023 14:58:38 +0000 (15:58 +0100)
commit6c9ac57d58ab0d2c71fb51120a2166b7e0bd7183
treeac4e3ad5eb6ddbb0f64f36d4da280ec27e719da6
parentb1c7b1bd67ca40289dfb7acd03e12ce43618d548
hostapd: permit 40MHz in 802.1s only also for 2.4GHz g/n with noscan

Currently for 802.1s only, for wifi 2.4GHz in g/n mode, 40MHz is never
permitted.

This is probably due to the complexity of setting periodic check for the
intolerant bit. When noscan option is set, we ignore the presence of the
intoleran bit in near AP, so we can enable 40MHz and ignore any complex
logic for checking.

Fixes: #13112
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/network/services/hostapd/patches/301-mesh-noscan.patch