summaryrefslogtreecommitdiff
path: root/CORE/SAP/src/sapModule.c
diff options
context:
space:
mode:
authorAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-01-27 15:23:43 -0800
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-02-03 16:04:47 +0530
commitf488c2ed11aee11fec70d0cf6dc211bafd7ea891 (patch)
tree5c89908867edfd5f551a1b5bc7966cbb05836a62 /CORE/SAP/src/sapModule.c
parent180f32844b05ef5e439710935aab476380706ee5 (diff)
qcacld: Enhance DFS master mode test mode
When a radar is injected in test mode, add support for including CSA IE in the beacons with next channel as current channel itself. Clear the CSA IE after 5 beacons have been transmitted and still remain on same channel. Change-Id: I856111fce9cf7660553b6410816cd5319ad0194a CRs-Fixed: 790103
Diffstat (limited to 'CORE/SAP/src/sapModule.c')
-rw-r--r--CORE/SAP/src/sapModule.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/CORE/SAP/src/sapModule.c b/CORE/SAP/src/sapModule.c
index 5872dddac10c..a05c93610dce 100644
--- a/CORE/SAP/src/sapModule.c
+++ b/CORE/SAP/src/sapModule.c
@@ -812,6 +812,7 @@ WLANSAP_StartBss
ptSapContext pSapCtx = NULL;
tANI_BOOLEAN restartNeeded;
tHalHandle hHal;
+ tpAniSirGlobal pmac = NULL;
int ret;
/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
@@ -906,6 +907,13 @@ WLANSAP_StartBss
}
}
+ pmac = PMAC_STRUCT( hHal );
+ /*
+ * Copy the DFS Test Mode setting to pmac for
+ * access in lower layers
+ */
+ pmac->sap.SapDfsInfo.disable_dfs_ch_switch =
+ pConfig->disableDFSChSwitch;
// Copy MAC filtering settings to sap context
pSapCtx->eSapMacAddrAclMode = pConfig->SapMacaddr_acl;
vos_mem_copy(pSapCtx->acceptMacList, pConfig->accept_mac, sizeof(pConfig->accept_mac));