Home
last modified time | relevance | path

Searched refs:pTWD (Results 1 – 10 of 10) sorted by relevance

/hardware/ti/wlan/wl1271/TWD/TWDriver/
DTWDriver.c72 TTwd *pTWD; in TWD_Create() local
75 pTWD = (TTwd *)os_memoryAlloc (hOs, sizeof(TTwd)); in TWD_Create()
76 if (pTWD == NULL) in TWD_Create()
81 os_memoryZero (hOs, pTWD, sizeof(TTwd)); in TWD_Create()
83 pTWD->hOs = hOs; in TWD_Create()
86 pTWD->hTwIf = twIf_Create (hOs); in TWD_Create()
87 if (pTWD->hTwIf == NULL) in TWD_Create()
89 TRACE0(pTWD->hReport, REPORT_SEVERITY_CONSOLE,"twIf_Create failed\n"); in TWD_Create()
91 TWD_Destroy ((TI_HANDLE)pTWD); in TWD_Create()
96 pTWD->hCmdBld = cmdBld_Create (hOs); in TWD_Create()
[all …]
DTWDriverCtrl.c58 TTwd *pTWD = (TTwd *)hTWD; in TWD_SetParam() local
59 TWlanParams *pWlanParams = &DB_WLAN(pTWD->hCmdBld); in TWD_SetParam()
61 …TRACE1(pTWD->hReport, REPORT_SEVERITY_INFORMATION , "TWD_SetParam: paramType=0x%X\n", pParamInfo->… in TWD_SetParam()
69 …TRACE1(pTWD->hReport, REPORT_SEVERITY_ERROR, "TWD########TWD_RTS_THRESHOLD_PARAM: Value out of per… in TWD_SetParam()
73 …if (cmdBld_CfgRtsThreshold (pTWD->hCmdBld, pParamInfo->content.halCtrlRtsThreshold, NULL, NULL) ==… in TWD_SetParam()
75 …TRACE1(pTWD->hReport, REPORT_SEVERITY_INFORMATION, "TWD########TWD_RTS_THRESHOLD_PARAM 0x%x\n", pP… in TWD_SetParam()
81 … return cmdBld_CfgCtsProtection (pTWD->hCmdBld, pParamInfo->content.halCtrlCtsToSelf, NULL, NULL); in TWD_SetParam()
84 …if (cmdBld_CfgServicePeriodTimeout (pTWD->hCmdBld, &pParamInfo->content.halCtrlRxTimeOut, NULL, NU… in TWD_SetParam()
96 … cmdBld_CfgFragmentThreshold (pTWD->hCmdBld, pParamInfo->content.halCtrlFragThreshold, NULL, NULL); in TWD_SetParam()
100 …cmdBld_CfgRxMsduLifeTime (pTWD->hCmdBld, pParamInfo->content.halCtrlMaxRxMsduLifetime, NULL, NULL); in TWD_SetParam()
[all …]
DTWDriverRadio.c66 TTwd *pTWD = (TTwd *)hTWD; in TWDriverTestCB() local
68 if (pTWD->pRadioCb != NULL) in TWDriverTestCB()
70 os_memoryCopy(NULL, pTWD->pRadioCb, &pTWD->testCmd.testCmd_u, sizeof(pTWD->testCmd.testCmd_u)); in TWDriverTestCB()
73 if (pTWD->fRadioCb != NULL) in TWDriverTestCB()
75 pTWD->fRadioCb(pTWD->hRadioCb, eStatus, pTWD->pRadioCb); in TWDriverTestCB()
88 TTwd *pTWD = (TTwd *)hTWD; in TWDriverTest() local
99 pTWD->testCmd.testCmdId = eTestCmd; in TWDriverTest()
103 os_memoryCopy(NULL, &pTWD->testCmd.testCmd_u, pTestCmdParams, sizeof(pTWD->testCmd.testCmd_u)); in TWDriverTest()
106 pTWD->fRadioCb = fCb; in TWDriverTest()
107 pTWD->pRadioCb = pTestCmdParams; in TWDriverTest()
[all …]
DTWDriverTx.c65 TTwd *pTWD = (TTwd *)hTWD; in TWD_txCtrlBlk_Alloc() local
67 return txCtrlBlk_Alloc (pTWD->hTxCtrlBlk); in TWD_txCtrlBlk_Alloc()
72 TTwd *pTWD = (TTwd *)hTWD; in TWD_txCtrlBlk_Free() local
74 txCtrlBlk_Free (pTWD->hTxCtrlBlk, pCurrentEntry); in TWD_txCtrlBlk_Free()
79 TTwd *pTWD = (TTwd *)hTWD; in TWD_txCtrlBlk_GetPointer() local
81 return txCtrlBlk_GetPointer (pTWD->hTxCtrlBlk, descId); in TWD_txCtrlBlk_GetPointer()
91 TTwd *pTWD = (TTwd *)hTWD; in TWD_txHwQueue_AllocResources() local
93 return txHwQueue_AllocResources (pTWD->hTxHwQueue, pTxCtrlBlk); in TWD_txHwQueue_AllocResources()
102 TTwd *pTWD = (TTwd *)hTWD; in TWD_txXfer_SendPacket() local
104 return txXfer_SendPacket (pTWD->hTxXfer, pPktCtrlBlk); in TWD_txXfer_SendPacket()
[all …]
/hardware/ti/wlan/wl1271/Test/
Dfwdriverdebug.c154 TTwd *pTWD = (TTwd *)hTWD; in FW_debugSendGeneralTestCmd() local
159 os_memoryCopy(pTWD->hOs, Cfg.buf,(unsigned long*)pParam + sizeof(TI_UINT8),Len * 4 ); in FW_debugSendGeneralTestCmd()
167 … cmdQueue_SendCommand (pTWD->hCmdQueue, CMD_CONFIGURE, (void*)&Cfg, sizeof(Cfg), NULL, NULL, NULL); in FW_debugSendGeneralTestCmd()
172 TTwd *pTWD = (TTwd *)hTWD; in FW_DebugSendJoinCommand() local
173 TCmdBld *pCmdBld = (TCmdBld *)(pTWD->hCmdBld); in FW_DebugSendJoinCommand()
179 os_memoryCopy(pTWD->hOs,ssid,"ronit",5); in FW_DebugSendJoinCommand()
192 pCmdBld->hReport = pTWD->hReport; in FW_DebugSendJoinCommand()
329 TTwd *pTWD = (TTwd *)hTWD; in FW_DebugStartLoopBack() local
334 cmdQueue_SendCommand (pTWD->hCmdQueue, CMD_TEST, (char*)&Plt, sizeof(Plt), NULL, NULL, NULL); in FW_DebugStartLoopBack()
340 TTwd *pTWD = (TTwd *)hTWD; in FW_DebugStopLoopBack() local
[all …]
DTWD_Debug.c132 TTwd *pTWD = (TTwd *)hTWD; in TWD_PrintMemRegsCB() local
143 result = (((TI_UINT32)pTWD->tPrintRegsBuf.addr) & 0xFFFF0000); in TWD_PrintMemRegsCB()
149 ((TI_UINT32)pTWD->tPrintRegsBuf.addr)&0xFFFF, in TWD_PrintMemRegsCB()
150 *(TI_UINT32*)(pTWD->tPrintRegsBuf.value))); in TWD_PrintMemRegsCB()
155 ((TI_UINT32)pTWD->tPrintRegsBuf.addr)&0xFFFF, in TWD_PrintMemRegsCB()
156 *(TI_UINT32*)(pTWD->tPrintRegsBuf.value))); in TWD_PrintMemRegsCB()
160 for (i=0, pBuf = pTWD->tPrintRegsBuf.value; i < 256; i += 16, pBuf += 16) in TWD_PrintMemRegsCB()
163 pTWD->tPrintRegsBuf.addr+i, in TWD_PrintMemRegsCB()
174 TTwd *pTWD = (TTwd *)hTWD; in TWD_PrintMemRegs() local
178 os_memoryZero (pTWD->hOs, (void *)pCmd, sizeof (*pCmd)); in TWD_PrintMemRegs()
[all …]
DTwIfDebug.c66 TTwd *pTWD = (TTwd *)hTWD; in twifDebugFunction() local
67 TI_HANDLE hTwIf = pTWD->hTwIf; in twifDebugFunction()
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/
DFwEvent.c224 TTwd *pTWD = (TTwd *)hTWD; in fwEvent_Init() local
228 pFwEvent->hOs = pTWD->hOs; in fwEvent_Init()
229 pFwEvent->hReport = pTWD->hReport; in fwEvent_Init()
230 pFwEvent->hContext = pTWD->hContext; in fwEvent_Init()
231 pFwEvent->hTwIf = pTWD->hTwIf; in fwEvent_Init()
232 pFwEvent->hHealthMonitor = pTWD->hHealthMonitor; in fwEvent_Init()
233 pFwEvent->hEventMbox = pTWD->hEventMbox; in fwEvent_Init()
234 pFwEvent->hCmdMbox = pTWD->hCmdMbox; in fwEvent_Init()
235 pFwEvent->hRxXfer = pTWD->hRxXfer; in fwEvent_Init()
236 pFwEvent->hTxHwQueue = pTWD->hTxHwQueue; in fwEvent_Init()
[all …]
DHwInit.c602 TTwd *pTWD = (TTwd *)pHwInit->hTWD; in hwInit_Boot() local
603 TWlanParams *pWlanParams = &DB_WLAN(pTWD->hCmdBld); in hwInit_Boot()
649 TTwd *pTWD = (TTwd *) pHwInit->hTWD; in hwInit_BootSm() local
650 IniFileGeneralParam *pGenParams = &DB_GEN(pTWD->hCmdBld); in hwInit_BootSm()
1054 TTwd *pTWD = (TTwd *)pHwInit->hTWD; in hwInit_FinalizeDownloadSm() local
1198 status = cmdMbox_ConfigHw (pTWD->hCmdMbox, in hwInit_FinalizeDownloadSm()
1207 status = eventMbox_InitMboxAddr (pTWD->hEventMbox, in hwInit_FinalizeDownloadSm()
1222 fwEvent_SetInitMask (pTWD->hFwEvent); in hwInit_FinalizeDownloadSm()
1225 BUILD_HW_INIT_FW_STATIC_TXN(pHwInit, pTxn, cmdMbox_GetMboxAddress (pTWD->hCmdMbox), in hwInit_FinalizeDownloadSm()
1236 …cmdBld_FinalizeDownload (pTWD->hCmdBld, &pHwInit->tBootAttr, &(pHwInit->tFwStaticTxn.tFwStaticInfo… in hwInit_FinalizeDownloadSm()
[all …]
/hardware/ti/wlan/wl1271/TWD/Ctrl/
DCmdBldItr.c99 TTwd *pTWD = (TTwd *)hCmdBld; in cmdBld_ItrRateParams() local
101 return cmdBld_ItrIeRateParams (pTWD->hCmdBld, fCb, hCb, pCb); in cmdBld_ItrRateParams()
114 TTwd *pTWD = (TTwd *)hTWD; in cmdBld_ItrPowerConsumptionstat() local
116 return cmdBld_ItrIePowerConsumptionstat (pTWD->hCmdBld, fCb, hCb, pCb); in cmdBld_ItrPowerConsumptionstat()