/linux-2.6.39/drivers/staging/rt2860/sta/ |
D | rtmp_data.c | 1372 void STAFindCipherAlgorithm(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk) in STAFindCipherAlgorithm() argument 1380 pSrcBufVA = GET_OS_PKT_DATAPTR(pTxBlk->pPacket); in STAFindCipherAlgorithm() 1389 if (RTMP_GET_PACKET_EAPOL(pTxBlk->pPacket)) { in STAFindCipherAlgorithm() 1394 if (!(TX_BLK_TEST_FLAG(pTxBlk, fTX_bClearEAPFrame)) in STAFindCipherAlgorithm() 1430 pTxBlk->CipherAlg = CipherAlg; in STAFindCipherAlgorithm() 1431 pTxBlk->pKey = pKey; in STAFindCipherAlgorithm() 1434 void STABuildCommon802_11Header(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk) in STABuildCommon802_11Header() argument 1443 pTxBlk->MpduHeaderLen = sizeof(struct rt_header_802_11); in STABuildCommon802_11Header() 1446 (struct rt_header_802_11 *) & pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STABuildCommon802_11Header() 1453 ((TX_BLK_TEST_FLAG(pTxBlk, fTX_bWMM)) ? SUBTYPE_QDATA : in STABuildCommon802_11Header() [all …]
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | cmm_data_usb.c | 72 struct rt_tx_blk *pTxBlk, in RtmpUSB_WriteSubTxResource() argument 82 struct rt_tx_blk *pTxBlk, in RtmpUSB_WriteFragTxResource() argument 100 QueIdx = pTxBlk->QueIdx; in RtmpUSB_WriteFragTxResource() 121 pTxBlk->Priv = 0; in RtmpUSB_WriteFragTxResource() 128 RELEASE_NDIS_PACKET(pAd, pTxBlk->pPacket, in RtmpUSB_WriteFragTxResource() 138 fillOffset += pTxBlk->Priv; in RtmpUSB_WriteFragTxResource() 143 RELEASE_NDIS_PACKET(pAd, pTxBlk->pPacket, in RtmpUSB_WriteFragTxResource() 149 NdisZeroMemory((u8 *)(&pTxBlk->HeaderBuf[0]), TXINFO_SIZE); in RtmpUSB_WriteFragTxResource() 150 pTxInfo = (struct rt_txinfo *)(&pTxBlk->HeaderBuf[0]); in RtmpUSB_WriteFragTxResource() 151 pTxWI = (struct rt_txwi *) (&pTxBlk->HeaderBuf[TXINFO_SIZE]); in RtmpUSB_WriteFragTxResource() [all …]
|
D | cmm_data_pci.c | 36 struct rt_tx_blk *pTxBlk, in RtmpPCI_WriteTxResource() argument 50 pTxRing = &pAd->TxRing[pTxBlk->QueIdx]; in RtmpPCI_WriteTxResource() 51 TxIdx = pAd->TxRing[pTxBlk->QueIdx].TxCpuIdx; in RtmpPCI_WriteTxResource() 57 if (pTxBlk->TxFrameType == TX_AMSDU_FRAME) { in RtmpPCI_WriteTxResource() 60 pTxBlk->MpduHeaderLen - LENGTH_AMSDU_SUBFRAMEHEAD + in RtmpPCI_WriteTxResource() 61 pTxBlk->HdrPadLen + LENGTH_AMSDU_SUBFRAMEHEAD; in RtmpPCI_WriteTxResource() 64 hwHeaderLen = pTxBlk->MpduHeaderLen + pTxBlk->HdrPadLen; in RtmpPCI_WriteTxResource() 66 NdisMoveMemory(pDMAHeaderBufVA, pTxBlk->HeaderBuf, in RtmpPCI_WriteTxResource() 69 pTxRing->Cell[TxIdx].pNdisPacket = pTxBlk->pPacket; in RtmpPCI_WriteTxResource() 81 pTxD->SDPtr1 = PCI_MAP_SINGLE(pAd, pTxBlk, 0, 1, PCI_DMA_TODEVICE); in RtmpPCI_WriteTxResource() [all …]
|
D | cmm_data.c | 557 BOOLEAN RTMP_FillTxBlkInfo(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk) in RTMP_FillTxBlkInfo() argument 563 pPacket = pTxBlk->pPacket; in RTMP_FillTxBlkInfo() 564 RTMP_QueryPacketInfo(pPacket, &PacketInfo, &pTxBlk->pSrcBufHeader, in RTMP_FillTxBlkInfo() 565 &pTxBlk->SrcBufLen); in RTMP_FillTxBlkInfo() 567 pTxBlk->Wcid = RTMP_GET_PACKET_WCID(pPacket); in RTMP_FillTxBlkInfo() 568 pTxBlk->apidx = RTMP_GET_PACKET_IF(pPacket); in RTMP_FillTxBlkInfo() 569 pTxBlk->UserPriority = RTMP_GET_PACKET_UP(pPacket); in RTMP_FillTxBlkInfo() 570 pTxBlk->FrameGap = IFS_HTTXOP; /* ASIC determine Frame Gap */ in RTMP_FillTxBlkInfo() 572 if (RTMP_GET_PACKET_CLEAR_EAP_FRAME(pTxBlk->pPacket)) in RTMP_FillTxBlkInfo() 573 TX_BLK_SET_FLAG(pTxBlk, fTX_bClearEAPFrame); in RTMP_FillTxBlkInfo() [all …]
|
/linux-2.6.39/drivers/staging/rt2860/chip/ |
D | mac_usb.h | 243 #define RTMP_HAS_ENOUGH_FREE_DESC(pAd, pTxBlk, freeNum, pPacket) \ argument 244 …(RTUSBFreeDescriptorRequest(pAd, pTxBlk->QueIdx, (pTxBlk->TotalFrameLen + GET_OS_PKT_LEN(pPacket))… 253 #define HAL_WriteSubTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) \ argument 254 RtmpUSB_WriteSubTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) 256 #define HAL_WriteTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) \ argument 257 RtmpUSB_WriteSingleTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) 259 #define HAL_WriteFragTxResource(pAd, pTxBlk, fragNum, pFreeNumber) \ argument 260 RtmpUSB_WriteFragTxResource(pAd, pTxBlk, fragNum, pFreeNumber) 262 #define HAL_WriteMultiTxResource(pAd, pTxBlk, frameNum, pFreeNumber) \ argument 263 RtmpUSB_WriteMultiTxResource(pAd, pTxBlk, frameNum, pFreeNumber) [all …]
|
D | mac_pci.h | 174 #define RTMP_HAS_ENOUGH_FREE_DESC(pAd, pTxBlk, freeNum, pPacket) \ argument 175 …((freeNum) >= (unsigned long)(pTxBlk->TotalFragNum + RTMP_GET_PACKET_FRAGMENTS(pPacket) + 3)) /* r… 185 #define HAL_WriteSubTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) \ argument 188 #define HAL_WriteTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) \ argument 189 RtmpPCI_WriteSingleTxResource(pAd, pTxBlk, bIsLast, pFreeNumber) 191 #define HAL_WriteFragTxResource(pAd, pTxBlk, fragNum, pFreeNumber) \ argument 192 RtmpPCI_WriteFragTxResource(pAd, pTxBlk, fragNum, pFreeNumber) 194 #define HAL_WriteMultiTxResource(pAd, pTxBlk, frameNum, pFreeNumber) \ argument 195 RtmpPCI_WriteMultiTxResource(pAd, pTxBlk, frameNum, pFreeNumber)
|
/linux-2.6.39/drivers/staging/rt2860/ |
D | rt_pci_rbus.c | 818 struct rt_tx_blk *pTxBlk; in linux_pci_map_single() local 819 pTxBlk = (struct rt_tx_blk *)ptr; in linux_pci_map_single() 820 return pci_map_single(pObj->pci_dev, pTxBlk->pSrcBufData, in linux_pci_map_single() 821 pTxBlk->SrcBufLen, direction); in linux_pci_map_single()
|
D | rtmp.h | 2470 struct rt_tx_blk *pTxBlk, u8 QueIdx); 2510 struct rt_txwi *pTxWI, struct rt_tx_blk *pTxBlk); 2513 struct rt_txwi *pTxWI, struct rt_tx_blk *pTxBlk); 3607 BOOLEAN RTMP_FillTxBlkInfo(struct rt_rtmp_adapter *pAd, struct rt_tx_blk *pTxBlk); 3896 struct rt_tx_blk *pTxBlk, 3900 struct rt_tx_blk *pTxBlk, 3905 struct rt_tx_blk *pTxBlk, 3909 struct rt_tx_blk *pTxBlk, 3913 struct rt_tx_blk *pTxBlk, 3917 struct rt_tx_blk *pTxBlk, [all …]
|