summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhqu <hqu@codeaurora.org>2017-09-19 12:05:33 +0800
committersnandini <snandini@codeaurora.org>2017-09-21 15:44:44 -0700
commit384e1b25b8a4445ba1548da745211b9e62aedc33 (patch)
treefee004132ecc4e6539e0a9e1c03fb0b865ce9706
parent7c853c9fa9aa41ca7de3efa31791cad26ad01c78 (diff)
qcacld-3.0: Allow multi beacon interval in concurrent AP cases
qcacld-2.0 to qcacld-3.0 propagation Current driver implementation doesn't support the multi beacon interval in case concurrent AP's are operating on the same channel. A new parameter 'beacon_int_min_gcd' is added in the kernel to support the multi beacon interval. Updating parameter 'beacon_int_min_gcd' to support multi beacon interval. Related changs are "Change-Id: I997059f0cad77b914a1296ffe7f1a51a511adac2" and "Change-Id: Ibd2557080521276aa86a83089dfaa9b445de05af". Change-Id: Iaa1bf7b7ead05bb400fbd8e28ef3fc1309c6b567 CRs-Fixed: 2111272
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index f3edcacf2f85..f5d4255f1802 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -538,6 +538,10 @@ static struct ieee80211_iface_combination
.num_different_channels = 2,
.max_interfaces = (SAP_MAX_OBSS_STA_CNT + QDF_MAX_NO_OF_SAP_MODE),
.n_limits = ARRAY_SIZE(wlan_hdd_ap_iface_limit),
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || \
+ defined(CFG80211_BEACON_INTERVAL_BACKPORT)
+ .beacon_int_min_gcd = 1,
+#endif
},
/* P2P */
{
@@ -553,6 +557,10 @@ static struct ieee80211_iface_combination
.max_interfaces = (1 + SAP_MAX_OBSS_STA_CNT + QDF_MAX_NO_OF_SAP_MODE),
.n_limits = ARRAY_SIZE(wlan_hdd_sta_ap_iface_limit),
.beacon_int_infra_match = true,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || \
+ defined(CFG80211_BEACON_INTERVAL_BACKPORT)
+ .beacon_int_min_gcd = 1,
+#endif
},
/* STA + P2P */
{