wifi: mt76: mt7921: fix non-PSC channel scan fail
authorMing Yen Hsieh <mingyen.hsieh@mediatek.com>
Thu, 18 May 2023 14:08:14 +0000 (22:08 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jul 2023 19:59:41 +0000 (21:59 +0200)
commit0e5911bb7cc92c00dda9b4d635c1266b7ca915c6
tree67b9ab70059c104ad2ac2b30990424cebf286e86
parent1258c156f2537786468c7fe04f547f64c97c1e12
wifi: mt76: mt7921: fix non-PSC channel scan fail

Due to the scan command may only request legacy bands and PSC channel
in 6GHz band, we are unable to scan the APs on non-PSC channel in this
case. Enable WIPHY_FLAG_SPLIT_SCAN_6GHZ to support non-PSC channel
(obtained during scan on legacy bands) in 6GHz scan request.

Fixes: 50ac15a511e3 ("mt76: mt7921: add 6GHz support")
Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/init.c