wl18xx: declare radar_detect_widths support for ap interfaces
authorEliad Peller <eliad@wizery.com>
Mon, 29 Dec 2014 06:24:13 +0000 (08:24 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 9 Jan 2015 13:48:05 +0000 (15:48 +0200)
After having all the dfs infrastructure in place, declare
radar_detect_widths support for the ap interfaces combination.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wl18xx/main.c

index 0e96b38a612f6ca9ac7f2284d5bcbd80cd467eb6..717c4f5a02c2a28ce9d7f0cab1fb70bda6121ace 100644 (file)
@@ -1799,6 +1799,10 @@ wl18xx_iface_combinations[] = {
                .limits = wl18xx_iface_ap_limits,
                .n_limits = ARRAY_SIZE(wl18xx_iface_ap_limits),
                .num_different_channels = 1,
+               .radar_detect_widths =  BIT(NL80211_CHAN_NO_HT) |
+                                       BIT(NL80211_CHAN_HT20) |
+                                       BIT(NL80211_CHAN_HT40MINUS) |
+                                       BIT(NL80211_CHAN_HT40PLUS),
        }
 };