Home
last modified time | relevance | path

Searched refs:hOs (Results 1 – 25 of 191) sorted by relevance

12345678

/hardware/ti/wlan/wl1271/utils/
Dreport.c54 TI_HANDLE report_Create (TI_HANDLE hOs) in report_Create() argument
58 pReport = os_memoryAlloc(hOs, sizeof(TReport)); in report_Create()
64 pReport->hOs = hOs; in report_Create()
66 os_memoryZero(hOs, pReport->aSeverityTable, sizeof(pReport->aSeverityTable)); in report_Create()
67 os_memoryZero(hOs, pReport->aFileEnable, sizeof(pReport->aFileEnable)); in report_Create()
74 …os_memoryCopy(hOs, (void *)(pReport->aFileName[FILE_ID_0 ]), "timer " , size… in report_Create()
75 …os_memoryCopy(hOs, (void *)(pReport->aFileName[FILE_ID_1 ]), "measurementMgr " , size… in report_Create()
76 …os_memoryCopy(hOs, (void *)(pReport->aFileName[FILE_ID_2 ]), "measurementMgrSM " , size… in report_Create()
77 …os_memoryCopy(hOs, (void *)(pReport->aFileName[FILE_ID_3 ]), "regulatoryDomain " , size… in report_Create()
78 …os_memoryCopy(hOs, (void *)(pReport->aFileName[FILE_ID_4 ]), "requestHandler " , size… in report_Create()
[all …]
Dcontext.c69 TI_HANDLE hOs; member
101 TI_HANDLE context_Create (TI_HANDLE hOs) in context_Create() argument
106 hContext = os_memoryAlloc (hOs, sizeof(TContext)); in context_Create()
114 os_memoryZero (hOs, hContext, (sizeof(TContext))); in context_Create()
136 os_protectDestroy (pContext->hOs, pContext->hProtectionLock); in context_Destroy()
139 os_memoryFree (pContext->hOs, pContext, sizeof(TContext)); in context_Destroy()
158 void context_Init (TI_HANDLE hContext, TI_HANDLE hOs, TI_HANDLE hReport) in context_Init() argument
162 pContext->hOs = hOs; in context_Init()
166 pContext->hProtectionLock = os_protectCreate (pContext->hOs); in context_Init()
237 os_memoryCopy(pContext->hOs, in context_RegisterClient()
[all …]
Dfsm.c91 TI_STATUS fsm_Create(TI_HANDLE hOs, in fsm_Create() argument
103 *pFsm = (fsm_stateMachine_t *)os_memoryAlloc(hOs, sizeof(fsm_stateMachine_t)); in fsm_Create()
108 os_memoryZero(hOs, (*pFsm), sizeof(fsm_stateMachine_t)); in fsm_Create()
111 …(*pFsm)->stateEventMatrix = (fsm_Matrix_t)os_memoryAlloc(hOs, MaxNoOfStates * MaxNoOfEvents * size… in fsm_Create()
114 os_memoryFree(hOs, *pFsm, sizeof(fsm_stateMachine_t)); in fsm_Create()
117 os_memoryZero(hOs, (*pFsm)->stateEventMatrix, in fsm_Create()
148 TI_STATUS fsm_Unload(TI_HANDLE hOs, in fsm_Unload() argument
160 os_memoryFree(hOs, pFsm->stateEventMatrix, in fsm_Unload()
165 os_memoryFree(hOs, pFsm, sizeof(fsm_stateMachine_t)); in fsm_Unload()
198 TI_HANDLE hOs) in fsm_Config() argument
[all …]
Dtimer.c54 TI_HANDLE hOs; member
93 TI_HANDLE tmr_Create (TI_HANDLE hOs) in tmr_Create() argument
98 hTimerModule = os_memoryAlloc (hOs, sizeof(TTimerModule)); in tmr_Create()
106 os_memoryZero (hOs, hTimerModule, (sizeof(TTimerModule))); in tmr_Create()
146 os_memoryFree (pTimerModule->hOs, pTimerModule, sizeof(TTimerModule)); in tmr_Destroy()
171 os_memoryFree (pTimerModule->hOs, pTimerModule, sizeof(TTimerModule)); in tmr_Free()
222 void tmr_Init (TI_HANDLE hTimerModule, TI_HANDLE hOs, TI_HANDLE hReport, TI_HANDLE hContext) in tmr_Init() argument
233 pTimerModule->hOs = hOs; in tmr_Init()
245 pTimerModule->hInitQueue = que_Create (pTimerModule->hOs, in tmr_Init()
249 pTimerModule->hOperQueue = que_Create (pTimerModule->hOs, in tmr_Init()
[all …]
Dstack.c70 TI_HANDLE hOs, in stackInit() argument
77 pStack->hOs = hOs; in stackInit()
90 pStack->pBuf = _os_memoryAlloc (hOs, pStack->uDep); in stackInit()
114 _os_memoryFree (pStack->hOs, pStack->pBuf, pStack->uDep); in stackDestroy()
133 … pStack->fCpy (pStack->hOs, (unsigned char*)pStack->pBuf + pStack->uPtr, pVal, pStack->uElemSize); in stackPush()
157 … pStack->fCpy (pStack->hOs, pVal, (unsigned char*)pStack->pBuf + pStack->uPtr, pStack->uElemSize); in stackPop()
Dmem.c45 TI_HANDLE hOs; member
66 TI_HANDLE mem_Create (TI_HANDLE hOs) in mem_Create() argument
68 TMemMng *pMemMng = (TMemMng *)os_memoryAlloc (hOs, sizeof(TMemMng)); in mem_Create()
72 pMemMng->hOs = hOs; in mem_Create()
87 os_memoryFree (pMemMng->hOs, (void *)pMemMng, sizeof(TMemMng)); in mem_Destroy()
121 pMemBlock = (TMemBlock *) os_memoryAlloc (pMemMng->hOs, total); in mem_Alloc()
165 os_memorySet (pMemMng->hOs, ptr, 0, total); in mem_Calloc()
217 …os_memoryFree (pMemMng->hOs, pMemBlock, pMemBlock->signature + sizeof(TMemBlock) + sizeof(TI_UINT3… in mem_Free()
Dqueue.c59 TI_HANDLE hOs; member
137 TI_HANDLE que_Create (TI_HANDLE hOs, TI_HANDLE hReport, TI_UINT32 uLimit, TI_UINT32 uNodeHeaderOffs… in que_Create() argument
142 pQue = os_memoryAlloc (hOs, sizeof(TQueue)); in que_Create()
150 os_memoryZero (hOs, pQue, sizeof(TQueue)); in que_Create()
156 pQue->hOs = hOs; in que_Create()
188 os_memoryFree (pQue->hOs, pQue, sizeof(TQueue)); in que_Destroy()
208 TI_STATUS que_Init (TI_HANDLE hQue, TI_HANDLE hOs, TI_HANDLE hReport) in que_Init() argument
212 pQue->hOs = hOs; in que_Init()
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/
DbroadcastKeySM.c83 broadcastKey_t* broadcastKey_create(TI_HANDLE hOs) in broadcastKey_create() argument
89 pBroadcastKey = (broadcastKey_t*)os_memoryAlloc(hOs, sizeof(broadcastKey_t)); in broadcastKey_create()
95 os_memoryZero(hOs, pBroadcastKey, sizeof(broadcastKey_t)); in broadcastKey_create()
98 …status = fsm_Create(hOs, &pBroadcastKey->pBcastKeySm, BCAST_KEY_MAX_NUM_STATES, BCAST_KEY_MAX_NUM_… in broadcastKey_create()
101 os_memoryFree(hOs, pBroadcastKey, sizeof(broadcastKey_t)); in broadcastKey_create()
105 pBroadcastKey->pKeyDerive = keyDerive_create(hOs); in broadcastKey_create()
108 fsm_Unload(hOs, pBroadcastKey->pBcastKeySm); in broadcastKey_create()
109 os_memoryFree(hOs, pBroadcastKey, sizeof(broadcastKey_t)); in broadcastKey_create()
113 pBroadcastKey->hOs = hOs; in broadcastKey_create()
148 status = fsm_Unload(pBroadcastKey->hOs, pBroadcastKey->pBcastKeySm); in broadcastKey_unload()
[all …]
DunicastKeySM.c81 unicastKey_t* unicastKey_create(TI_HANDLE hOs) in unicastKey_create() argument
87 pUnicastKey = (unicastKey_t*)os_memoryAlloc(hOs, sizeof(unicastKey_t)); in unicastKey_create()
93 os_memoryZero(hOs, pUnicastKey, sizeof(unicastKey_t)); in unicastKey_create()
96 …status = fsm_Create(hOs, &pUnicastKey->pUcastKeySm, UCAST_KEY_MAX_NUM_STATES, UCAST_KEY_MAX_NUM_EV… in unicastKey_create()
99 os_memoryFree(hOs, pUnicastKey, sizeof(unicastKey_t)); in unicastKey_create()
103 pUnicastKey->pKeyDerive = keyDerive_create(hOs); in unicastKey_create()
106 fsm_Unload(hOs, pUnicastKey->pUcastKeySm); in unicastKey_create()
107 os_memoryFree(hOs, pUnicastKey, sizeof(unicastKey_t)); in unicastKey_create()
111 pUnicastKey->hOs = hOs; in unicastKey_create()
145 status = fsm_Unload(pUnicastKey->hOs, pUnicastKey->pUcastKeySm); in unicastKey_unload()
[all …]
DmainSecSm.c108 mainSec_t* mainSec_create(TI_HANDLE hOs) in mainSec_create() argument
114 pHandle = (mainSec_t*)os_memoryAlloc(hOs, sizeof(mainSec_t)); in mainSec_create()
120 os_memoryZero(hOs, pHandle, sizeof(mainSec_t)); in mainSec_create()
123 … status = fsm_Create(hOs, &pHandle->pMainSecSm, MAIN_SEC_MAX_NUM_STATES, MAIN_SEC_MAX_NUM_EVENTS); in mainSec_create()
126 os_memoryFree(hOs, pHandle, sizeof(mainSec_t)); in mainSec_create()
130 pHandle->pMainKeys = mainKeys_create(hOs); in mainSec_create()
133 fsm_Unload(hOs, pHandle->pMainSecSm); in mainSec_create()
134 os_memoryFree(hOs, pHandle, sizeof(mainSec_t)); in mainSec_create()
139 pHandle->hOs = hOs; in mainSec_create()
142 pHandle->pExternalSec = externalSec_create(hOs); in mainSec_create()
[all …]
DkeyDerive.c78 keyDerive_t* keyDerive_create(TI_HANDLE hOs) in keyDerive_create() argument
83 pKeyDerive = (keyDerive_t*)os_memoryAlloc(hOs, sizeof(keyDerive_t)); in keyDerive_create()
89 os_memoryZero(hOs, pKeyDerive, sizeof(keyDerive_t)); in keyDerive_create()
91 pKeyDerive->hOs = hOs; in keyDerive_create()
117 os_memoryFree(pKeyDerive->hOs, pKeyDerive, sizeof(keyDerive_t)); in keyDerive_unload()
144 TI_HANDLE hOs) in keyDerive_config() argument
150 pKeyDerive->hOs = hOs; in keyDerive_config()
DkeyParser.c76 keyParser_t* keyParser_create(TI_HANDLE hOs) in keyParser_create() argument
81 pKeyParser = (keyParser_t*)os_memoryCAlloc(hOs, 1, sizeof(keyParser_t)); in keyParser_create()
87 pKeyParser->hOs = hOs; in keyParser_create()
113 os_memoryFree(pKeyParser->hOs, pKeyParser, sizeof(keyParser_t)); in keyParser_unload()
142 TI_HANDLE hOs, in keyParser_config() argument
152 pKeyParser->hOs = hOs; in keyParser_config()
DkeyDeriveTkip.c129 …os_memoryCopy(pKeyDerive->hOs, (void *)key.encKey, (void *)keyMaterialTkip->encKey, KEY_DERIVE_TKI… in keyDeriveTkip_derive()
132 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micTxKey, (void *)keyMaterialTkip->micRxKey, KEY_DERIVE… in keyDeriveTkip_derive()
134 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micRxKey, (void *)keyMaterialTkip->micTxKey, KEY_DERIVE… in keyDeriveTkip_derive()
138 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micRxKey, (void *)keyMaterialTkip->micRxKey, KEY_DERIVE… in keyDeriveTkip_derive()
140 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micTxKey, (void *)keyMaterialTkip->micTxKey, KEY_DERIVE… in keyDeriveTkip_derive()
146 … os_memoryCopy(pKeyDerive->hOs, (void *)key.keyRsc, (void *)keyMaterialTkip->keyRSC, KEY_RSC_LEN); in keyDeriveTkip_derive()
152 os_memoryCopy(pKeyDerive->hOs, &pKeyDerive->key, pEncodedKey, sizeof(encodedKeyMaterial_t)); in keyDeriveTkip_derive()
181 os_memoryZero(pKeyDerive->hOs, &key, sizeof(TSecurityKeys)); in keyDeriveTkip_remove()
190 os_memoryZero(pKeyDerive->hOs, &pKeyDerive->key, sizeof(encodedKeyMaterial_t)); in keyDeriveTkip_remove()
DmainKeysSm.c87 mainKeys_t* mainKeys_create(TI_HANDLE hOs) in mainKeys_create() argument
93 pHandle = (mainKeys_t*)os_memoryAlloc(hOs, sizeof(mainKeys_t)); in mainKeys_create()
99 os_memoryZero(hOs, pHandle, sizeof(mainKeys_t)); in mainKeys_create()
102 status = fsm_Create(hOs, &pHandle->pMainKeysSm, MAIN_KEYS_NUM_STATES, MAIN_KEYS_NUM_EVENTS); in mainKeys_create()
105 os_memoryFree(hOs, pHandle, sizeof(mainKeys_t)); in mainKeys_create()
109 pHandle->pKeyParser = keyParser_create(hOs); in mainKeys_create()
112 fsm_Unload(hOs, pHandle->pMainKeysSm); in mainKeys_create()
113 os_memoryFree(hOs, pHandle, sizeof(mainKeys_t)); in mainKeys_create()
117 pHandle->pBcastSm = broadcastKey_create(hOs); in mainKeys_create()
121 fsm_Unload(hOs, pHandle->pMainKeysSm); in mainKeys_create()
[all …]
DexternalSec.c101 pExtSec->hOs = pMainSec->hOs; in externalSec_config()
112 NULL, pExtSec->hOs); in externalSec_config()
135 struct externalSec_t* externalSec_create(TI_HANDLE hOs) in externalSec_create() argument
141 pHandle = (struct externalSec_t*)os_memoryAlloc(hOs, sizeof(struct externalSec_t)); in externalSec_create()
147 os_memoryZero(hOs, pHandle, sizeof(struct externalSec_t)); in externalSec_create()
150 …status = fsm_Create(hOs,&pHandle->pExternalSecSm, EXTERNAL_SEC_NUM_STATES, EXTERNAL_SEC_NUM_EVENTS… in externalSec_create()
154 os_memoryFree(hOs, pHandle, sizeof(struct externalSec_t)); in externalSec_create()
185 status = fsm_Unload(pExternalSec->hOs, pExternalSec->pExternalSecSm); in externalSec_Destroy()
192 os_memoryFree(pExternalSec->hOs, pExternalSec, sizeof(struct externalSec_t)); in externalSec_Destroy()
DkeyDeriveAes.c126 os_memoryZero(pKeyDerive->hOs, &key, sizeof(TSecurityKeys)); in keyDeriveAes_derive()
131 os_memoryCopy(pKeyDerive->hOs, (void *)key.encKey, pEncodedKey->pData + MAC_ADDR_LEN+KEY_RSC_LEN, in keyDeriveAes_derive()
137 os_memoryCopy(pKeyDerive->hOs, (void *)key.keyRsc, (void *)keyMaterialAes->keyRSC, KEY_RSC_LEN); in keyDeriveAes_derive()
142 os_memoryCopy(pKeyDerive->hOs, &pKeyDerive->key, pEncodedKey, sizeof(encodedKeyMaterial_t)); in keyDeriveAes_derive()
176 os_memoryZero(pKeyDerive->hOs, &key, sizeof(TSecurityKeys)); in keyDeriveAes_remove()
185 os_memoryZero(pKeyDerive->hOs, &pKeyDerive->key, sizeof(encodedKeyMaterial_t)); in keyDeriveAes_remove()
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/
DCmdHndlr.c59 TI_HANDLE hOs; member
71 extern void wlanDrvIf_CommandDone (TI_HANDLE hOs, void *pSignalObject, TI_UINT8 *CmdResp_p);
84 TI_HANDLE cmdHndlr_Create (TI_HANDLE hOs, TI_HANDLE hEvHandler) in cmdHndlr_Create() argument
86 TCmdHndlrObj *pCmdHndlr = (TCmdHndlrObj *) os_memoryAlloc (hOs, sizeof(TCmdHndlrObj)); in cmdHndlr_Create()
93 os_memoryZero (hOs, (void *)pCmdHndlr, sizeof(TCmdHndlrObj)); in cmdHndlr_Create()
95 pCmdHndlr->hOs = hOs; in cmdHndlr_Create()
97 pCmdHndlr->hCmdInterpret = cmdInterpret_Create (hOs); in cmdHndlr_Create()
136 os_memoryFree (pCmdHndlr->hOs, hCmdHndlr, sizeof(TCmdHndlrObj)); in cmdHndlr_Destroy()
165 os_SignalObjectSet (pCmdHndlr->hOs, pCurrCmd->pSignalObject); in cmdHndlr_ClearQueue()
197 …pCmdHndlr->hCmdQueue = que_Create (pCmdHndlr->hOs, pCmdHndlr->hReport, COMMANDS_QUE_SIZE, uNodeHea… in cmdHndlr_Init()
[all …]
DDrvMain.c176 extern int wlanDrvIf_GetFile (TI_HANDLE hOs, TFileInfo *pFileInfo);
188 extern void wlanDrvIf_UpdateDriverState (TI_HANDLE hOs, EDriverSteadyState eDriverState);
200 extern void wlanDrvIf_SetMacAddress (TI_HANDLE hOs, TI_UINT8 *pMacAddr);
214 extern int osInitTable_IniFile (TI_HANDLE hOs, TInitTable *InitTable, char *file_buf, int file_len…
238 TI_STATUS drvMain_Create (TI_HANDLE hOs, in drvMain_Create() argument
251 TDrvMain *pDrvMain = (TDrvMain *) os_memoryAlloc (hOs, sizeof(TDrvMain)); in drvMain_Create()
258 os_memoryZero (hOs, (void *)pDrvMain, sizeof(TDrvMain)); in drvMain_Create()
261 pDrvMain->tStadHandles.hOs = hOs; in drvMain_Create()
268 pDrvMain->tStadHandles.hContext = context_Create (hOs); in drvMain_Create()
275 pDrvMain->tStadHandles.hTimer = tmr_Create (hOs); in drvMain_Create()
[all …]
DEvHandler.c52 TI_HANDLE EvHandler_Create (TI_HANDLE hOs) in EvHandler_Create() argument
57 pEvHandler = os_memoryAlloc(hOs,sizeof(TEvHandlerObj)); in EvHandler_Create()
65 os_memoryZero(hOs,pEvHandler,sizeof(TEvHandlerObj)); in EvHandler_Create()
72 pEvHandler->hOs = hOs; in EvHandler_Create()
87 os_memoryFree(pEvHandler->hOs,pEvHandler,sizeof(TEvHandlerObj)); in EvHandlerUnload()
147 …os_memoryCopy(pEvHandler->hOs,(TI_UINT8*)&pEvHandler->RegistrationArray[pEvParams->uEventType][Mod… in EvHandlerRegisterEvent()
251 os_memoryCopy(pEvHandler->hOs,(TI_UINT8*)&pNewEvent->EvParams, in EvHandlerSendEvent()
255 … os_memoryZero(pEvHandler->hOs,(TI_UINT8*)pNewEvent->uBuffer, sizeof(pNewEvent->uBuffer)); in EvHandlerSendEvent()
257 os_memoryCopy(pEvHandler->hOs, in EvHandlerSendEvent()
269 IPC_EventSend (pEvHandler->hOs,(TI_UINT8*)pNewEvent,sizeof(IPC_EV_DATA)); in EvHandlerSendEvent()
[all …]
/hardware/ti/wlan/wl1271/Test/
Dfwdriverdebug.c84 void sendMgmtPacket (TI_HANDLE hOs);
85 void sendDataPacket (TI_HANDLE hOs);
88 TI_HANDLE hOs, in FWDebugFunction() argument
113 FW_DebugSendPacket(hDrvMain, hOs, hTxMgmtQ, pParam); in FWDebugFunction()
117 FW_DebugSendPacket(hDrvMain, hOs, hTxMgmtQ, pParam); in FWDebugFunction()
159 os_memoryCopy(pTWD->hOs, Cfg.buf,(unsigned long*)pParam + sizeof(TI_UINT8),Len * 4 ); in FW_debugSendGeneralTestCmd()
179 os_memoryCopy(pTWD->hOs,ssid,"ronit",5); in FW_DebugSendJoinCommand()
220 void sendDataPacket (TI_HANDLE hOs) in sendDataPacket() argument
231 pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs (hOs); in sendDataPacket()
243 os_memoryCopy (hOs, pPktBuf + 2, &tEthHeader, ETHERNET_HDR_LEN); in sendDataPacket()
[all …]
/hardware/ti/wlan/wl1271/stad/src/Data_link/
DGeneralUtil.c67 TI_HANDLE List_create(TI_HANDLE hOs,int MaxNumOfElements,int ContainerSize) in List_create() argument
72 if( hOs == NULL ) in List_create()
79 List = (List_t*)os_memoryAlloc(hOs, sizeof(List_t)); in List_create()
85 … List->ElementList =(ListElement_t*)os_memoryAlloc(hOs, (sizeof(ListElement_t)*MaxNumOfElements)); in List_create()
88 os_memoryFree(List->hOs, List, sizeof(List_t)); in List_create()
95 List->ElementList[index].Container = os_memoryAlloc(hOs,ContainerSize); in List_create()
104 os_memoryFree(hOs,List->ElementList[index].Container,ContainerSize); in List_create()
105 os_memoryFree(List->hOs, List->ElementList, (sizeof(ListElement_t)*MaxNumOfElements)); in List_create()
106 os_memoryFree(List->hOs,List,(sizeof(List_t))); in List_create()
139 os_memoryFree(List->hOs,List->ElementList[index].Container,List->ContainerSize); in List_Destroy()
[all …]
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/
DfwDebug.c55 TI_HANDLE hOs; member
86 TI_HANDLE fwDbg_Create (TI_HANDLE hOs) in fwDbg_Create() argument
88 TFwDebug *pFwDebug = (TFwDebug *)os_memoryAlloc(hOs,sizeof(TFwDebug)); in fwDbg_Create()
97 os_memoryZero (hOs, pFwDebug, sizeof (TFwDebug)); in fwDbg_Create()
98 pFwDebug->hOs = hOs; in fwDbg_Create()
126 pFwDebug->pDMABuf = (TI_UINT8*)os_memoryAlloc(pFwDebug->hOs,DMA_SIZE_BUF); in fwDbg_Init()
149 os_memoryFree(pFwDebug->hOs,pFwDebug->pDMABuf,DMA_SIZE_BUF); in fwDbg_Destroy()
151 os_memoryFree(pFwDebug->hOs,pFwDebug,sizeof(pFwDebug)); in fwDbg_Destroy()
189 TRACE1(pFwDebug->hOs, REPORT_SEVERITY_ERROR, "fwDbg_WriteAddr : Buffer Length too large -- %d",Leng… in fwDbg_WriteAddr()
196 os_memoryCopy(pFwDebug->hOs,pFwDebug->pDMABuf,Buffer,Length); in fwDbg_WriteAddr()
[all …]
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
DCmdInterpretWext.c93 TI_HANDLE cmdInterpret_Create (TI_HANDLE hOs) in cmdInterpret_Create() argument
98 pCmdInterpret = os_memoryAlloc (hOs, sizeof(cmdInterpret_t)); in cmdInterpret_Create()
108 os_memoryZero (hOs, pCmdInterpret, sizeof (cmdInterpret_t)); in cmdInterpret_Create()
111 pCmdInterpret->hOs = hOs; in cmdInterpret_Create()
127 os_memoryFree (pCmdInterpret->hOs, pCmdInterpret, sizeof(cmdInterpret_t)); in cmdInterpret_Destroy()
157 pParam = (paramInfo_t *)os_memoryAlloc(pCmdInterpret->hOs, sizeof(paramInfo_t)); in cmdInterpret_convertAndExecute()
166 os_memoryCopy(pCmdInterpret->hOs, cmdObj->buffer1, WLAN_PROTOCOL_NAME, IFNAMSIZ); in cmdInterpret_convertAndExecute()
344 os_memorySet(pCmdInterpret->hOs, range, 0, sizeof(struct iw_range)); in cmdInterpret_convertAndExecute()
374 pParam2 = (paramInfo_t *)os_memoryAlloc(pCmdInterpret->hOs, sizeof(paramInfo_t)); in cmdInterpret_convertAndExecute()
382 os_memoryFree(pCmdInterpret->hOs, pParam2, sizeof(paramInfo_t)); in cmdInterpret_convertAndExecute()
[all …]
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
DStaCap.c61 TI_HANDLE StaCap_Create (TI_HANDLE hOs) in StaCap_Create() argument
66 hStaCap = os_memoryAlloc (hOs, sizeof(TStaCap)); in StaCap_Create()
74 os_memoryZero (hOs, hStaCap, (sizeof(TStaCap))); in StaCap_Create()
95 os_memoryFree (pStaCap->hOs, pStaCap, sizeof(TStaCap)); in StaCap_Destroy()
116 pStaCap->hOs = pStadHandles->hOs; in StaCap_Init()
221 …os_memoryCopy (pStaCap->hOs, tHtCapabilities.tSuppMcsSet.aRxMscBitmask, pTwdHtCapabilities->aRxMCS… in StaCap_GetHtCapabilitiesIe()
226 …if( 0 == os_memoryCompare(pStaCap->hOs, pTwdHtCapabilities->aRxMCS, pTwdHtCapabilities->aTxMCS, RX… in StaCap_GetHtCapabilitiesIe()
278 …os_memoryCopy (pStaCap->hOs, pDataBuf + 5, tHtCapabilities.tSuppMcsSet.aRxMscBitmask, RX_TX_MCS_BI… in StaCap_GetHtCapabilitiesIe()
282 os_memoryZero (pStaCap->hOs, (pDataBuf + 18), 3); in StaCap_GetHtCapabilitiesIe()
DauthSm.c107 TI_HANDLE auth_create(TI_HANDLE hOs) in auth_create() argument
113 pHandle = (auth_t*)os_memoryAlloc(hOs, sizeof(auth_t)); in auth_create()
119 os_memoryZero(hOs, pHandle, sizeof(auth_t)); in auth_create()
121 pHandle->hOs = hOs; in auth_create()
124 status = fsm_Create(hOs, &pHandle->pAuthSm, AUTH_SM_MAX_NUM_STATES, AUTH_SM_MAX_NUM_EVENTS); in auth_create()
127 os_memoryFree(hOs, pHandle, sizeof(auth_t)); in auth_create()
160 status = fsm_Unload(pHandle->hOs, pHandle->pAuthSm); in auth_unload()
172 os_memoryFree(pHandle->hOs, pHandle, sizeof(auth_t)); in auth_unload()
202 pHandle->hOs = pStadHandles->hOs; in auth_init()
472 openAuth_Config(hAuth, pHandle->hOs); in auth_setParam()
[all …]

12345678