summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-04-13 13:32:25 +0200
committerBjørn Mork <bjorn@mork.no>2015-10-26 21:57:06 +0100
commitbfb1a76c84a7391a69db143f216126da7b921e95 (patch)
treecc9db8015348ebffe6aa163aea706d4abf8e699b
parentaaf953e1baf9cd65979103c4fda98c0bd48f4759 (diff)
Allow DFS channels
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 24a3686..2ea256b 100644
--- a/main.c
+++ b/main.c
@@ -127,6 +127,10 @@ static const struct ieee80211_iface_combination ap_if_comb = {
.n_limits = ARRAY_SIZE(ap_if_limits),
.max_interfaces = SYSADPT_NUM_OF_AP,
.num_different_channels = 1,
+ .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
+ BIT(NL80211_CHAN_WIDTH_20) |
+ BIT(NL80211_CHAN_WIDTH_40) |
+ BIT(NL80211_CHAN_WIDTH_80),
};
static int mwl_alloc_pci_resource(struct mwl_priv *priv)