Home
last modified time | relevance | path

Searched refs:pParam (Results 1 – 25 of 123) sorted by relevance

12345

/system/wlan/ti/wilink_6_1/platforms/os/linux/src/
DCmdInterpretWext.c142 paramInfo_t *pParam; in cmdInterpret_convertAndExecute() local
149 pParam = (paramInfo_t *)os_memoryAlloc(pCmdInterpret->hOs, sizeof(paramInfo_t)); in cmdInterpret_convertAndExecute()
150 if (!pParam) in cmdInterpret_convertAndExecute()
168 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; in cmdInterpret_convertAndExecute()
169 pParam->paramLength = sizeof(TI_UINT32); in cmdInterpret_convertAndExecute()
170 pParam->content.siteMgrDesiredChannel = wrqu->freq.m; in cmdInterpret_convertAndExecute()
172 res = cmdDispatch_SetParam (pCmdInterpret->hCmdDispatch, pParam); in cmdInterpret_convertAndExecute()
173 CHECK_PENDING_RESULT(res,pParam) in cmdInterpret_convertAndExecute()
181 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; in cmdInterpret_convertAndExecute()
182 pParam->paramLength = sizeof(TI_UINT32); in cmdInterpret_convertAndExecute()
[all …]
/system/wlan/ti/wilink_6_1/Test/
Ddebug.c119 …ementMgr, TI_HANDLE hSwitchChannel, TI_HANDLE hRegulatoryDomain, TI_UINT32 funcType, void *pParam);
121 static void utilsDebugFunction (TStadHandlesList *pStadHandles, TI_UINT32 funcType, void *pParam);
146 TI_STATUS debugFunction(TStadHandlesList *pStadHandles, TI_UINT32 functionNumber, void *pParam) in debugFunction() argument
165 utilsDebugFunction (pStadHandles, functionNumber % 100, pParam); in debugFunction()
170 rxTxDebugFunction(pStadHandles->hTxCtrl, functionNumber % 100, pParam); in debugFunction()
172 rxTxDebugFunction(pStadHandles->hRxData, functionNumber % 100, pParam); in debugFunction()
176 ctrlDebugFunction(pStadHandles->hCtrlData, functionNumber % 100, pParam); in debugFunction()
180 siteMgrDebugFunction(pStadHandles->hSiteMgr, pStadHandles, functionNumber % 100, pParam); in debugFunction()
184 connDebugFunction(pStadHandles->hConn, functionNumber % 100, pParam); in debugFunction()
188 rsnDebugFunction(pStadHandles->hRsn, functionNumber % 100, pParam); in debugFunction()
[all …]
Dfwdriverdebug.c94 void *pParam) in FWDebugFunction() argument
106 FW_debugSendGeneralTestCmd(hTWD, pParam); in FWDebugFunction()
113 FW_DebugSendPacket(hDrvMain, hOs, hTxMgmtQ, pParam); in FWDebugFunction()
117 FW_DebugSendPacket(hDrvMain, hOs, hTxMgmtQ, pParam); in FWDebugFunction()
130 FW_DebugGeneral (hTWD, pParam); in FWDebugFunction()
152 void FW_debugSendGeneralTestCmd(TI_HANDLE hTWD, void *pParam) in FW_debugSendGeneralTestCmd() argument
157 Len = *(unsigned char *)pParam; in FW_debugSendGeneralTestCmd()
159 os_memoryCopy(pTWD->hOs, Cfg.buf,(unsigned long*)pParam + sizeof(TI_UINT8),Len * 4 ); in FW_debugSendGeneralTestCmd()
290 void FW_DebugSendPacket(TI_HANDLE hDrvMain ,TI_HANDLE hOs, TI_HANDLE hTxMgmtQ, void *pParam) in FW_DebugSendPacket() argument
294 if ( pParam == NULL ) in FW_DebugSendPacket()
[all …]
DscrDbg.c118 void scrDebugFunction( TI_HANDLE hScr, TI_UINT32 funcType, void *pParam ) in scrDebugFunction() argument
127 requestAsClient( hScr, *((EScrClientId*)pParam), SCR_RESOURCE_SERVING_CHANNEL ); in scrDebugFunction()
131 releaseAsClient( hScr, *((EScrClientId*)pParam), SCR_RESOURCE_SERVING_CHANNEL ); in scrDebugFunction()
135 requestAsClient( hScr, *((EScrClientId*)pParam), SCR_RESOURCE_PERIODIC_SCAN ); in scrDebugFunction()
139 releaseAsClient( hScr, *((EScrClientId*)pParam), SCR_RESOURCE_PERIODIC_SCAN ); in scrDebugFunction()
143 changeGroup( hScr, *((EScrGroupId*)pParam) ); in scrDebugFunction()
151 changeMode(hScr, *((EScrModeId*)pParam)); in scrDebugFunction()
DMibDbg.c155 static void mibDbgModifyCtsToSelf(TI_HANDLE hTWD, void* pParam) in mibDbgModifyCtsToSelf() argument
160 if (pParam == NULL) in mibDbgModifyCtsToSelf()
169 mib.aData.CTSToSelfEnable = *(TI_UINT32*)pParam; in mibDbgModifyCtsToSelf()
207 static void mibDbgSetMaxRxLifetime(TI_HANDLE hTWD, void* pParam) in mibDbgSetMaxRxLifetime() argument
212 if (pParam == NULL) in mibDbgSetMaxRxLifetime()
220 mib.aData.MaxReceiveLifeTime = *(TI_UINT32*)pParam; in mibDbgSetMaxRxLifetime()
247 void MibDebugFunction(TI_HANDLE hTWD ,TI_UINT32 funcType, void* pParam) in MibDebugFunction() argument
269 mibDbgModifyCtsToSelf(hTWD, pParam); in MibDebugFunction()
275 mibDbgSetMaxRxLifetime(hTWD, pParam); in MibDebugFunction()
/system/wlan/ti/wilink_6_1/stad/src/AirLink_Managment/
DregulatoryDomain.c245 paramInfo_t *pParam) in regulatoryDomain_setParam() argument
250 switch(pParam->paramType) in regulatoryDomain_setParam()
257 if (NULL == pParam->content.pCountry) in regulatoryDomain_setParam()
268 … setSupportedChannelsAccording2CountryIe(pRegulatoryDomain, pParam->content.pCountry, bBand_2_4); in regulatoryDomain_setParam()
279 TI_UINT8 uNewPowerConstraint = DBM2DBMDIV10(pParam->content.powerConstraint); in regulatoryDomain_setParam()
297 TI_UINT8 uNewTPC = DBM2DBMDIV10(pParam->content.ExternTxPowerPreferred); in regulatoryDomain_setParam()
313 …regulatoryDomain_setChannelValidity(pRegulatoryDomain, pParam->content.channelValidity.channelNum, in regulatoryDomain_setParam()
314 pParam->content.channelValidity.channelValidity); in regulatoryDomain_setParam()
319 if(pRegulatoryDomain->uUserMaxTxPower != pParam->content.desiredTxPower) in regulatoryDomain_setParam()
321 pRegulatoryDomain->uUserMaxTxPower = pParam->content.desiredTxPower; in regulatoryDomain_setParam()
[all …]
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
DconnInfra.c321 paramInfo_t *pParam; in JoinWait_to_mlmeWait() local
324 pParam = (paramInfo_t *)os_memoryAlloc(pConn->hOs, sizeof(paramInfo_t)); in JoinWait_to_mlmeWait()
325 if (!pParam) in JoinWait_to_mlmeWait()
331 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; in JoinWait_to_mlmeWait()
332 siteMgr_getParam(pConn->hSiteMgr, pParam); in JoinWait_to_mlmeWait()
334 pParam->paramType = REGULATORY_DOMAIN_TX_POWER_AFTER_SELECTION_PARAM; in JoinWait_to_mlmeWait()
335 pParam->content.channel = pParam->content.siteMgrCurrentChannel; in JoinWait_to_mlmeWait()
336 regulatoryDomain_setParam(pConn->hRegulatoryDomain, pParam); in JoinWait_to_mlmeWait()
338 pParam->paramType = RX_DATA_PORT_STATUS_PARAM; in JoinWait_to_mlmeWait()
339 pParam->content.rxDataPortStatus = OPEN_NOTIFY; in JoinWait_to_mlmeWait()
[all …]
DsmeSm.c244 paramInfo_t *pParam; in smeSm_PreConnect() local
299 pParam = (paramInfo_t *)os_memoryAlloc(pSme->hOS, sizeof(paramInfo_t)); in smeSm_PreConnect()
300 if (!pParam) in smeSm_PreConnect()
303 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; in smeSm_PreConnect()
304 siteMgr_getParam(pSme->hSiteMgr, pParam); in smeSm_PreConnect()
305 uDesiredChannel = pParam->content.siteMgrDesiredChannel; in smeSm_PreConnect()
309 pParam->content.channelCapabilityReq.band = RADIO_BAND_5_0_GHZ; in smeSm_PreConnect()
313 pParam->content.channelCapabilityReq.band = RADIO_BAND_2_4_GHZ; in smeSm_PreConnect()
320 pParam->paramType = REGULATORY_DOMAIN_GET_SCAN_CAPABILITIES; in smeSm_PreConnect()
321 pParam->content.channelCapabilityReq.scanOption = ACTIVE_SCANNING; in smeSm_PreConnect()
[all …]
Dsme.c311 TI_STATUS sme_SetParam (TI_HANDLE hSme, paramInfo_t *pParam) in sme_SetParam() argument
315 …e->hReport, REPORT_SEVERITY_INFORMATION , "sme_SetParam: param type is 0x%x\n", pParam->paramType); in sme_SetParam()
317 switch (pParam->paramType) in sme_SetParam()
321 if (pSme->bRadioOn != pParam->content.smeRadioOn) in sme_SetParam()
324 pSme->bRadioOn = pParam->content.smeRadioOn; in sme_SetParam()
341 if ((pSme->tSsid.len != pParam->content.smeDesiredSSID.len) || in sme_SetParam()
343 &(pParam->content.smeDesiredSSID.str[ 0 ]), pSme->tSsid.len))) in sme_SetParam()
346 …s_memoryCopy (pSme->hOS, &(pSme->tSsid.str[ 0 ]), &(pParam->content.smeDesiredSSID.str[ 0 ]), pPar… in sme_SetParam()
347 pSme->tSsid.len = pParam->content.smeDesiredSSID.len; in sme_SetParam()
357 if (pParam->content.smeDesiredSSID.len > MAX_SSID_LEN) in sme_SetParam()
[all …]
Drsn.c662 paramInfo_t *pParam = (paramInfo_t *)param; in rsn_getParam() local
665 if ( (NULL == pRsn) || (NULL == pParam) ) in rsn_getParam()
670 switch (pParam->paramType) in rsn_getParam()
673 pParam->content.rsnPrivacyOptionImplemented = TI_TRUE; in rsn_getParam()
677 pParam->content.pRsnKey = &pRsn->keys[pParam->content.pRsnKey->keyIndex]; in rsn_getParam()
678 if (pParam->content.pRsnKey->keyIndex == pRsn->defaultKeyId) in rsn_getParam()
680 pParam->content.pRsnKey->keyIndex |= 0x80000000; in rsn_getParam()
686 …status = pRsn->pMainSecSm->getAuthState (pRsn->pMainSecSm, (TIWLN_SECURITY_STATE*)&(pParam->conten… in rsn_getParam()
690 … status = pRsn->pAdmCtrl->getCipherSuite (pRsn->pAdmCtrl, &pParam->content.rsnEncryptionStatus); in rsn_getParam()
694 …status = pRsn->pAdmCtrl->getExtAuthMode (pRsn->pAdmCtrl, &pParam->content.rsnExtAuthneticationMode… in rsn_getParam()
[all …]
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
DScanCncnApp.c63 TI_STATUS scanCncnApp_SetParam (TI_HANDLE hScanCncn, paramInfo_t *pParam) in scanCncnApp_SetParam() argument
68 …EVERITY_INFORMATION , "scanCncnApp_SetParam: recevived request of type 0x%x\n", pParam->paramType); in scanCncnApp_SetParam()
70 switch (pParam->paramType) in scanCncnApp_SetParam()
87 scanCncn_Start1ShotScan (hScanCncn, SCAN_SCC_APP_ONE_SHOT, pParam->content.pScanParams)) in scanCncnApp_SetParam()
117 …scanCncn_StartPeriodicScan (hScanCncn, SCAN_SCC_APP_PERIODIC, pParam->content.pPeriodicScanParams)) in scanCncnApp_SetParam()
168 if(0 != pParam->content.tScanDesiredSSID.len) in scanCncnApp_SetParam()
170 pScanCncn->tOsScanParams.desiredSsid.len = pParam->content.tScanDesiredSSID.len; in scanCncnApp_SetParam()
171 …nCncn->hOS, pScanCncn->tOsScanParams.desiredSsid.str, pParam->content.tScanDesiredSSID.str, pParam in scanCncnApp_SetParam()
185 … REPORT_SEVERITY_ERROR , "scanCncnApp_SetParam: unrecognized param type :%d\n", pParam->paramType); in scanCncnApp_SetParam()
203 TI_STATUS scanCncnApp_GetParam (TI_HANDLE hScanCncn, paramInfo_t *pParam) in scanCncnApp_GetParam() argument
[all …]
DcurrBss.c657 paramInfo_t *pParam; in currBSS_probRespReceivedCallb() local
659 pParam = (paramInfo_t *)os_memoryAlloc(pCurrBSS->hOs, sizeof(paramInfo_t)); in currBSS_probRespReceivedCallb()
660 if (!pParam) in currBSS_probRespReceivedCallb()
663 pParam->paramType = SITE_MGR_CURRENT_BSSID_PARAM; in currBSS_probRespReceivedCallb()
664 siteMgr_getParam(pCurrBSS->hSiteMgr, pParam); in currBSS_probRespReceivedCallb()
666 if (pCurrBSS->isConnected && MAC_EQUAL (pParam->content.siteMgrDesiredBSSID, *bssid)) in currBSS_probRespReceivedCallb()
672 os_memoryFree(pCurrBSS->hOs, pParam, sizeof(paramInfo_t)); in currBSS_probRespReceivedCallb()
706 paramInfo_t *pParam; in currBSS_beaconReceivedCallb() local
709 pParam = (paramInfo_t *)os_memoryAlloc(pCurrBSS->hOs, sizeof(paramInfo_t)); in currBSS_beaconReceivedCallb()
710 if (!pParam) in currBSS_beaconReceivedCallb()
[all …]
DsystemConfig.c399 paramInfo_t *pParam; in systemConfig() local
425 pParam = (paramInfo_t *)os_memoryAlloc(pSiteMgr->hOs, sizeof(paramInfo_t)); in systemConfig()
426 if (!pParam) { in systemConfig()
520 pParam->paramType = CTRL_DATA_CURRENT_BSSID_PARAM; /* Current BSSID */ in systemConfig()
521 MAC_COPY (pParam->content.ctrlDataCurrentBSSID, pPrimarySite->bssid); in systemConfig()
522 ctrlData_setParam(pSiteMgr->hCtrlData, pParam); in systemConfig()
524 pParam->paramType = CTRL_DATA_CURRENT_BSS_TYPE_PARAM; /* Current BSS Type */ in systemConfig()
525 pParam->content.ctrlDataCurrentBssType = pPrimarySite->bssType; in systemConfig()
526 ctrlData_setParam(pSiteMgr->hCtrlData, pParam); in systemConfig()
528 pParam->paramType = CTRL_DATA_CURRENT_PREAMBLE_TYPE_PARAM; /* Current Preamble Type */ in systemConfig()
[all …]
DmlmeSm.c272 paramInfo_t *pParam) in mlme_setParam() argument
276 switch(pParam->paramType) in mlme_setParam()
280 switch (pParam->content.mlmeLegacyAuthType) in mlme_setParam()
285 pMlmeSm->legacyAuthType = pParam->content.mlmeLegacyAuthType; in mlme_setParam()
287 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
288 return auth_setParam(pMlmeSm->hAuth, pParam); in mlme_setParam()
294 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
295 return auth_setParam(pMlmeSm->hAuth, pParam); in mlme_setParam()
302 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
303 pParam->content.authLegacyAuthType = AUTH_LEGACY_SHARED_KEY; in mlme_setParam()
[all …]
DauthSm.c400 TI_STATUS auth_getParam(TI_HANDLE hAuth, paramInfo_t *pParam) in auth_getParam() argument
406 if ((pHandle == NULL) || (pParam == NULL)) in auth_getParam()
411 switch (pParam->paramType) in auth_getParam()
414 pParam->content.authResponseTimeout = pHandle->timeout; in auth_getParam()
418 pParam->content.siteMgrTiWlanCounters.AuthRejects = pHandle->authRejectCount; in auth_getParam()
419 pParam->content.siteMgrTiWlanCounters.AuthTimeouts = pHandle->authTimeoutCount; in auth_getParam()
423 pParam->content.authLegacyAuthType = pHandle->authType; in auth_getParam()
452 TI_STATUS auth_setParam(TI_HANDLE hAuth, paramInfo_t *pParam) in auth_setParam() argument
458 if ((pHandle == NULL) || (pParam == NULL)) in auth_setParam()
463 switch (pParam->paramType) in auth_setParam()
[all …]
DsiteMgr.c590 paramInfo_t *pParam) in siteMgr_setParam() argument
599 switch(pParam->paramType) in siteMgr_setParam()
602 pConfig = pParam->content.pSiteMgrConfiguration; in siteMgr_setParam()
628 if (pParam->content.siteMgrDesiredChannel > SITE_MGR_CHANNEL_MAX) in siteMgr_setParam()
631 … if (pSiteMgr->pDesiredParams->siteMgrDesiredChannel != pParam->content.siteMgrDesiredChannel) in siteMgr_setParam()
632 … pSiteMgr->pDesiredParams->siteMgrDesiredChannel = (TI_UINT8)pParam->content.siteMgrDesiredChannel; in siteMgr_setParam()
636 … MAC_COPY (pSiteMgr->pDesiredParams->siteMgrDesiredBSSID, pParam->content.siteMgrDesiredBSSID); in siteMgr_setParam()
641 …r->hReport, REPORT_SEVERITY_INFORMATION, "\nSet new SSID= (len=%d) \n", pParam->content.siteMgrDe… in siteMgr_setParam()
643 if (pParam->content.siteMgrDesiredSSID.len > MAX_SSID_LEN) in siteMgr_setParam()
646 …os_memoryCopy(pSiteMgr->hOs, &pSiteMgr->pDesiredParams->siteMgrDesiredSSID, &pParam->content.siteM… in siteMgr_setParam()
[all …]
DPowerMgrKeepAlive.c237 TI_STATUS powerMgrKL_setParam (TI_HANDLE hPowerMgrKL, paramInfo_t *pParam) in powerMgrKL_setParam() argument
244 …PORT_SEVERITY_INFORMATION , "Keep-alive set param called with param type %d\n", pParam->paramType); in powerMgrKL_setParam()
246 switch (pParam->paramType) in powerMgrKL_setParam()
251 pPowerMgrKL->tCurrentConfig.enaDisFlag = pParam->content.powerMgrKeepAliveEnaDis; in powerMgrKL_setParam()
253 (TI_UINT8)pParam->content.powerMgrKeepAliveEnaDis); in powerMgrKL_setParam()
259 pNewTmpl = pParam->content.pPowerMgrKeepAliveTemplate; in powerMgrKL_setParam()
296 …ITY_ERROR , "power manager keep-alive: set param with unknown param type %d\n", pParam->paramType); in powerMgrKL_setParam()
313 TI_STATUS powerMgrKL_getParam (TI_HANDLE hPowerMgrKL, paramInfo_t *pParam) in powerMgrKL_getParam() argument
317 …PORT_SEVERITY_INFORMATION , "Keep-alive get param called with param type %d\n", pParam->paramType); in powerMgrKL_getParam()
319 switch (pParam->paramType) in powerMgrKL_getParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/NetworkCtrl/RegulatoryDomain/
DregulatoryDomain.c248 paramInfo_t *pParam) in regulatoryDomain_setParam() argument
253 switch(pParam->paramType) in regulatoryDomain_setParam()
260 if (NULL == pParam->content.pCountry) in regulatoryDomain_setParam()
272 … setSupportedChannelsAccording2CountryIe(pRegulatoryDomain, pParam->content.pCountry, bBand_2_4); in regulatoryDomain_setParam()
290 UINT8 uNewPowerConstraint = DBM2DBMDIV10(pParam->content.powerConstraint); in regulatoryDomain_setParam()
310 UINT8 uNewTPC = DBM2DBMDIV10(pParam->content.ExternTxPowerPreferred); in regulatoryDomain_setParam()
328 …regulatoryDomain_setChannelValidity(pRegulatoryDomain, pParam->content.channelValidity.channelNum, in regulatoryDomain_setParam()
329 pParam->content.channelValidity.channelValidity); in regulatoryDomain_setParam()
334 if(pRegulatoryDomain->uUserMaxTxPower != pParam->content.desiredTxPower) in regulatoryDomain_setParam()
336 pRegulatoryDomain->uUserMaxTxPower = pParam->content.desiredTxPower; in regulatoryDomain_setParam()
[all …]
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/
DCmdDispatcher.c69 typedef TI_STATUS (*TParamFunc) (TI_HANDLE handle, paramInfo_t *pParam);
122 static TI_STATUS cmdDispatch_SetTwdParam (TI_HANDLE hCmdDispatch, paramInfo_t *pParam);
123 static TI_STATUS cmdDispatch_GetTwdParam (TI_HANDLE hCmdDispatch, paramInfo_t *pParam);
126 static TI_STATUS cmdDispatch_DebugFuncSet (TI_HANDLE hCmdDispatch, paramInfo_t *pParam);
127 static TI_STATUS cmdDispatch_DebugFuncGet (TI_HANDLE hCmdDispatch, paramInfo_t *pParam); /*yael - t…
378 paramInfo_t *pParam = (paramInfo_t *)param; in cmdDispatch_SetParam() local
381 moduleNumber = GET_PARAM_MODULE_NUMBER(pParam->paramType); in cmdDispatch_SetParam()
392 …WLAN_OS_REPORT(("cmdDispatch_SetParam(): NULL pointers!!!, return, ParamType=0x%x\n", pParam->para… in cmdDispatch_SetParam()
396 … , "cmdDispatch_SetParam(): ParamType=0x%x, ModuleNumber=0x%x\n", pParam->paramType, module… in cmdDispatch_SetParam()
398 …AccessTable[moduleNumber - 1].set(pCmdDispatch->paramAccessTable[moduleNumber - 1].handle, pParam); in cmdDispatch_SetParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/
Drsn.c656 TI_STATUS rsn_getParam(TI_HANDLE hRsn, paramInfo_t *pParam) in rsn_getParam() argument
663 if ((pRsn == NULL) || (pParam == NULL)) in rsn_getParam()
668 switch (pParam->paramType) in rsn_getParam()
671 pParam->content.rsnPrivacyOptionImplemented = TRUE; in rsn_getParam()
675 pParam->content.pRsnKey = &pRsn->keys[pParam->content.pRsnKey->keyIndex]; in rsn_getParam()
676 if (pParam->content.pRsnKey->keyIndex == pRsn->defaultKeyId) in rsn_getParam()
678 pParam->content.pRsnKey->keyIndex |= 0x80000000; in rsn_getParam()
684 …status = pRsn->pMainSecSm->getAuthState (pRsn->pMainSecSm, (TIWLN_SECURITY_STATE*)&(pParam->conten… in rsn_getParam()
688 … status = pRsn->pAdmCtrl->getCipherSuite (pRsn->pAdmCtrl, &pParam->content.rsnEncryptionStatus); in rsn_getParam()
692 …status = pRsn->pAdmCtrl->getExtAuthMode (pRsn->pAdmCtrl, &pParam->content.rsnExtAuthneticationMode… in rsn_getParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Auth/
DauthSm.c411 TI_STATUS auth_getParam(TI_HANDLE hAuth, paramInfo_t *pParam) in auth_getParam() argument
417 if ((pHandle == NULL) || (pParam == NULL)) in auth_getParam()
422 switch (pParam->paramType) in auth_getParam()
425 pParam->content.authResponseTimeout = pHandle->timeout; in auth_getParam()
429 pParam->content.siteMgrTiWlanCounters.AuthRejects = pHandle->authRejectCount; in auth_getParam()
430 pParam->content.siteMgrTiWlanCounters.AuthTimeouts = pHandle->authTimeoutCount; in auth_getParam()
434 pParam->content.authLegacyAuthType = pHandle->authType; in auth_getParam()
463 TI_STATUS auth_setParam(TI_HANDLE hAuth, paramInfo_t *pParam) in auth_setParam() argument
469 if ((pHandle == NULL) || (pParam == NULL)) in auth_setParam()
474 switch (pParam->paramType) in auth_setParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/
DmlmeSm.c330 paramInfo_t *pParam) in mlme_setParam() argument
334 switch(pParam->paramType) in mlme_setParam()
338 switch (pParam->content.mlmeLegacyAuthType) in mlme_setParam()
343 pMlmeSm->legacyAuthType = pParam->content.mlmeLegacyAuthType; in mlme_setParam()
345 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
346 return auth_setParam(pMlmeSm->hAuth, pParam); in mlme_setParam()
352 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
353 return auth_setParam(pMlmeSm->hAuth, pParam); in mlme_setParam()
360 pParam->paramType = AUTH_LEGACY_TYPE_PARAM; in mlme_setParam()
361 pParam->content.authLegacyAuthType = AUTH_LEGACY_SHARED_KEY; in mlme_setParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/
Dreport.c482 whalParamInfo_t *pParam) in report_setParam() argument
484 switch((externalParam_e)pParam->paramType) in report_setParam()
487 report_setReportModule(hReport, pParam->content.ModuleTable[0]); in report_setParam()
491 report_clearReportModule(hReport, pParam->content.ModuleTable[0]); in report_setParam()
495 report_setReportModuleTable(hReport, (tiUINT8 *)pParam->content.ModuleTable); in report_setParam()
499 report_setReportSeverity(hReport, pParam->content.SeverityTable[0]); in report_setParam()
503 report_clearReportSeverity(hReport, pParam->content.SeverityTable[0]); in report_setParam()
507 report_setReportSeverityTable(hReport, (tiUINT8 *)pParam->content.SeverityTable); in report_setParam()
511 os_setDebugMode((BOOL)pParam->content.reportPPMode); in report_setParam()
514 …ERROR(hReport, REPORT_MODULE_LOG, ("Set param, Params is not supported, %d\n", pParam->paramType)); in report_setParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/smeSm/
DsmeSmApi.c643 paramInfo_t *pParam) in smeSm_setParam() argument
647 switch(pParam->paramType) in smeSm_setParam()
650 if (pSmeSm->scanEnabled != pParam->content.smeSMScanEnabled) in smeSm_setParam()
652 if ((pParam->content.smeSMScanEnabled == SCAN_ENABLED) && in smeSm_setParam()
659 if ((pParam->content.smeSMScanEnabled == SKIP_NEXT_SCAN) && in smeSm_setParam()
666 pSmeSm->scanEnabled, pParam->content.smeSMScanEnabled)); in smeSm_setParam()
669 pSmeSm->scanEnabled = pParam->content.smeSMScanEnabled; in smeSm_setParam()
675 ("Set param, Params is not supported, %d\n\n", pParam->paramType)); in smeSm_setParam()
698 paramInfo_t *pParam) in smeSm_getParam() argument
702 switch(pParam->paramType) in smeSm_getParam()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/siteMgr/
DsiteMgr.c661 paramInfo_t *pParam) in siteMgr_setParam() argument
669 switch(pParam->paramType) in siteMgr_setParam()
672 pConfig = pParam->content.pSiteMgrConfiguration; in siteMgr_setParam()
699 if (pParam->content.siteMgrDesiredChannel > SITE_MGR_CHANNEL_MAX) in siteMgr_setParam()
702 … if (pSiteMgr->pDesiredParams->siteMgrDesiredChannel != pParam->content.siteMgrDesiredChannel) in siteMgr_setParam()
703 … pSiteMgr->pDesiredParams->siteMgrDesiredChannel = (UINT8)pParam->content.siteMgrDesiredChannel; in siteMgr_setParam()
707 …hOs, (void *)pSiteMgr->pDesiredParams->siteMgrDesiredBSSID.addr, (void *)pParam->content.siteMgrDe… in siteMgr_setParam()
725 pParam->content.siteMgrDesiredSSID.ssidString, in siteMgr_setParam()
726 pParam->content.siteMgrDesiredSSID.len)); in siteMgr_setParam()
728 if (pParam->content.siteMgrDesiredSSID.len > MAX_SSID_LEN) in siteMgr_setParam()
[all …]

12345