mac80211: do not emit VHT160 capabilities if channel width is less than 160 MHz
authorFelix Fietkau <nbd@nbd.name>
Tue, 9 Jan 2024 13:36:42 +0000 (14:36 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Jan 2024 13:39:22 +0000 (14:39 +0100)
commit2fe497c4a514d09b6e8a9e5953b51d7f4da90b6b
treec8aa91786aacd23277196d4d2707dc68319bc2f8
parent9cd0023e54adf8b06762c58585b7cb225e5fb2d6
mac80211: do not emit VHT160 capabilities if channel width is less than 160 MHz

Fixes compatibility issues with VHT160 capable clients

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 80e4e2285fdf4a7b19c84532deafe2d1e690ed30)
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh