Searched refs:pPktCtrlBlk (Results 1 - 16 of 16) sorted by relevance

/hardware/ti/wlan/wl1271/stad/src/Sta_Management/
H A DmlmeBuilder.c84 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 DtrafficAdmControl.c104 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 DtxCtrl.c73 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 DtxCtrl_Api.h64 #define BUILD_TX_TWO_BUF_PKT_BDL(pPktCtrlBlk, pHdrBuf, uHdrLen, pDataBuf, uDataLen) \
65 pPktCtrlBlk->tTxnStruct.aBuf[0] = (TI_UINT8 *) (pHdrBuf); \
66 pPktCtrlBlk->tTxnStruct.aLen[0] = (TI_UINT16 ) (uHdrLen); \
67 pPktCtrlBlk->tTxnStruct.aBuf[1] = (TI_UINT8 *) (pDataBuf); \
68 pPktCtrlBlk->tTxnStruct.aLen[1] = (TI_UINT16 ) (uDataLen); \
69 pPktCtrlBlk->tTxnStruct.aLen[2] = 0; \
70 pPktCtrlBlk->tTxDescriptor.length = (TI_UINT16)((uHdrLen) + (uDataLen));
84 TI_STATUS txCtrl_XmitData (TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk);
85 TI_STATUS txCtrl_XmitMgmt (TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk);
87 void * txCtrl_AllocPacketBuffer (TI_HANDLE hTxCtrl, TTxCtrlBlk *pPktCtrlBlk, TI_UINT3
[all...]
H A DtxDataQueue.c280 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 DtxMgmtQueue.c307 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...]
H A DtxDataQueue_Api.h58 TI_STATUS txDataQ_InsertPacket (TI_HANDLE hTxDataQ, TTxCtrlBlk *pPktCtrlBlk, TI_UINT8 uPacketDtag);
75 TI_STATUS txDataClsfr_ClassifyTxPacket (TI_HANDLE hTxDataQ, TTxCtrlBlk *pPktCtrlBlk, TI_UINT8 uPacketDtag);
H A DTxDataClsfr.c185 * \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 DtxMgmtQueue_Api.h67 TI_STATUS txMgmtQ_Xmit (TI_HANDLE hTxMgmtQ, TTxCtrlBlk *pPktCtrlBlk, TI_BOOL bExternalContext);
H A DtxCtrl.h49 extern void wlanDrvIf_FreeTxPacket (TI_HANDLE hOs, TTxCtrlBlk *pPktCtrlBlk, TI_STATUS eStatus);
/hardware/ti/wlan/wl1271/TWD/TWDriver/
H A DTWDriverTx.c100 ETxnStatus TWD_txXfer_SendPacket (TI_HANDLE hTWD, TTxCtrlBlk *pPktCtrlBlk) argument
104 return txXfer_SendPacket (pTWD->hTxXfer, pPktCtrlBlk);
H A DTWDriver.h2784 * \param pPktCtrlBlk - Pointer to Input Packet Control Block
2793 typedef void (* TSendPacketTranferCb)(TI_HANDLE CBObj, TTxCtrlBlk *pPktCtrlBlk);
2798 * \param pPktCtrlBlk - Pointer to Input Packet Control Block
2807 typedef void (* TSendPacketDebugCb) (TI_HANDLE CBObj, TTxCtrlBlk *pPktCtrlBlk, TI_UINT32 uDebugInfo);
2812 * \param pPktCtrlBlk - Pointer to Input Packet Control Block
4609 * \param pPktCtrlBlk - Pointer to TX Control Block Entry to Free
4617 ETxnStatus TWD_txXfer_SendPacket (TI_HANDLE hTWD, TTxCtrlBlk *pPktCtrlBlk);
/hardware/ti/wlan/wl1271/TWD/FW_Transfer/
H A DtxXfer.c207 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/TWD/FW_Transfer/Export_Inc/
H A DtxXfer_api.h171 * \param pPktCtrlBlk - The new packet to send
175 ETxnStatus txXfer_SendPacket (TI_HANDLE hTxXfer, TTxCtrlBlk *pPktCtrlBlk);
/hardware/ti/wlan/wl1271/Test/
H A Dfwdriverdebug.c223 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 DWlanDrvIf.c136 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...]

Completed in 143 milliseconds