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-27 00:35:53 +0100
commit06e194713df04c822131fb383a8d162951194e15 (patch)
treebee053179f11f0c4e6dfc57df580c72f1d455242
parent59e0d3d167a5bc2c03010df4ed54cc0653b5ae58 (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 667c231..e01ea75 100644
--- a/main.c
+++ b/main.c
@@ -138,6 +138,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)