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-18 21:49:30 +0200
commitef42b769068ebecf9166e2ffd257a93e493a477b (patch)
treeb18d5783cd31622a35d4c8db4d49bf6ea0bc71cd
parent7a6aff718d2de7dee6f9d82eae8af91667e8ee86 (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 5a000c0..4b075c1 100644
--- a/main.c
+++ b/main.c
@@ -139,6 +139,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)