/hardware/ti/wlan/wl1271/TWD/TWDriver/ |
H A D | TWDriverTx.c | 100 ETxnStatus TWD_txXfer_SendPacket (TI_HANDLE hTWD, TTxCtrlBlk *pPktCtrlBlk) argument 104 return txXfer_SendPacket (pTWD->hTxXfer, pPktCtrlBlk);
|
/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
H A D | mlmeBuilder.c | 84 TTxCtrlBlk *pPktCtrlBlk; local 90 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (pHandle->hTWD); 92 pPktCtrlBlk, 97 TWD_txCtrlBlk_Free (pHandle->hTWD, pPktCtrlBlk); 101 pDot11Header = (dot11_mgmtHeader_t *)(pPktCtrlBlk->aPktHdr); 106 txCtrl_FreePacket (pHandle->hTxCtrl, pPktCtrlBlk, TI_NOK); 113 txCtrl_FreePacket (pHandle->hTxCtrl, pPktCtrlBlk, TI_NOK); 123 txCtrl_FreePacket (pHandle->hTxCtrl, pPktCtrlBlk, TI_NOK); 139 pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs (pHandle->hOs); 140 pPktCtrlBlk [all...] |
H A D | trafficAdmControl.c | 104 TI_STATUS trafficAdmCtrl_buildFrameHeader(trafficAdmCtrl_t *pTrafficAdmCtrl, TTxCtrlBlk *pPktCtrlBlk); 778 TTxCtrlBlk *pPktCtrlBlk; local 788 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (pTrafficAdmCtrl->hTWD); 789 pPktBuffer = txCtrl_AllocPacketBuffer (pTrafficAdmCtrl->hTxCtrl, pPktCtrlBlk, 2000); 793 TWD_txCtrlBlk_Free (pTrafficAdmCtrl->hTWD, pPktCtrlBlk); 797 status = trafficAdmCtrl_buildFrameHeader (pTrafficAdmCtrl, pPktCtrlBlk); 800 TWD_txCtrlBlk_Free (pTrafficAdmCtrl->hTWD, pPktCtrlBlk); 856 pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs (pTrafficAdmCtrl->hOs); 857 pPktCtrlBlk->tTxPktParams.uPktType = TX_PKT_TYPE_MGMT; 858 BUILD_TX_TWO_BUF_PKT_BDL (pPktCtrlBlk, pPktCtrlBl 1034 trafficAdmCtrl_buildFrameHeader(trafficAdmCtrl_t *pTrafficAdmCtrl, TTxCtrlBlk *pPktCtrlBlk) argument 1098 TTxCtrlBlk *pPktCtrlBlk; local [all...] |
/hardware/ti/wlan/wl1271/stad/src/Data_link/ |
H A D | TxDataClsfr.c | 185 * \param pPktCtrlBlk - Pointer to the packet 192 TTxCtrlBlk *pPktCtrlBlk, 196 TI_UINT8 *pEthHead = pPktCtrlBlk->tTxnStruct.aBuf[0]; 207 *pIpHeader = pPktCtrlBlk->tTxnStruct.aBuf[1]; 211 if (ipHeaderLen == pPktCtrlBlk->tTxnStruct.aLen[1]) 213 *pUdpHeader = pPktCtrlBlk->tTxnStruct.aBuf[2]; 238 * \param pPktCtrlBlk - Pointer to the classified packet 243 TI_STATUS txDataClsfr_ClassifyTxPacket (TI_HANDLE hTxDataQ, TTxCtrlBlk *pPktCtrlBlk, TI_UINT8 uPacketDtag) argument 254 pPktCtrlBlk->tTxDescriptor.tid = 0; 265 pPktCtrlBlk 191 getIpAndUdpHeader(TTxDataQ *pTxDataQ, TTxCtrlBlk *pPktCtrlBlk, TI_UINT8 **pIpHeader, TI_UINT8 **pUdpHeader) argument [all...] |
H A D | txDataQueue.c | 280 TTxCtrlBlk *pPktCtrlBlk; local 288 pPktCtrlBlk = (TTxCtrlBlk *) que_Dequeue(pTxDataQ->aQueues[uQueId]); 290 if (pPktCtrlBlk != NULL) { 291 txCtrl_FreePacket (pTxDataQ->hTxCtrl, pPktCtrlBlk, TI_NOK); 293 } while (pPktCtrlBlk != NULL); 309 * \param pPktCtrlBlk - Pointer to the packet 314 TI_STATUS txDataQ_InsertPacket (TI_HANDLE hTxDataQ, TTxCtrlBlk *pPktCtrlBlk, TI_UINT8 uPacketDtag) argument 317 TEthernetHeader *pEthHead = (TEthernetHeader *)(pPktCtrlBlk->tTxnStruct.aBuf[0]); 330 pPktCtrlBlk->tTxPktParams.uPktType = TX_PKT_TYPE_EAPOL; 332 return txMgmtQ_Xmit (pTxDataQ->hTxMgmtQ, pPktCtrlBlk, TI_TRU 675 TTxCtrlBlk *pPktCtrlBlk; /* Pointer to the packet to be dequeued and sent */ local [all...] |
H A D | txCtrl.c | 73 static void txCtrl_BuildDataPkt (txCtrl_t *pTxCtrl, TTxCtrlBlk *pPktCtrlBlk, 75 static void txCtrl_BuildMgmtPkt (txCtrl_t *pTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 uAc); 81 TTxCtrlBlk *pPktCtrlBlk, 106 static inline TI_UINT16 txCtrl_TranslateLengthToFw (TTxCtrlBlk *pPktCtrlBlk) argument 108 TI_UINT16 uPktLen = pPktCtrlBlk->tTxDescriptor.length; 113 uLastWordPad = uPktLen - pPktCtrlBlk->tTxDescriptor.length; /* Find number of alignment bytes added */ 115 pPktCtrlBlk->tTxDescriptor.length = ENDIAN_HANDLE_WORD(uPktLen);/* Save FW format length in descriptor */ 120 if (pPktCtrlBlk->tTxnStruct.aLen[uBufNum] == 0) 126 pPktCtrlBlk->tTxnStruct.aLen[uBufNum - 1] += uLastWordPad; 132 static inline void txCtrl_TranslateTimeToFw (txCtrl_t *pTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT1 argument 330 txCtrl_XmitData(TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk) argument 428 txCtrl_XmitMgmt(TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk) argument 530 txCtrl_AllocPacketBuffer(TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 uPacketLen) argument 560 txCtrl_FreePacket(TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_STATUS eStatus) argument 607 TTxCtrlBlk *pPktCtrlBlk; local 673 txCtrl_BuildDataPktHdr(TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk, AckPolicy_e eAckPolicy) argument 839 txCtrl_BuildDataPkt(txCtrl_t *pTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 uAc, TI_UINT32 uBackpressure) argument 892 txCtrl_BuildMgmtPkt(txCtrl_t *pTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 uAc) argument 1166 txCtrl_UpdateTxCounters(txCtrl_t *pTxCtrl, TxResultDescriptor_t *pTxResultInfo, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 ac, TI_BOOL bIsDataPkt) argument 1315 TTxCtrlBlk *pPktCtrlBlk; local 1350 TTxCtrlBlk *pPktCtrlBlk; local [all...] |
H A D | txMgmtQueue.c | 307 TTxCtrlBlk *pPktCtrlBlk; local 315 pPktCtrlBlk = (TTxCtrlBlk *)que_Dequeue(pTxMgmtQ->aQueues[uQueId]); 317 if (pPktCtrlBlk != NULL) { 318 txCtrl_FreePacket (pTxMgmtQ->hTxCtrl, pPktCtrlBlk, TI_NOK); 320 } while (pPktCtrlBlk != NULL); 343 * \param pPktCtrlBlk - Pointer to the packet CtrlBlk 348 TI_STATUS txMgmtQ_Xmit (TI_HANDLE hTxMgmtQ, TTxCtrlBlk *pPktCtrlBlk, TI_BOOL bExternalContext) argument 356 pPktCtrlBlk->tTxDescriptor.tid = MGMT_QUEUES_TID; 359 uQueId = (pPktCtrlBlk->tTxPktParams.uPktType == TX_PKT_TYPE_MGMT) ? QUEUE_TYPE_MGMT : QUEUE_TYPE_EAPOL ; 365 eStatus = que_Enqueue (pTxMgmtQ->aQueues[uQueId], (TI_HANDLE)pPktCtrlBlk); 781 TTxCtrlBlk *pPktCtrlBlk; local [all...] |
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/ |
H A D | txXfer.c | 207 ETxnStatus txXfer_SendPacket (TI_HANDLE hTxXfer, TTxCtrlBlk *pPktCtrlBlk) argument 210 TI_UINT32 uPktLen = ENDIAN_HANDLE_WORD(pPktCtrlBlk->tTxDescriptor.length << 2); /* swap back for endianess if needed */ 218 pTxXfer->pAggregFirstPkt = pPktCtrlBlk; 219 pTxXfer->pAggregLastPkt = pPktCtrlBlk; 220 pPktCtrlBlk->pNextAggregEntry = pPktCtrlBlk; /* First packet points to itself */ 238 pTxXfer->pAggregLastPkt->pNextAggregEntry = pPktCtrlBlk; /* Link new packet to last */ 239 pTxXfer->pAggregLastPkt = pPktCtrlBlk; /* Save new packet as last */ 240 pPktCtrlBlk->pNextAggregEntry = pTxXfer->pAggregFirstPkt; /* Point from last to first */ 251 pTxXfer->pAggregFirstPkt = pPktCtrlBlk; [all...] |
/hardware/ti/wlan/wl1271/Test/ |
H A D | fwdriverdebug.c | 223 TTxCtrlBlk * pPktCtrlBlk; local 230 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (tmp_hTWD); 231 pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs (hOs); 232 pPktCtrlBlk->tTxDescriptor.length = (TI_UINT16)packetLength + ETHERNET_HDR_LEN; 233 pPktCtrlBlk->tTxDescriptor.tid = 0; 234 pPktCtrlBlk->tTxPktParams.uPktType = TX_PKT_TYPE_ETHER; 237 pPktBuf = txCtrl_AllocPacketBuffer (tmp_hTxCtrl, pPktCtrlBlk, packetLength + ETHERNET_HDR_LEN + 2); 246 BUILD_TX_TWO_BUF_PKT_BDL (pPktCtrlBlk, 259 txCtrl_XmitData (tmp_hTxCtrl, pPktCtrlBlk);
|
/hardware/ti/wlan/wl1271/platforms/os/linux/src/ |
H A D | WlanDrvIf.c | 136 TTxCtrlBlk * pPktCtrlBlk; local 146 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (drv->tCommon.hTWD); 148 pPktCtrlBlk->tTxDescriptor.startTime = os_timeStampMs(drv); /* remove use of skb->tstamp.off_usec */ 149 pPktCtrlBlk->tTxDescriptor.length = skb->len; 150 pPktCtrlBlk->tTxPktParams.pInputPkt = skb; 153 pPktCtrlBlk->tTxnStruct.aBuf[0] = skb->data; 154 pPktCtrlBlk->tTxnStruct.aLen[0] = ETHERNET_HDR_LEN; 155 pPktCtrlBlk->tTxnStruct.aBuf[1] = skb->data + ETHERNET_HDR_LEN; 156 pPktCtrlBlk->tTxnStruct.aLen[1] = (TI_UINT16)skb->len - ETHERNET_HDR_LEN; 157 pPktCtrlBlk 189 wlanDrvIf_FreeTxPacket(TI_HANDLE hOs, TTxCtrlBlk *pPktCtrlBlk, TI_STATUS eStatus) argument [all...] |