/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
smeSelect.c | 86 paramInfo_t *pParam; 90 pParam = (paramInfo_t *)os_memoryAlloc(pSme->hOS, sizeof(paramInfo_t)); 91 if (!pParam) 99 pParam->paramType = SITE_MGR_GET_PRIMARY_SITE; 100 siteMgr_getParam(pSme->hSiteMgr, pParam); 101 pCurrentSite = pParam->content.pPrimarySite; 102 os_memoryFree(pSme->hOS, pParam, sizeof(paramInfo_t));
|
connInfra.c | 321 paramInfo_t *pParam; 324 pParam = (paramInfo_t *)os_memoryAlloc(pConn->hOs, sizeof(paramInfo_t)); 325 if (!pParam) 333 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; 334 siteMgr_getParam(pConn->hSiteMgr, pParam); 336 pParam->paramType = REGULATORY_DOMAIN_TX_POWER_AFTER_SELECTION_PARAM; 337 pParam->content.channel = pParam->content.siteMgrCurrentChannel; 338 regulatoryDomain_setParam(pConn->hRegulatoryDomain, pParam); 340 pParam->paramType = RX_DATA_PORT_STATUS_PARAM [all...] |
smeSm.c | 245 paramInfo_t *pParam; 300 pParam = (paramInfo_t *)os_memoryAlloc(pSme->hOS, sizeof(paramInfo_t)); 301 if (!pParam) 306 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; 307 siteMgr_getParam(pSme->hSiteMgr, pParam); 308 uDesiredChannel = pParam->content.siteMgrDesiredChannel; 312 pParam->content.channelCapabilityReq.band = RADIO_BAND_5_0_GHZ; 316 pParam->content.channelCapabilityReq.band = RADIO_BAND_2_4_GHZ; 323 pParam->paramType = REGULATORY_DOMAIN_GET_SCAN_CAPABILITIES; 324 pParam->content.channelCapabilityReq.scanOption = ACTIVE_SCANNING [all...] |
admCtrlWpa.c | 705 paramInfo_t *pParam; 720 pParam = (paramInfo_t *)os_memoryAlloc(pAdmCtrl->hOs, sizeof(paramInfo_t)); 721 if (!pParam) 730 pParam->paramType = MLME_LEGACY_TYPE_PARAM; 731 pParam->content.mlmeLegacyAuthType = AUTH_LEGACY_OPEN_SYSTEM; 732 status = mlme_setParam(pAdmCtrl->hMlme, pParam); [all...] |
admCtrlWpa2.c | 647 paramInfo_t *pParam; 661 pParam = (paramInfo_t *)os_memoryAlloc(pAdmCtrl->hOs, sizeof(paramInfo_t)); 662 if (!pParam) 671 pParam->paramType = MLME_LEGACY_TYPE_PARAM; 672 pParam->content.mlmeLegacyAuthType = AUTH_LEGACY_OPEN_SYSTEM; 673 status = mlme_setParam(pAdmCtrl->hMlme, pParam); [all...] |
rsn.c | 664 * I/O - pParam - Parameter \n 675 paramInfo_t *pParam = (paramInfo_t *)param; 678 if ( (NULL == pRsn) || (NULL == pParam) ) 683 switch (pParam->paramType) 686 pParam->content.rsnPrivacyOptionImplemented = TI_TRUE; 690 pParam->content.pRsnKey = &pRsn->keys[pParam->content.pRsnKey->keyIndex]; 691 if (pParam->content.pRsnKey->keyIndex == pRsn->defaultKeyId) 693 pParam->content.pRsnKey->keyIndex |= 0x80000000; 699 status = pRsn->pMainSecSm->getAuthState (pRsn->pMainSecSm, (TIWLN_SECURITY_STATE*)&(pParam->content.rsnAuthState)) [all...] |
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/ |
smeSelect.c | 85 paramInfo_t *pParam; 89 pParam = (paramInfo_t *)os_memoryAlloc(pSme->hOS, sizeof(paramInfo_t)); 90 if (!pParam) 96 pParam->paramType = SITE_MGR_GET_PRIMARY_SITE; 97 siteMgr_getParam(pSme->hSiteMgr, pParam); 98 pCurrentSite = pParam->content.pPrimarySite; 99 os_memoryFree(pSme->hOS, pParam, sizeof(paramInfo_t));
|
connInfra.c | 321 paramInfo_t *pParam; 324 pParam = (paramInfo_t *)os_memoryAlloc(pConn->hOs, sizeof(paramInfo_t)); 325 if (!pParam) 331 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; 332 siteMgr_getParam(pConn->hSiteMgr, pParam); 334 pParam->paramType = REGULATORY_DOMAIN_TX_POWER_AFTER_SELECTION_PARAM; 335 pParam->content.channel = pParam->content.siteMgrCurrentChannel; 336 regulatoryDomain_setParam(pConn->hRegulatoryDomain, pParam); 338 pParam->paramType = RX_DATA_PORT_STATUS_PARAM [all...] |
smeSm.c | 244 paramInfo_t *pParam; 299 pParam = (paramInfo_t *)os_memoryAlloc(pSme->hOS, sizeof(paramInfo_t)); 300 if (!pParam) 303 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; 304 siteMgr_getParam(pSme->hSiteMgr, pParam); 305 uDesiredChannel = pParam->content.siteMgrDesiredChannel; 309 pParam->content.channelCapabilityReq.band = RADIO_BAND_5_0_GHZ; 313 pParam->content.channelCapabilityReq.band = RADIO_BAND_2_4_GHZ; 320 pParam->paramType = REGULATORY_DOMAIN_GET_SCAN_CAPABILITIES; 321 pParam->content.channelCapabilityReq.scanOption = ACTIVE_SCANNING [all...] |
admCtrlWpa.c | 706 paramInfo_t *pParam; 721 pParam = (paramInfo_t *)os_memoryAlloc(pAdmCtrl->hOs, sizeof(paramInfo_t)); 722 if (!pParam) 729 pParam->paramType = MLME_LEGACY_TYPE_PARAM; 730 pParam->content.mlmeLegacyAuthType = AUTH_LEGACY_OPEN_SYSTEM; 731 status = mlme_setParam(pAdmCtrl->hMlme, pParam); [all...] |
rsn.c | 651 * I/O - pParam - Parameter \n 662 paramInfo_t *pParam = (paramInfo_t *)param; 665 if ( (NULL == pRsn) || (NULL == pParam) ) 670 switch (pParam->paramType) 673 pParam->content.rsnPrivacyOptionImplemented = TI_TRUE; 677 pParam->content.pRsnKey = &pRsn->keys[pParam->content.pRsnKey->keyIndex]; 678 if (pParam->content.pRsnKey->keyIndex == pRsn->defaultKeyId) 680 pParam->content.pRsnKey->keyIndex |= 0x80000000; 686 status = pRsn->pMainSecSm->getAuthState (pRsn->pMainSecSm, (TIWLN_SECURITY_STATE*)&(pParam->content.rsnAuthState)) [all...] |
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestKeyStoreSpi.java | 169 ProtectionParameter pParam = param.getProtectionParameter(); 170 if (pParam == null) { 174 if (pParam instanceof PasswordProtection) { 175 char[] password = ((PasswordProtection) pParam).getPassword(); 247 ProtectionParameter pParam = param.getProtectionParameter(); 248 if (pParam instanceof PasswordProtection) { 249 char[] password = ((PasswordProtection) pParam).getPassword();
|
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/ |
measurementMgrSM.c | 830 paramInfo_t *pParam; 839 pParam = (paramInfo_t *)os_memoryAlloc(pMeasurementMgr->hOs, sizeof(paramInfo_t)); 840 if (!pParam) 851 pParam->paramType = REGULATORY_DOMAIN_GET_SCAN_CAPABILITIES; 852 pParam->content.channelCapabilityReq.channelNum = pMeasurementMgr->measuredChannelID; 853 pParam->content.channelCapabilityReq.scanOption = ACTIVE_SCANNING; 858 pParam->content.channelCapabilityReq.band = RADIO_BAND_2_4_GHZ; 863 pParam->content.channelCapabilityReq.band = RADIO_BAND_5_0_GHZ; 866 regulatoryDomain_getParam(pMeasurementMgr->hRegulatoryDomain, pParam); 868 request.txPowerDbm = pParam->content.channelCapabilityRet.maxTxPowerDbm [all...] |
regulatoryDomain.c | 245 paramInfo_t *pParam) 250 switch(pParam->paramType) 257 if (NULL == pParam->content.pCountry) 268 setSupportedChannelsAccording2CountryIe(pRegulatoryDomain, pParam->content.pCountry, bBand_2_4); 279 TI_UINT8 uNewPowerConstraint = DBM2DBMDIV10(pParam->content.powerConstraint); 297 TI_UINT8 uNewTPC = DBM2DBMDIV10(pParam->content.ExternTxPowerPreferred); 313 regulatoryDomain_setChannelValidity(pRegulatoryDomain, pParam->content.channelValidity.channelNum, 314 pParam->content.channelValidity.channelValidity); 319 if(pRegulatoryDomain->uUserMaxTxPower != pParam->content.desiredTxPower) 321 pRegulatoryDomain->uUserMaxTxPower = pParam->content.desiredTxPower; [all...] |
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/ |
CmdDispatcher.c | 69 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 - this function is not in use*/ 378 paramInfo_t *pParam = (paramInfo_t *)param; 381 moduleNumber = GET_PARAM_MODULE_NUMBER(pParam->paramType); 392 WLAN_OS_REPORT(("cmdDispatch_SetParam(): NULL pointers!!!, return, ParamType=0x%x\n", pParam->paramType)); 396 TRACE2(pCmdDispatch->hReport, REPORT_SEVERITY_INFORMATION , "cmdDispatch_SetParam(): ParamType=0x%x, ModuleNumber=0x%x\n", pParam->paramType, moduleNumber); 398 return pCmdDispatch->paramAccessTable[moduleNumber - 1].set(pCmdDispatch->paramAccessTable[moduleNumber - 1].handle, pParam); [all...] |
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
ScanCncn.c | 350 paramInfo_t *pParam; 354 pParam = (paramInfo_t *)os_memoryAlloc(pScanCncn->hOS, sizeof(paramInfo_t)); 355 if (!pParam) { 372 pParam->paramType = SME_DESIRED_SSID_ACT_PARAM; 373 sme_GetParam (pScanCncn->hSme, pParam); 376 &(pParam->content.smeDesiredSSID), 380 os_memoryFree(pScanCncn->hOS, pParam, sizeof(paramInfo_t)); [all...] |
currBss.c | 553 paramInfo_t *pParam; 555 pParam = (paramInfo_t *)os_memoryAlloc(pCurrBSS->hOs, sizeof(paramInfo_t)); 556 if (pParam) 558 pParam->paramType = SITE_MGR_DESIRED_BEACON_INTERVAL_PARAM; 559 siteMgr_getParam(pCurrBSS->hSiteMgr, pParam); 560 desiredBeaconInterval = pParam->content.siteMgrDesiredBeaconInterval; 562 pParam->paramType = CONN_SELF_TIMEOUT_PARAM; 563 conn_getParam(pCurrBSS->hConn, pParam); 564 connSelfTimeout = pParam->content.connSelfTimeout; 566 os_memoryFree(pCurrBSS->hOs, pParam, sizeof(paramInfo_t)) [all...] |
mlmeParser.c | 104 paramInfo_t *pParam; 134 pParam = (paramInfo_t *)os_memoryAlloc(pHandle->hOs, sizeof(paramInfo_t)); 135 if (!pParam) 144 pParam->paramType = CTRL_DATA_CURRENT_BSSID_PARAM; 145 ctrlData_getParam(pHandle->hCtrlData, pParam); 150 if (MAC_EQUAL (pParam->content.ctrlDataCurrentBSSID, recvBssid)) 156 if (MAC_EQUAL (pParam->content.ctrlDataCurrentBSSID, recvSa)) 180 pParam->paramType = CTRL_DATA_MAC_ADDRESS; 181 ctrlData_getParam(pHandle->hCtrlData, pParam); 184 if (MAC_EQUAL( (pParam->content.ctrlDataDeviceMacAddress), (pMgmtFrame->hdr.DA) ) [all...] |
systemConfig.c | 405 paramInfo_t *pParam; 431 pParam = (paramInfo_t *)os_memoryAlloc(pSiteMgr->hOs, sizeof(paramInfo_t)); 432 if (!pParam) { 526 pParam->paramType = CTRL_DATA_CURRENT_BSSID_PARAM; /* Current BSSID */ 527 MAC_COPY (pParam->content.ctrlDataCurrentBSSID, pPrimarySite->bssid); 528 ctrlData_setParam(pSiteMgr->hCtrlData, pParam); 530 pParam->paramType = CTRL_DATA_CURRENT_BSS_TYPE_PARAM; /* Current BSS Type */ 531 pParam->content.ctrlDataCurrentBssType = pPrimarySite->bssType; 532 ctrlData_setParam(pSiteMgr->hCtrlData, pParam); 534 pParam->paramType = CTRL_DATA_CURRENT_PREAMBLE_TYPE_PARAM; /* Current Preamble Type * [all...] |
/system/wlan/ti/wilink_6_1/stad/src/AirLink_Managment/ |
measurementMgrSM.c | 827 paramInfo_t *pParam; 836 pParam = (paramInfo_t *)os_memoryAlloc(pMeasurementMgr->hOs, sizeof(paramInfo_t)); 837 if (!pParam) 846 pParam->paramType = REGULATORY_DOMAIN_GET_SCAN_CAPABILITIES; 847 pParam->content.channelCapabilityReq.channelNum = pMeasurementMgr->measuredChannelID; 848 pParam->content.channelCapabilityReq.scanOption = ACTIVE_SCANNING; 853 pParam->content.channelCapabilityReq.band = RADIO_BAND_2_4_GHZ; 858 pParam->content.channelCapabilityReq.band = RADIO_BAND_5_0_GHZ; 861 regulatoryDomain_getParam(pMeasurementMgr->hRegulatoryDomain, pParam); 863 request.txPowerDbm = pParam->content.channelCapabilityRet.maxTxPowerDbm [all...] |
regulatoryDomain.c | 245 paramInfo_t *pParam) 250 switch(pParam->paramType) 257 if (NULL == pParam->content.pCountry) 268 setSupportedChannelsAccording2CountryIe(pRegulatoryDomain, pParam->content.pCountry, bBand_2_4); 279 TI_UINT8 uNewPowerConstraint = DBM2DBMDIV10(pParam->content.powerConstraint); 297 TI_UINT8 uNewTPC = DBM2DBMDIV10(pParam->content.ExternTxPowerPreferred); 313 regulatoryDomain_setChannelValidity(pRegulatoryDomain, pParam->content.channelValidity.channelNum, 314 pParam->content.channelValidity.channelValidity); 319 if(pRegulatoryDomain->uUserMaxTxPower != pParam->content.desiredTxPower) 321 pRegulatoryDomain->uUserMaxTxPower = pParam->content.desiredTxPower; [all...] |
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/ |
CmdDispatcher.c | 69 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 - this function is not in use*/ 378 paramInfo_t *pParam = (paramInfo_t *)param; 381 moduleNumber = GET_PARAM_MODULE_NUMBER(pParam->paramType); 392 WLAN_OS_REPORT(("cmdDispatch_SetParam(): NULL pointers!!!, return, ParamType=0x%x\n", pParam->paramType)); 396 TRACE2(pCmdDispatch->hReport, REPORT_SEVERITY_INFORMATION , "cmdDispatch_SetParam(): ParamType=0x%x, ModuleNumber=0x%x\n", pParam->paramType, moduleNumber); 398 return pCmdDispatch->paramAccessTable[moduleNumber - 1].set(pCmdDispatch->paramAccessTable[moduleNumber - 1].handle, pParam); [all...] |
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/ |
ScanCncn.c | 342 paramInfo_t *pParam; 346 pParam = (paramInfo_t *)os_memoryAlloc(pScanCncn->hOS, sizeof(paramInfo_t)); 347 if (!pParam) { 364 pParam->paramType = SME_DESIRED_SSID_ACT_PARAM; 365 sme_GetParam (pScanCncn->hSme, pParam); 368 &(pParam->content.smeDesiredSSID), 372 os_memoryFree(pScanCncn->hOS, pParam, sizeof(paramInfo_t)); [all...] |
/hardware/ti/wlan/wl1271/platforms/os/linux/src/ |
CmdInterpretWext.c | 149 paramInfo_t *pParam; 156 pParam = (paramInfo_t *)os_memoryAlloc(pCmdInterpret->hOs, sizeof(paramInfo_t)); 157 if (!pParam) 202 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; 203 pParam->paramLength = sizeof(TI_UINT32); 204 pParam->content.siteMgrDesiredChannel = freq; 206 res = cmdDispatch_SetParam (pCmdInterpret->hCmdDispatch, pParam); 207 CHECK_PENDING_RESULT(res,pParam) 215 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; 216 pParam->paramLength = sizeof(TI_UINT32) [all...] |
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
CmdInterpretWext.c | 142 paramInfo_t *pParam; 149 pParam = (paramInfo_t *)os_memoryAlloc(pCmdInterpret->hOs, sizeof(paramInfo_t)); 150 if (!pParam) 168 pParam->paramType = SITE_MGR_DESIRED_CHANNEL_PARAM; 169 pParam->paramLength = sizeof(TI_UINT32); 170 pParam->content.siteMgrDesiredChannel = wrqu->freq.m; 172 res = cmdDispatch_SetParam (pCmdInterpret->hCmdDispatch, pParam); 173 CHECK_PENDING_RESULT(res,pParam) 181 pParam->paramType = SITE_MGR_CURRENT_CHANNEL_PARAM; 182 pParam->paramLength = sizeof(TI_UINT32) [all...] |