/hardware/ti/wlan/wl1271/utils/ |
D | fsm.c | 246 TI_UINT8 *currentState, in fsm_Event() argument 260 if ((*currentState >= pFsm->ActiveNoOfStates) || (event >= pFsm->ActiveNoOfEvents)) in fsm_Event() 265 oldState = *currentState; in fsm_Event() 267 *currentState = pFsm->stateEventMatrix[(*currentState * pFsm->ActiveNoOfEvents) + event].nextState; in fsm_Event() 302 TI_UINT8 currentState, in fsm_GetNextState() argument 308 if ((currentState < pFsm->ActiveNoOfStates) && (event < pFsm->ActiveNoOfEvents)) in fsm_GetNextState() 310 *nextState = pFsm->stateEventMatrix[(currentState * pFsm->ActiveNoOfEvents) + event].nextState; in fsm_GetNextState()
|
D | fsm.h | 113 TI_UINT8 *currentState, 118 TI_UINT8 currentState,
|
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
D | sharedKeyAuthSm.c | 172 pHandle->currentState = SHARED_KEY_AUTH_SM_STATE_IDLE; in sharedKeyAuth_Config() 178 TI_STATUS auth_skSMEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hAuth) in auth_skSMEvent() argument 184 status = fsm_GetNextState(pAuth->pAuthSm, *currentState, event, &nextState); in auth_skSMEvent() 191 …th_skSMEvent: <currentState = %d, event = %d> --> nextState = %d\n", *currentState, event, nextSta… in auth_skSMEvent() 193 status = fsm_Event(pAuth->pAuthSm, currentState, event, (void *)pAuth); in auth_skSMEvent() 260 status = auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_SUCCESS_1, hAuth); in sharedKeyAuth_Recv() 266 status = auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_SUCCESS_2, hAuth); in sharedKeyAuth_Recv() 281 status = auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_FAIL_1, hAuth); in sharedKeyAuth_Recv() 285 status = auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_FAIL_2, hAuth); in sharedKeyAuth_Recv() 524 return auth_skSMEvent(&pAuth->currentState, SHARED_KEY_AUTH_SM_EVENT_MAX_RETRY, pAuth); in sharedKey_Timeout() [all …]
|
D | openAuthSm.c | 158 pHandle->currentState = OPEN_AUTH_SM_STATE_IDLE; in openAuth_Config() 164 TI_STATUS auth_osSMEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hAuth) in auth_osSMEvent() argument 170 status = fsm_GetNextState(pAuth->pAuthSm, *currentState, event, &nextState); in auth_osSMEvent() 177 …th_osSMEvent: <currentState = %d, event = %d> --> nextState = %d\n", *currentState, event, nextSta… in auth_osSMEvent() 179 status = fsm_Event(pAuth->pAuthSm, currentState, event, (void *)pAuth); in auth_osSMEvent() 235 status = auth_osSMEvent(&pHandle->currentState, OPEN_AUTH_SM_EVENT_SUCCESS, pHandle); in openAuth_Recv() 238 status = auth_osSMEvent(&pHandle->currentState, OPEN_AUTH_SM_EVENT_FAIL, pHandle); in openAuth_Recv() 437 return auth_osSMEvent(&pAuth->currentState, OPEN_AUTH_SM_EVENT_MAX_RETRY, pAuth); in openAuth_Timeout() 440 return auth_osSMEvent(&pAuth->currentState, OPEN_AUTH_SM_EVENT_TIMEOUT, pAuth); in openAuth_Timeout()
|
D | mlmeSm.c | 229 pHandle->currentState = MLME_SM_STATE_IDLE; in mlme_init() 386 status = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_START, pHandle); in mlme_start() 422 status = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_STOP, pHandle); in mlme_stop() 468 fStatus = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_AUTH_SUCCESS, pHandle); in mlme_reportAuthStatus() 487 fStatus = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_AUTH_FAIL, pHandle); in mlme_reportAuthStatus() 533 fStatus = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_ASSOC_SUCCESS, pHandle); in mlme_reportAssocStatus() 537 fStatus = mlme_smEvent(&pHandle->currentState, MLME_SM_EVENT_ASSOC_FAIL, pHandle); in mlme_reportAssocStatus() 563 TI_STATUS mlme_smEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hMlme) in mlme_smEvent() argument 569 status = fsm_GetNextState(pMlme->pMlmeSm, *currentState, event, &nextState); in mlme_smEvent() 577 …mlme_smEvent: <currentState = %d, event = %d> --> nextState = %d\n", *currentState, event, nextSta… in mlme_smEvent() [all …]
|
D | authSm.c | 269 return auth_osSMEvent(&pHandle->currentState, OPEN_AUTH_SM_EVENT_START, pHandle); in auth_start() 272 return auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_START, pHandle); in auth_start() 321 return auth_osSMEvent(&pHandle->currentState, OPEN_AUTH_SM_EVENT_STOP, pHandle); in auth_stop() 324 return auth_skSMEvent(&pHandle->currentState, SHARED_KEY_AUTH_SM_EVENT_STOP, pHandle); in auth_stop()
|
D | mlmeSm.h | 98 TI_UINT8 currentState; member 151 TI_STATUS mlme_smEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hMlme);
|
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
D | apConn.c | 167 TI_UINT8 currentState; /**< AP Connection state machine current state */ member 487 pAPConnection->currentState = AP_CONNECT_STATE_IDLE; in apConn_init() 610 apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_FINISHED_OK, pAPConnection); in apConn_ConnCompleteInd() 614 … apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_FINISHED_NOT_OK, pAPConnection); in apConn_ConnCompleteInd() 699 if ((pAPConnection->roamingEnabled) && (pAPConnection->currentState != AP_CONNECT_STATE_IDLE)) in apConn_registerRoamMngrCallb() 727 …if ((pAPConnection->currentState != AP_CONNECT_STATE_IDLE) && (pAPConnection->currentState != AP_C… in apConn_unregisterRoamMngrCallb() 730 apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_STOP, pAPConnection); in apConn_unregisterRoamMngrCallb() 747 apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_STOP, pAPConnection); in apConn_disconnect() 902 … apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_RETAIN_CURRENT_AP, pAPConnection); in apConn_connectToAP() 910 … apConn_smEvent(&(pAPConnection->currentState), AP_CONNECT_EVENT_START_ROAM, pAPConnection); in apConn_connectToAP() [all …]
|
D | broadcastKey802_1x.c | 129 pBroadcastKey->currentState = BCAST_KEY_802_1X_STATE_IDLE; in broadcastKey802_1x_config() 168 …status = fsm_GetNextState(pBroadcastKey->pBcastKeySm, pBroadcastKey->currentState, event, &nextSta… in broadcastKey802_1x_event() 175 …<currentState = %d, event = %d> --> nextState = %d\n", pBroadcastKey->currentState, event, nextSta… in broadcastKey802_1x_event() 177 status = fsm_Event(pBroadcastKey->pBcastKeySm, &pBroadcastKey->currentState, event, pData); in broadcastKey802_1x_event()
|
D | unicastKey802_1x.c | 134 pUnicastKey->currentState = UCAST_KEY_802_1X_STATE_IDLE; in unicastKey802_1x_config() 173 status = fsm_GetNextState(pUnicastKey->pUcastKeySm, pUnicastKey->currentState, event, &nextState); in unicastKey802_1x_event() 180 …: <currentState = %d, event = %d> --> nextState = %d\n", pUnicastKey->currentState, event, nextSta… in unicastKey802_1x_event() 182 status = fsm_Event(pUnicastKey->pUcastKeySm, &pUnicastKey->currentState, event, pData); in unicastKey802_1x_event()
|
D | mainSecKeysOnly.c | 139 pMainSec->currentState = MAIN_KO_STATE_IDLE; in mainSecKeysOnly_config() 179 … status = fsm_Event(pMainSec->pMainSecSm, &pMainSec->currentState, MAIN_KO_EVENT_START, pMainSec); in mainSecKeysOnly_start() 206 … status = fsm_Event(pMainSec->pMainSecSm, &pMainSec->currentState, MAIN_KO_EVENT_STOP, pMainSec); in mainSecKeysOnly_stop() 237 …status = fsm_Event(pMainSec->pMainSecSm, &pMainSec->currentState, MAIN_KO_EVENT_KEYS_COMPLETE, pMa… in mainSecKeysOnly_reportKeysStatus() 393 switch (pMainSec->currentState) in mainSecKeysOnly_getAuthState()
|
D | externalSec.c | 106 pExtSec->currentState = EXTERNAL_SEC_STATE_IDLE; in externalSec_config() 262 pExternalSec->currentState, in externalSec_event() 271 … <currentState = %d, event = %d> --> nextState = %d\n", pExternalSec->currentState, event, nextSta… in externalSec_event() 273 &pExternalSec->currentState, in externalSec_event()
|
D | connIbss.c | 184 TI_STATUS conn_ibssSMEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hConn) in conn_ibssSMEvent() argument 190 status = fsm_GetNextState(pConn->ibss_pFsm, *currentState, event, &nextState); in conn_ibssSMEvent() 197 …_ibssSMEvent: <currentState = %d, event = %d> --> nextState = %d\n", *currentState, event, nextSta… in conn_ibssSMEvent() 198 status = fsm_Event(pConn->ibss_pFsm, currentState, event, (void *)pConn); in conn_ibssSMEvent()
|
D | connInfra.h | 84 TI_STATUS conn_infraSMEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hConn);
|
D | connIbss.h | 81 TI_STATUS conn_ibssSMEvent(TI_UINT8 *currentState, TI_UINT8 event, TI_HANDLE hConn);
|
D | externalSec.h | 85 TI_UINT8 currentState; member
|
/hardware/ti/wlan/wl1271/stad/src/AirLink_Managment/ |
D | measurementMgr.c | 187 pMeasurementMgr->currentState = MEASUREMENTMGR_STATE_IDLE; in measurementMgr_init() 346 WLAN_OS_REPORT(("Current State: %d\n\n", pMeasurementMgr->currentState)); in measurementMgr_getParam() 398 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_connected() 419 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_disconnected() 437 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_enable() 456 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_disable() 602 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_receiveFrameRequest() 661 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_activateNextRequest() 697 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_activateNextRequest() 706 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgr_activateNextRequest() [all …]
|
D | SwitchChannel.c | 115 TI_UINT8 currentState; member 331 pSwitchChannel->currentState = SC_STATE_IDLE; in switchChannel_SetDefaults() 383 …return (switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_STOP, pSwitchChan… in switchChannel_stop() 412 …return (switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_START, pSwitchCha… in switchChannel_start() 544 … switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_SC_CMD, pSwitchChannel); in switchChannel_recvCmd() 581 …switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_SC_CMPLT, pSwitchChannel); in switchChannel_SwitchChannelCmdCompleteReturn() 623 … switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_START, pSwitchChannel); in switchChannel_enableDisableSpectrumMngmt() 628 … switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_STOP, pSwitchChannel); in switchChannel_enableDisableSpectrumMngmt() 776 …return (switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_SCR_FAIL, pSwitch… in switchChannel_smReqSCR_UpdateCmd() 786 …return (switchChannel_smEvent((TI_UINT8*)&pSwitchChannel->currentState, SC_EVENT_SCR_FAIL, pSwitch… in switchChannel_smReqSCR_UpdateCmd() [all …]
|
D | measurementMgrSM.c | 274 TI_STATUS measurementMgrSM_event(TI_UINT8 * currentState, TI_UINT8 event, TI_HANDLE hMeasurementMgr) in measurementMgrSM_event() argument 281 *currentState, event, &nextState); in measurementMgrSM_event() 290 …ntMgrSM_event: <currentState = %d, event = %d> --> nextState = %d\n", currentState, event, nextSta… in measurementMgrSM_event() 292 …status = fsm_Event(pMeasurementMgr->pMeasurementMgrSm, currentState, event, (void *) pMeasurementM… in measurementMgrSM_event() 475 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acFrameReceived_fromIdle() 491 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acFrameReceived_fromIdle() 519 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acFrameReceived_fromIdle() 690 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acRequestSCR() 698 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acRequestSCR() 882 return measurementMgrSM_event((TI_UINT8 *) &(pMeasurementMgr->currentState), in measurementMgrSM_acStartMeasurement() [all …]
|
D | measurementMgrSM.h | 87 TI_STATUS measurementMgrSM_event(TI_UINT8 * currentState, TI_UINT8 event, TI_HANDLE hMeasurementMgr…
|
/hardware/ti/wlan/wl1271/TWD/MacServices/ |
D | PowerSrvSM.c | 315 pPowerSrvSM->currentState = POWER_SRV_STATE_ACTIVE; in powerSrvSM_init() 390 status = powerSrvSmSMEvent((TI_UINT8*)&pPowerSrvSM->currentState, in powerSrvSM_SMApi() 433 return pPowerSrvSM->currentState; in powerSrvSM_getCurrentState() 496 switch ( pPowerSrvSM->currentState ) in powerSrvSM_printObject() 525 pPowerSrvSM->currentState)); in powerSrvSM_printObject() 701 (TI_UINT8)pPowerSrvSM->currentState, in powerSrvSmSMEvent()
|
D | ScanSrvSM.c | 163 TI_STATUS scanSRVSM_SMEvent( TI_HANDLE hScanSrv, scan_SRVSMStates_e* currentState, in scanSRVSM_SMEvent() argument 171 … status = fsm_GetNextState( pScanSRV->SM, *(TI_UINT8*)currentState, (TI_UINT8)event, &nextState ); in scanSRVSM_SMEvent() 174 …led getting scan SRV next state. state = %d event = %d\n", (TI_UINT8)*currentState,(TI_UINT8)event… in scanSRVSM_SMEvent() 178 …RVSM_SMEvent: <currentState = %d, event = %d> --> nextState = %d\n", *currentState, event, nextSta… in scanSRVSM_SMEvent() 181 return fsm_Event( pScanSRV->SM, (TI_UINT8*)currentState, (TI_UINT8)event, hScanSrv ); in scanSRVSM_SMEvent()
|
D | ScanSrvSM.h | 132 TI_STATUS scanSRVSM_SMEvent( TI_HANDLE hScanSrv, scan_SRVSMStates_e* currentState,
|
D | MeasurementSrvSM.h | 134 …TUS measurementSRVSM_SMEvent( TI_HANDLE hMeasurementSrv, measurements_SRVSMStates_e* currentState,
|
/hardware/ril/mock-ril/src/cpp/ |
D | mock_ril.cpp | 77 static RIL_RadioState currentState(); 100 currentState, 143 static RIL_RadioState currentState() in currentState() function
|