summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2017-10-06 12:22:14 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-10-24 05:15:21 -0700
commitd2185a8c09208f19647dfe4904c85e64281f2613 (patch)
tree537f570df3f600927265d07284f1e547d248ccdd
parent9551e129dd2625ea2ab4fa5620820849b069ce2f (diff)
ath10k: Add radar detect width for wcn3990 interface combination
radar detect widths were not added for wcn3990 interface combinations. Add the radar detect widths for wcn3990 interface combinations. CRs-Fixed: 2122264 Change-Id: If212aa238944078541168fa633db64b8bb15bf44 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath10k/mac.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 01175d94adca..5a84626dff14 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -7887,6 +7887,12 @@ static struct ieee80211_iface_combination ath10k_wcn3990_qcs_if_comb[] = {
.num_different_channels = 1,
.max_interfaces = 4,
.n_limits = ARRAY_SIZE(ath10k_wcn3990_if_limit),
+#ifdef CONFIG_ATH10K_DFS_CERTIFIED
+ .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
+ BIT(NL80211_CHAN_WIDTH_20) |
+ BIT(NL80211_CHAN_WIDTH_40) |
+ BIT(NL80211_CHAN_WIDTH_80),
+#endif
},
{
.limits = ath10k_wcn3990_qcs_if_limit,
@@ -7899,6 +7905,12 @@ static struct ieee80211_iface_combination ath10k_wcn3990_qcs_if_comb[] = {
.num_different_channels = 1,
.max_interfaces = 2,
.n_limits = ARRAY_SIZE(ath10k_wcn3990_if_limit_ibss),
+#ifdef CONFIG_ATH10K_DFS_CERTIFIED
+ .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
+ BIT(NL80211_CHAN_WIDTH_20) |
+ BIT(NL80211_CHAN_WIDTH_40) |
+ BIT(NL80211_CHAN_WIDTH_80),
+#endif
},
};