[mac80211]: add add new firmware support and additional fixes for wl18xx
[openwrt.git] / package / kernel / mac80211 / patches / 918-wlcore-add-support-for-STA-CSA-with-chan-contexts.patch
1 TI wl12xx/wl18xx cards support channel switch via a driver specific
2 switch_channel op while operating with channel contexts.
3
4 Signed-off-by: Arik Nemtsov <arik@wizery.com>
5 Signed-off-by: Eliad Peller <eliad@wizery.com>
6
7 ---
8 drivers/net/wireless/ti/wlcore/main.c | 3 ++-
9  1 file changed, 2 insertions(+), 1 deletion(-)
10
11 --- a/drivers/net/wireless/ti/wlcore/main.c
12 +++ b/drivers/net/wireless/ti/wlcore/main.c
13 @@ -5770,7 +5770,8 @@ static int wl1271_init_ieee80211(struct
14                 IEEE80211_HW_AP_LINK_PS |
15                 IEEE80211_HW_AMPDU_AGGREGATION |
16                 IEEE80211_HW_TX_AMPDU_SETUP_IN_HW |
17 -               IEEE80211_HW_QUEUE_CONTROL;
18 +               IEEE80211_HW_QUEUE_CONTROL |
19 +               IEEE80211_HW_CHANCTX_STA_CSA;
20  
21         wl->hw->wiphy->cipher_suites = cipher_suites;
22         wl->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);