/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Auth/shared/ |
D | sharedKeyAuthSm.c | 115 TI_STATUS status; in sharedKeyAuth_Config() local 168 status = fsm_Config(pHandle->pAuthSm, &sharedKeyAuth_smMatrix[0][0], in sharedKeyAuth_Config() 170 if (status != OK) in sharedKeyAuth_Config() 209 TI_STATUS status; in auth_skSMEvent() local 212 status = fsm_GetNextState(pAuth->pAuthSm, *currentState, event, &nextState); in auth_skSMEvent() 213 if (status != OK) in auth_skSMEvent() 225 status = fsm_Event(pAuth->pAuthSm, currentState, event, (void *)pAuth); in auth_skSMEvent() 227 return status; in auth_skSMEvent() 251 TI_STATUS status = NOK; in sharedKeyAuth_Recv() local 275 pHandle->authData.status = pFrame->content.auth.status; in sharedKeyAuth_Recv() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Auth/open/ |
D | openAuthSm.c | 116 TI_STATUS status; in openAuth_Config() local 153 status = fsm_Config(pHandle->pAuthSm, &openAuth_smMatrix[0][0], in openAuth_Config() 155 if (status != OK) in openAuth_Config() 191 TI_STATUS status; in auth_osSMEvent() local 194 status = fsm_GetNextState(pAuth->pAuthSm, *currentState, event, &nextState); in auth_osSMEvent() 195 if (status != OK) in auth_osSMEvent() 207 status = fsm_Event(pAuth->pAuthSm, currentState, event, (void *)pAuth); in auth_osSMEvent() 209 return status; in auth_osSMEvent() 232 TI_STATUS status; in openAuth_Recv() local 259 ("OPEN_AUTH_SM: DEBUG Authentication status is %d \n", pFrame->content.auth.status)); in openAuth_Recv() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/ |
D | mainKeysSm.c | 91 TI_STATUS status; in mainKeys_create() local 103 status = fsm_Create(hOs, &pHandle->pMainKeysSm, MAIN_KEYS_NUM_STATES, MAIN_KEYS_NUM_EVENTS); in mainKeys_create() 104 if (status != OK) in mainKeys_create() 187 TI_STATUS status; in mainKeys_config() local 254 status = fsm_Config(pMainKeys->pMainKeysSm, &mainKeysSM_matrix[0][0], in mainKeys_config() 256 if (status != OK) in mainKeys_config() 260 return status; in mainKeys_config() 263 status = keyParser_config(pMainKeys->pKeyParser, in mainKeys_config() 271 if (status != OK) in mainKeys_config() 275 return status; in mainKeys_config() [all …]
|
D | unicastKey802_1x.c | 102 TI_STATUS status = NOK; in unicastKey802_1x_config() local 137 status = fsm_Config(pUnicastKey->pUcastKeySm, in unicastKey802_1x_config() 144 return status; in unicastKey802_1x_config() 188 TI_STATUS status; in unicastKey802_1x_event() local 191 status = fsm_GetNextState(pUnicastKey->pUcastKeySm, pUnicastKey->currentState, event, &nextState); in unicastKey802_1x_event() 192 if (status != OK) in unicastKey802_1x_event() 205 status = fsm_Event(pUnicastKey->pUcastKeySm, &pUnicastKey->currentState, event, pData); in unicastKey802_1x_event() 207 return status; in unicastKey802_1x_event() 231 TI_STATUS status; in unicastKey802_1x_start() local 233 status = unicastKey802_1x_event(pUnicastKey, UCAST_KEY_802_1X_EVENT_START, pUnicastKey); in unicastKey802_1x_start() [all …]
|
D | broadcastKey802_1x.c | 97 TI_STATUS status = NOK; in broadcastKey802_1x_config() local 132 status = fsm_Config(pBroadcastKey->pBcastKeySm, in broadcastKey802_1x_config() 140 return status; in broadcastKey802_1x_config() 184 TI_STATUS status; in broadcastKey802_1x_event() local 187 …status = fsm_GetNextState(pBroadcastKey->pBcastKeySm, pBroadcastKey->currentState, event, &nextSta… in broadcastKey802_1x_event() 188 if (status != OK) in broadcastKey802_1x_event() 201 status = fsm_Event(pBroadcastKey->pBcastKeySm, &pBroadcastKey->currentState, event, pData); in broadcastKey802_1x_event() 203 return status; in broadcastKey802_1x_event() 227 TI_STATUS status; in broadcastKey802_1x_start() local 229 status = broadcastKey802_1x_event(pBroadcastKey, BCAST_KEY_802_1X_EVENT_START, pBroadcastKey); in broadcastKey802_1x_start() [all …]
|
D | mainSecKeysOnly.c | 108 TI_STATUS status; in mainSecKeysOnly_config() local 138 status = fsm_Config(pMainSec->pMainSecSm, &mainSecKeysOnly_matrix[0][0], in mainSecKeysOnly_config() 140 if (status != OK) in mainSecKeysOnly_config() 144 return status; in mainSecKeysOnly_config() 186 TI_STATUS status; in mainSecKeysOnly_start() local 188 … status = fsm_Event(pMainSec->pMainSecSm, &pMainSec->currentState, MAIN_KO_EVENT_START, pMainSec); in mainSecKeysOnly_start() 190 return status; in mainSecKeysOnly_start() 213 TI_STATUS status; in mainSecKeysOnly_stop() local 215 … status = fsm_Event(pMainSec->pMainSecSm, &pMainSec->currentState, MAIN_KO_EVENT_STOP, pMainSec); in mainSecKeysOnly_stop() 217 return status; in mainSecKeysOnly_stop() [all …]
|
D | mainSecSm.c | 119 TI_STATUS status; in mainSec_create() local 131 … status = fsm_Create(hOs, &pHandle->pMainSecSm, MAIN_SEC_MAX_NUM_STATES, MAIN_SEC_MAX_NUM_EVENTS); in mainSec_create() 132 if (status != OK) in mainSec_create() 182 TI_STATUS status; in mainSec_config() local 200 status = mainSecSmNull_config(pMainSec, pInitData->pPaeConfig); in mainSec_config() 203 status = mainSecKeysOnly_config(pMainSec, pInitData->pPaeConfig); in mainSec_config() 206 status = mainSecSmNull_config(pMainSec, pInitData->pPaeConfig); in mainSec_config() 210 …status = mainKeys_config(pMainSec->pMainKeys, pInitData->pPaeConfig, pMainSec, pMainSec->hReport,… in mainSec_config() 212 if (status != OK) in mainSec_config() 216 return status; in mainSec_config() [all …]
|
D | unicastKeySM.c | 84 TI_STATUS status; in unicastKey_create() local 97 …status = fsm_Create(hOs, &pUnicastKey->pUcastKeySm, UCAST_KEY_MAX_NUM_STATES, UCAST_KEY_MAX_NUM_EV… in unicastKey_create() 98 if (status != OK) in unicastKey_create() 137 TI_STATUS status; in unicastKey_unload() local 139 status = keyDerive_unload(pUnicastKey->pKeyDerive); in unicastKey_unload() 140 if (status != OK) in unicastKey_unload() 145 status = fsm_Unload(pUnicastKey->hOs, pUnicastKey->pUcastKeySm); in unicastKey_unload() 146 if (status != OK) in unicastKey_unload() 181 TI_STATUS status = NOK; in unicastKey_config() local 191 status = unicastKeyNone_config(pUnicastKey); in unicastKey_config() [all …]
|
D | broadcastKeySM.c | 86 TI_STATUS status; in broadcastKey_create() local 99 …status = fsm_Create(hOs, &pBroadcastKey->pBcastKeySm, BCAST_KEY_MAX_NUM_STATES, BCAST_KEY_MAX_NUM_… in broadcastKey_create() 100 if (status != OK) in broadcastKey_create() 139 TI_STATUS status; in broadcastKey_unload() local 141 status = keyDerive_unload(pBroadcastKey->pKeyDerive); in broadcastKey_unload() 142 if (status != OK) in broadcastKey_unload() 147 status = fsm_Unload(pBroadcastKey->hOs, pBroadcastKey->pBcastKeySm); in broadcastKey_unload() 148 if (status != OK) in broadcastKey_unload() 183 TI_STATUS status = NOK; in broadcastKey_config() local 193 status = broadcastKeyNone_config(pBroadcastKey); in broadcastKey_config() [all …]
|
D | unicastKeyNone.c | 112 TI_STATUS status=NOK; in unicastKeyNone_start() local 116 status = pUnicastKey->pParent->reportUcastStatus(pUnicastKey->pParent, OK); in unicastKeyNone_start() 119 return status; in unicastKeyNone_start() 140 TI_STATUS status=NOK; in unicastKeyNone_distribute() local 149 status = pUnicastKey->pKeyDerive->derive(pUnicastKey->pKeyDerive, in unicastKeyNone_distribute() 152 if (status != OK) in unicastKeyNone_distribute() 159 status = pUnicastKey->pParent->setDefaultKeyId(pUnicastKey->pParent, in unicastKeyNone_distribute() 162 if (status != OK) in unicastKeyNone_distribute() 164 return status; in unicastKeyNone_distribute() 169 status = pUnicastKey->pParent->reportUcastStatus(pUnicastKey->pParent, OK); in unicastKeyNone_distribute() [all …]
|
D | rsn.c | 199 TI_STATUS status; in rsn_unload() local 213 status = admCtrl_unload (pRsn->pAdmCtrl); in rsn_unload() 214 status = mainSec_unload (pRsn->pMainSecSm); in rsn_unload() 218 return status; in rsn_unload() 268 TI_STATUS status; in rsn_config() local 307 …status = admCtrl_config (pRsn->pAdmCtrl, hMlme, hRx, hReport, hOs, pRsn, hExcMngr, hPowerMgr, hEvH… in rsn_config() 308 if (status != OK) in rsn_config() 310 return status; in rsn_config() 330 return status; in rsn_config() 385 TI_STATUS status = OK; in rsn_setDefaultKeys() local [all …]
|
D | admCtrlNone.c | 106 TI_STATUS status; in admCtrlNone_config() local 149 status = pAdmCtrl->pRsn->setPaeConfig(pAdmCtrl->pRsn, &paeConfig); in admCtrlNone_config() 155 status = whalCtrl_SetParam(pAdmCtrl->pRsn->hWhalCtrl, &whalParam); in admCtrlNone_config() 159 status = whalCtrl_SetParam(pAdmCtrl->pRsn->hWhalCtrl, &whalParam); in admCtrlNone_config() 162 return status; in admCtrlNone_config() 217 TI_STATUS status; in admCtrlNone_setSite() local 231 status = whalCtrl_SetParam(pAdmCtrl->pRsn->hWhalCtrl, &whalParam); in admCtrlNone_setSite() 261 status = mlme_setParam(pAdmCtrl->hMlme, ¶m); in admCtrlNone_setSite() 262 if (status != OK) in admCtrlNone_setSite() 264 return status; in admCtrlNone_setSite() [all …]
|
D | broadcastKeyNone.c | 115 TI_STATUS status=NOK; in broadcastKeyNone_start() local 119 status = pBroadcastKey->pParent->reportBcastStatus(pBroadcastKey->pParent, OK); in broadcastKeyNone_start() 122 return status; in broadcastKeyNone_start() 143 TI_STATUS status=NOK; in broadcastKeyNone_distribute() local 147 status = pBroadcastKey->pKeyDerive->derive(pBroadcastKey->pKeyDerive, in broadcastKeyNone_distribute() 150 if (status != OK) in broadcastKeyNone_distribute() 157 status = pBroadcastKey->pParent->reportBcastStatus(pBroadcastKey->pParent, OK); in broadcastKeyNone_distribute() 160 return status; in broadcastKeyNone_distribute()
|
D | keyDerive.c | 148 TI_STATUS status = NOK; in keyDerive_config() local 157 status = keyDeriveNone_config(pKeyDerive); in keyDerive_config() 161 status = keyDeriveWep_config(pKeyDerive); in keyDerive_config() 164 status = keyDeriveTkip_config(pKeyDerive); in keyDerive_config() 168 status = keyDeriveCkip_config(pKeyDerive); in keyDerive_config() 173 status = keyDeriveAes_config(pKeyDerive); in keyDerive_config() 179 return status; in keyDerive_config()
|
D | admCtrlWep.c | 112 TI_STATUS status; in admCtrlWep_config() local 148 status = pAdmCtrl->pRsn->setPaeConfig(pAdmCtrl->pRsn, &paeConfig); in admCtrlWep_config() 150 return status; in admCtrlWep_config() 208 TI_STATUS status; in admCtrlWep_setSite() local 235 status = whalCtrl_SetParam(pAdmCtrl->pRsn->hWhalCtrl, &whalParam); in admCtrlWep_setSite() 273 status = mlme_setParam(pAdmCtrl->hMlme, ¶m); in admCtrlWep_setSite() 274 if (status != OK) in admCtrlWep_setSite() 276 return status; in admCtrlWep_setSite() 281 status = rxData_setParam(pAdmCtrl->hRx, ¶m); in admCtrlWep_setSite() 282 if (status != OK) in admCtrlWep_setSite() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/conn/ |
D | connInfra.c | 293 TI_STATUS status; in conn_infraSMEvent() local 296 status = fsm_GetNextState(pConn->infra_pFsm, *currentState, event, &nextState); in conn_infraSMEvent() 297 if (status != OK) in conn_infraSMEvent() 309 status = fsm_Event(pConn->infra_pFsm, currentState, event, (void *)pConn); in conn_infraSMEvent() 311 return status; in conn_infraSMEvent() 321 TI_STATUS status; in ScrWait_to_JoinWait() local 327 status = siteMgr_join(((conn_t *)pData)->hSiteMgr ); in ScrWait_to_JoinWait() 329 if (status != OK) in ScrWait_to_JoinWait() 333 return status; in ScrWait_to_JoinWait() 339 TI_STATUS status; in JoinWait_to_mlmeWait() local [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/ |
D | shmFwCtrl.c | 59 …_STATUS whal_FwCtrl_BootSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); 60 …_STATUS whal_FwCtrl_ResetSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); 61 …l_EepromlessStartBurstSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); … 62 …_STATUS whal_FwCtrl_InitSequenceSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); 63 …_STATUS whal_FwCtrl_LoadFwImageSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); 64 …l_FinalizeDownloadSm (TI_HANDLE hWhalBus, UINT8 module_id, TI_STATUS status); … 71 #define EXCEPT(pwhalbus,status) \ argument 72 switch (status) { \ 85 #define EXCEPT_I(pwhalbus,status) \ argument 86 switch (status) { \ [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Assoc/ |
D | assocSM.c | 159 TI_STATUS status; in assoc_create() local 173 status = fsm_Create(hOs, &pHandle->pAssocSm, ASSOC_SM_NUM_STATES, ASSOC_SM_NUM_EVENTS); in assoc_create() 174 if (status != OK) in assoc_create() 213 TI_STATUS status; in assoc_unload() local 218 status = fsm_Unload(pHandle->hOs, pHandle->pAssocSm); in assoc_unload() 219 if (status != OK) in assoc_unload() 277 TI_STATUS status; in assoc_config() local 315 status = fsm_Config(pHandle->pAssocSm, &assoc_smMatrix[0][0], in assoc_config() 317 if (status != OK) in assoc_config() 368 TI_STATUS status; in assoc_start() local [all …]
|
/system/core/fastboot/ |
D | engine.c | 68 int (*func)(Action *a, int status, char *resp); 74 static int cb_default(Action *a, int status, char *resp) in cb_default() argument 76 if (status) { in cb_default() 81 return status; in cb_default() 153 static int cb_check(Action *a, int status, char *resp, int invert) in cb_check() argument 160 if (status) { in cb_check() 162 return status; in cb_check() 184 static int cb_require(Action *a, int status, char *resp) in cb_require() argument 186 return cb_check(a, status, resp, 0); in cb_require() 189 static int cb_reject(Action *a, int status, char *resp) in cb_reject() argument [all …]
|
D | protocol.c | 46 unsigned char status[65]; in check_response() local 50 r = usb_read(usb, status, 64); in check_response() 56 status[r] = 0; in check_response() 64 if(!memcmp(status, "INFO", 4)) { in check_response() 65 fprintf(stderr,"%s\n", status); in check_response() 69 if(!memcmp(status, "OKAY", 4)) { in check_response() 71 strcpy(response, (char*) status + 4); in check_response() 76 if(!memcmp(status, "FAIL", 4)) { in check_response() 78 sprintf(ERROR, "remote: %s", status + 4); in check_response() 85 if(!memcmp(status, "DATA", 4) && data_okay){ in check_response() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/ |
D | whalHwAccess.c | 195 #define WSPI2TNETWIF(pHwAccess,status,addr) \ argument 196 switch(status) { \ 197 case WSPI_TXN_PENDING: status = TNETWIF_PENDING; break; \ 198 case WSPI_TXN_COMPLETE: status = TNETWIF_COMPLETE; break; \ 202 addr, status)); \ 203 status = TNETWIF_ERROR; break; \ 283 static void sdio_transaction_notify_read(struct SDIO_Request *req, int status); 284 static void sdio_transaction_notify_write(struct SDIO_Request *req, int status); 287 static void sdio_async_transaction_notify(struct SDIO_Request *req, int status); 288 static void sdio_async_transaction_error(struct SDIO_Request *req, int status); [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/ |
D | mlmeSm.c | 118 TI_STATUS status; in mlme_create() local 133 status = fsm_Create(hOs, &pHandle->pMlmeSm, MLME_SM_NUM_STATES, MLME_SM_NUM_EVENTS); in mlme_create() 134 if (status != OK) in mlme_create() 164 TI_STATUS status; in mlme_unload() local 169 status = fsm_Unload(pHandle->hOs, pHandle->pMlmeSm); in mlme_unload() 170 if (status != OK) in mlme_unload() 228 TI_STATUS status; in mlme_config() local 274 …status = fsm_Config(pHandle->pMlmeSm, &mlme_smMatrix[0][0], MLME_SM_NUM_STATES, MLME_SM_NUM_EVENTS… in mlme_config() 275 if (status != OK) in mlme_config() 430 TI_STATUS status; in mlme_start() local [all …]
|
D | mlmeBuilder.c | 92 TI_STATUS status; in mlmeBuilder_sendFrame() local 109 status = wlan_memMngrAllocMSDU(pHandle->hMemMgr, &pMsdu, in mlmeBuilder_sendFrame() 114 if (status != OK) in mlmeBuilder_sendFrame() 118 status = mlmeBuilder_buildFrameCtrl(pHandle, type, (UINT16 *)&pFrame->hdr.fc, setWepOpt); in mlmeBuilder_sendFrame() 119 if (status != OK) in mlmeBuilder_sendFrame() 126 status = ctrlData_getParam(pHandle->hCtrlData, &daParam); in mlmeBuilder_sendFrame() 127 if (status != OK) in mlmeBuilder_sendFrame() 137 status = ctrlData_getParam(pHandle->hCtrlData, &saParam); in mlmeBuilder_sendFrame() 138 if (status != OK) in mlmeBuilder_sendFrame() 178 status = txData_txSendMsdu(pHandle->hTxData, pMsdu); in mlmeBuilder_sendFrame() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/ |
D | TNETWIF.c | 146 extern void os_TNETWIF_BusTxn_Complete(TI_HANDLE OsContext,int status); 236 static void TNETWIF_ConfigCb (TI_HANDLE hTNETWIF, UINT8 module_id, TI_STATUS status) in TNETWIF_ConfigCb() argument 260 status = (TI_STATUS)whal_hwAccess_Config (pTNETWIF->hHwAccess, in TNETWIF_ConfigCb() 267 if (status == TNETWIF_PENDING) in TNETWIF_ConfigCb() 269 pTNETWIF->status = TNETWIF_PENDING; in TNETWIF_ConfigCb() 272 else if (status == TNETWIF_ERROR) in TNETWIF_ConfigCb() 274 pTNETWIF->status = TNETWIF_ERROR; in TNETWIF_ConfigCb() 278 pTNETWIF->status = TNETWIF_COMPLETE; in TNETWIF_ConfigCb() 285 status = TNETWIF_SetPartitionsOpt (hTNETWIF, in TNETWIF_ConfigCb() 291 if (status == TNETWIF_PENDING) in TNETWIF_ConfigCb() [all …]
|
/system/core/logwrapper/ |
D | logwrapper.c | 48 int status; in parent() local 89 status = 0xAAAA; in parent() 90 if (wait(&status) != -1) { // Wait for child in parent() 91 if (WIFEXITED(status)) in parent() 93 WEXITSTATUS(status)); in parent() 94 else if (WIFSIGNALED(status)) in parent() 96 WTERMSIG(status)); in parent() 97 else if (WIFSTOPPED(status)) in parent() 99 WSTOPSIG(status)); in parent() 104 *(int *)status = 0; // causes SIGSEGV with fault_address = status in parent()
|