summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Joshi <ravij@qca.qualcomm.com>2014-07-30 13:37:58 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-08-04 19:31:46 -0700
commitef23bc9b184cd983c5c8d3633d62cb9cfabb45b3 (patch)
treeadda796455b86582915b2c417c5a6d99cdcc7242
parentf08c4a00245e60b9ca0718b7667ae5e8602b7d05 (diff)
qcacld: HDD: Provide support for multi-port P2P connections
Provide support for multi-port P2P connections. In the existing implementation, the driver cannot initiate/accept more than one P2P connection (GO or CLI). Newly defined defined limits for interface_combinations will let additional P2P connections take place Change-Id: I3b98aa0038d70d553e7f7e98c907830904e1eea2 CRs-Fixed: 702624
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 61be967e44d9..de03330e8b4b 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -511,12 +511,15 @@ wlan_hdd_sta_ap_iface_limit[] = {
static const struct ieee80211_iface_limit
wlan_hdd_sta_p2p_iface_limit[] = {
{
- /* one reserved for dedicated P2PDEV usage */
+ /* One reserved for dedicated P2PDEV usage */
.max = 2,
.types = BIT(NL80211_IFTYPE_STATION)
},
{
- .max = 1,
+ /* Support for two identical (GO + GO or CLI + CLI)
+ * or dissimilar (GO + CLI) P2P interfaces
+ */
+ .max = 2,
.types = BIT(NL80211_IFTYPE_P2P_GO) |
BIT(NL80211_IFTYPE_P2P_CLIENT),
},
@@ -567,7 +570,7 @@ wlan_hdd_iface_combination[] = {
.limits = wlan_hdd_sta_p2p_iface_limit,
.num_different_channels = 2,
/* one interface reserved for P2PDEV dedicated usage */
- .max_interfaces = 3,
+ .max_interfaces = 4,
.n_limits = ARRAY_SIZE(wlan_hdd_sta_p2p_iface_limit),
.beacon_int_infra_match = true,
},