summaryrefslogtreecommitdiff
path: root/CORE/SME/src
diff options
context:
space:
mode:
authorkrunal soni <ksoni@qca.qualcomm.com>2014-03-24 11:45:13 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-04-09 22:13:54 -0700
commit6845890d0e5e112a1fc2544bd52e31fa60e9f258 (patch)
tree115df3d56c349e442737e24859c8566dc9969f16 /CORE/SME/src
parentb594e0872491790a14040dfe232fa527f5ccb7e5 (diff)
wlan: qcacld: Complete PMF (802.11w) support for Soft AP
These changes complete Protected Management Frames (802.11w) support for the device in Soft AP mode. The changes allow support for this feature without any changes needed in hostapd or the cfg80211/nl80211 interface. Support is completely done within the driver. Note: dot11f.h and dot11f.c changes are already merged via clean up gerrit for this project. CRs-Fixed: 645347 Change-Id: I267ae701d9a3e7a6fc0276dd1c226ed1cc700461
Diffstat (limited to 'CORE/SME/src')
-rw-r--r--CORE/SME/src/csr/csrApiRoam.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 49395c9cd12e..110b7d2b8a4f 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -11738,6 +11738,12 @@ eHalStatus csrRoamIssueStartBss( tpAniSirGlobal pMac, tANI_U32 sessionId, tCsrRo
pParam->uCfgDot11Mode = csrRoamGetPhyModeBandForBss(pMac, pProfile, pParam->operationChn /* pProfile->operationChannel*/,
&eBand);
pParam->bssPersona = pProfile->csrPersona;
+
+#ifdef WLAN_FEATURE_11W
+ pParam->mfpCapable = (0 != pProfile->MFPCapable);
+ pParam->mfpRequired = (0 != pProfile->MFPRequired);
+#endif
+
// When starting an IBSS, start on the channel from the Profile.
status = csrSendMBStartBssReqMsg( pMac, sessionId, pProfile->BSSType, pParam, pBssDesc );
return (status);
@@ -13899,6 +13905,14 @@ eHalStatus csrSendMBStartBssReqMsg( tpAniSirGlobal pMac, tANI_U32 sessionId, eCs
*pBuf = (tANI_U8)(tANI_U8)pMac->roam.configParam.txLdpcEnable;
pBuf++;
+#ifdef WLAN_FEATURE_11W
+ // Set MFP capable/required
+ *pBuf = (tANI_U8)pParam->mfpCapable;
+ pBuf++;
+ *pBuf = (tANI_U8)pParam->mfpRequired;
+ pBuf++;
+#endif
+
// set RSN IE
if( pParam->nRSNIELength > sizeof(pMsg->rsnIE.rsnIEdata) )
{