Home
last modified time | relevance | path

Searched refs:TXWI_SIZE (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/rt2870/common/
Dcmm_data_2870.c167 DMAHdrLen = TXWI_SIZE + hwHdrLen; in RtmpUSB_WriteFragTxResource()
191 NdisMoveMemory(pWirelessPacket, pTxBlk->HeaderBuf, TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteFragTxResource()
193 RTMPFrameEndianChange(pAd, (PUCHAR)(pWirelessPacket + TXINFO_SIZE + TXWI_SIZE), DIR_WRITE, FALSE); in RtmpUSB_WriteFragTxResource()
195 pWirelessPacket += (TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteFragTxResource()
196 pHTTXContext->CurWriteRealPos += (TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteFragTxResource()
290 DMAHdrLen = TXWI_SIZE + hwHdrLen; in RtmpUSB_WriteSingleTxResource()
305 NdisMoveMemory(pWirelessPacket, pTxBlk->HeaderBuf, TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteSingleTxResource()
307 RTMPFrameEndianChange(pAd, (PUCHAR)(pWirelessPacket + TXINFO_SIZE + TXWI_SIZE), DIR_WRITE, FALSE); in RtmpUSB_WriteSingleTxResource()
309 pWirelessPacket += (TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteSingleTxResource()
321 pHTTXContext->CurWriteRealPos += (TXINFO_SIZE + TXWI_SIZE + hwHdrLen); in RtmpUSB_WriteSingleTxResource()
[all …]
Dcmm_data.c110 UCHAR rtmpHwHdr[TXINFO_SIZE + TXWI_SIZE]; //RTMP_HW_HDR_LEN]; in MiniportMMRequest()
147 NdisZeroMemory(&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE)); in MiniportMMRequest()
148 …Status = RTMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE), pDat… in MiniportMMRequest()
263 pHeader_802_11 = (PHEADER_802_11) (pSrcBufVA + TXINFO_SIZE + TXWI_SIZE); //TXWI_SIZE); in MlmeHardTransmitMgmtRing()
390 …0, RESERVED_WCID, (SrcBufLen - TXINFO_SIZE - TXWI_SIZE), PID_MGMT, 0, (UCHAR)pAd->CommonCfg.MlmeT… in MlmeHardTransmitMgmtRing()
396 0, pMacEntry->Aid, (SrcBufLen - TXINFO_SIZE - TXWI_SIZE), in MlmeHardTransmitMgmtRing()
1076 NdisZeroMemory(&TxWI, TXWI_SIZE); in RTMPWriteTxWI()
1174 NdisZeroMemory(pTxWI, TXWI_SIZE); in RTMPWriteTxWI_Data()
Dmlme.c6757 for (i=0; i<TXWI_SIZE; i+=2) // 16-byte TXWI field in AsicEnableIbssSync()
6771 RTUSBMultiWrite(pAd, HW_BEACON_BASE0 + TXWI_SIZE + i, ptr, 2); in AsicEnableIbssSync()
/drivers/staging/rt2870/
D2870_main_dev.c1397 for(i=0; i<TXWI_SIZE; i+=4) { in RT28xx_UpdateBeaconToAsic()
1401 NdisZeroMemory(pBeaconSync->BeaconTxWI[bcn_idx], TXWI_SIZE); in RT28xx_UpdateBeaconToAsic()
1409 if (NdisEqualMemory(pBeaconSync->BeaconTxWI[bcn_idx], &pAd->BeaconTxWI, TXWI_SIZE) == FALSE) in RT28xx_UpdateBeaconToAsic()
1412 NdisMoveMemory(pBeaconSync->BeaconTxWI[bcn_idx], &pAd->BeaconTxWI, TXWI_SIZE); in RT28xx_UpdateBeaconToAsic()
1417 for (i=0; i<TXWI_SIZE; i+=4) // 16-byte TXWI field in RT28xx_UpdateBeaconToAsic()
1436 RTUSBMultiWrite(pAd, pAd->BeaconOffset[bcn_idx] + TXWI_SIZE + i, ptr, 2); in RT28xx_UpdateBeaconToAsic()
1473 NdisZeroMemory(pBeaconSync->BeaconTxWI[i], TXWI_SIZE); in RT2870_BssBeaconStop()
1515 NdisZeroMemory(pBeaconSync->BeaconTxWI[apidx], TXWI_SIZE); in RT2870_BssBeaconStart()
1547 NdisZeroMemory(pBeaconSync->BeaconTxWI[i], TXWI_SIZE); in RT2870_BssBeaconInit()
1576 NdisZeroMemory(pBeaconSync->BeaconTxWI[i], TXWI_SIZE); in RT2870_BssBeaconExit()
Drt_ate.c3555 …ATEWriteTxInfo(pAd, pTxInfo, (USHORT)(TXWI_SIZE + pAd->ate.TxLength), TRUE, EpToQueue[MGMTPIPEIDX]… in ATESetUpFrame()
3584 …RTMPMoveMemory(&pAd->NullContext.TransferBuffer->field.WirelessPacket[TXINFO_SIZE+TXWI_SIZE], &pAd… in ATESetUpFrame()
3586 …pDest = &(pAd->NullContext.TransferBuffer->field.WirelessPacket[TXINFO_SIZE+TXWI_SIZE+sizeof(HEADE… in ATESetUpFrame()
3601 TransferBufferLength = TXINFO_SIZE + TXWI_SIZE + pAd->ate.TxWI.MPDUtotalByteCount; in ATESetUpFrame()
3611 TransferBufferLength = TXINFO_SIZE + TXWI_SIZE + pAd->ate.TxLength; in ATESetUpFrame()
3663 RTMPFrameEndianChange(pAd, (((PUCHAR)pTxInfo)+TXWI_SIZE+TXINFO_SIZE), DIR_WRITE, FALSE); in ATESetUpFrame()
Drtmp_def.h134 #define TXWI_SIZE 16 macro
Drt28xx.h1664 #define HW_BEACON_CONTENT_LEN (HW_BEACON_OFFSET - TXWI_SIZE)
Drtmp.h1661 UCHAR BeaconTxWI[HW_BEACON_MAX_COUNT][TXWI_SIZE];
3309 size = ((DescriptorType == TYPE_TXWI) ? TXWI_SIZE : RXWI_SIZE); in RTMPWIEndianChange()
/drivers/staging/rt2860/common/
Dcmm_data_2860.c69 NdisMoveMemory(pDMAHeaderBufVA, pTxBlk->HeaderBuf, TXINFO_SIZE + TXWI_SIZE + hwHeaderLen); in RtmpPCI_WriteTxResource()
82 pTxD->SDLen0 = TXINFO_SIZE + TXWI_SIZE + hwHeaderLen; // include padding in RtmpPCI_WriteTxResource()
132 NdisMoveMemory(pDMAHeaderBufVA, pTxBlk->HeaderBuf, TXINFO_SIZE + TXWI_SIZE + hwHeaderLen); in RtmpPCI_WriteSingleTxResource()
150 pTxD->SDLen0 = TXINFO_SIZE + TXWI_SIZE + hwHeaderLen; // include padding in RtmpPCI_WriteSingleTxResource()
159 RTMPFrameEndianChange(pAd, (PUCHAR)(pDMAHeaderBufVA + TXINFO_SIZE + TXWI_SIZE), DIR_WRITE, FALSE); in RtmpPCI_WriteSingleTxResource()
219 firstDMALen = TXINFO_SIZE + TXWI_SIZE + hwHdrLen; in RtmpPCI_WriteMultiTxResource()
254 RTMPFrameEndianChange(pAd, (PUCHAR)(pDMAHeaderBufVA+ TXINFO_SIZE + TXWI_SIZE), DIR_WRITE, FALSE); in RtmpPCI_WriteMultiTxResource()
369 firstDMALen = TXINFO_SIZE + TXWI_SIZE + hwHeaderLen; in RtmpPCI_WriteFragTxResource()
402 RTMPFrameEndianChange(pAd, (PUCHAR)(pDMAHeaderBufVA + TXINFO_SIZE + TXWI_SIZE), DIR_WRITE, FALSE); in RtmpPCI_WriteFragTxResource()
Dcmm_data.c112 UCHAR rtmpHwHdr[TXINFO_SIZE + TXWI_SIZE]; //RTMP_HW_HDR_LEN]; in MiniportMMRequest()
153 NdisZeroMemory(&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE)); in MiniportMMRequest()
154 …Status = RTMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&rtmpHwHdr, (TXINFO_SIZE + TXWI_SIZE), pDat… in MiniportMMRequest()
233 NdisZeroMemory(&TXWI, TXWI_SIZE); in MiniportMMRequestUnlock()
234 Status = RTMPAllocateNdisPacket(pAd, &pPacket, (PUCHAR)&TXWI, TXWI_SIZE, pData, Length); in MiniportMMRequestUnlock()
374 pHeader_802_11 = (PHEADER_802_11) (pSrcBufVA + TXWI_SIZE); in MlmeHardTransmitTxRing()
469 …0, RESERVED_WCID, (SrcBufLen - TXWI_SIZE), PID_MGMT, 0, (UCHAR)pAd->CommonCfg.MlmeTransmit.field.… in MlmeHardTransmitTxRing()
475 0, pMacEntry->Aid, (SrcBufLen - TXWI_SIZE), in MlmeHardTransmitTxRing()
549 pHeader_802_11 = (PHEADER_802_11) (pSrcBufVA + TXINFO_SIZE + TXWI_SIZE); //TXWI_SIZE); in MlmeHardTransmitMgmtRing()
671 …0, RESERVED_WCID, (SrcBufLen - TXINFO_SIZE - TXWI_SIZE), PID_MGMT, 0, (UCHAR)pAd->CommonCfg.MlmeT… in MlmeHardTransmitMgmtRing()
[all …]
Dmlme.c6716 for (i=0; i<TXWI_SIZE; i+=4) // 16-byte TXWI field in AsicEnableIbssSync()
6728 RTMP_IO_WRITE32(pAd, HW_BEACON_BASE0 + TXWI_SIZE + i, longptr); in AsicEnableIbssSync()
/drivers/staging/rt2860/
D2860_main_dev.c1213 for(i=0; i<TXWI_SIZE; i+=4) in RT28xx_UpdateBeaconToAsic()
1222 for (i=0; i<TXWI_SIZE; i+=4) // 16-byte TXWI field in RT28xx_UpdateBeaconToAsic()
1232 RTMP_IO_WRITE8(pAd, pAd->BeaconOffset[bcn_idx] + TXWI_SIZE + i, *ptr_capinfo); in RT28xx_UpdateBeaconToAsic()
1240 RTMP_IO_WRITE8(pAd, pAd->BeaconOffset[bcn_idx] + TXWI_SIZE + i, *ptr_update); in RT28xx_UpdateBeaconToAsic()
Drt_ate.c2938 NdisZeroMemory(&TxWI, TXWI_SIZE); in ATEWriteTxWI()
3324 NdisMoveMemory(pDMAHeaderBufVA+TXWI_SIZE, pAd->ate.Header, pAd->ate.HLen); in ATESetUpFrame()
3329 NdisMoveMemory(pDMAHeaderBufVA+TXWI_SIZE, TemplateFrame, LENGTH_802_11); in ATESetUpFrame()
3330 NdisMoveMemory(pDMAHeaderBufVA+TXWI_SIZE+4, pAd->ate.Addr1, ETH_LENGTH_OF_ADDRESS); in ATESetUpFrame()
3331 NdisMoveMemory(pDMAHeaderBufVA+TXWI_SIZE+10, pAd->ate.Addr2, ETH_LENGTH_OF_ADDRESS); in ATESetUpFrame()
3332 NdisMoveMemory(pDMAHeaderBufVA+TXWI_SIZE+16, pAd->ate.Addr3, ETH_LENGTH_OF_ADDRESS); in ATESetUpFrame()
3336 RTMPFrameEndianChange(pAd, (((PUCHAR)pDMAHeaderBufVA)+TXWI_SIZE), DIR_READ, FALSE); in ATESetUpFrame()
3415 pTxD->SDLen0 = TXWI_SIZE + pAd->ate.HLen; in ATESetUpFrame()
3422 pDest += TXWI_SIZE; in ATESetUpFrame()
3440 pTxD->SDLen0 = TXWI_SIZE + LENGTH_802_11; in ATESetUpFrame()
[all …]
Drtmp_def.h133 #define TXWI_SIZE 16 macro
Drt28xx.h1648 #define HW_BEACON_CONTENT_LEN (HW_BEACON_OFFSET - TXWI_SIZE)
Drtmp.h3262 size = ((DescriptorType == TYPE_TXWI) ? TXWI_SIZE : RXWI_SIZE); in RTMPWIEndianChange()
/drivers/staging/rt2860/sta/
Drtmp_data.c1483 pHeader_802_11 = (HEADER_802_11 *) &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STABuildCommon802_11Header()
1658 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Build_ARalink_Frame_Header()
1714 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Build_AMSDU_Frame_Header()
1780 …CHAR)&pTxBlk->HeaderBuf[TXINFO_SIZE], (PUCHAR)&pMacEntry->CachedBuf[0], TXWI_SIZE + sizeof(HEADER_… in STA_AMPDU_Frame_Tx()
1781 pHeaderBufPtr = (PUCHAR)(&pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]); in STA_AMPDU_Frame_Tx()
1789 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_AMPDU_Frame_Tx()
2077 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Legacy_Frame_Tx()
2310 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Fragment_Frame_Tx()
/drivers/staging/rt2870/sta/
Drtmp_data.c1498 pHeader_802_11 = (HEADER_802_11 *) &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STABuildCommon802_11Header()
1663 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Build_ARalink_Frame_Header()
1719 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Build_AMSDU_Frame_Header()
1785 …CHAR)&pTxBlk->HeaderBuf[TXINFO_SIZE], (PUCHAR)&pMacEntry->CachedBuf[0], TXWI_SIZE + sizeof(HEADER_… in STA_AMPDU_Frame_Tx()
1786 pHeaderBufPtr = (PUCHAR)(&pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]); in STA_AMPDU_Frame_Tx()
1794 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_AMPDU_Frame_Tx()
2082 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Legacy_Frame_Tx()
2315 pHeaderBufPtr = &pTxBlk->HeaderBuf[TXINFO_SIZE + TXWI_SIZE]; in STA_Fragment_Frame_Tx()
Dconnect.c2578 …RTMPWriteTxInfo(pAd, pTxInfo, (USHORT)(sizeof(PSPOLL_FRAME)+TXWI_SIZE), TRUE, EpToQueue[MGMTPIPEID… in ComposePsPoll()
2582 …RTMPMoveMemory(&pAd->PsPollContext.TransferBuffer->field.WirelessPacket[TXWI_SIZE+TXINFO_SIZE], &p… in ComposePsPoll()
2584 pAd->PsPollContext.BulkOutSize = TXINFO_SIZE + TXWI_SIZE + sizeof(PSPOLL_FRAME) + 4; in ComposePsPoll()
2603 …RTMPWriteTxInfo(pAd, pTxInfo, (USHORT)(sizeof(HEADER_802_11)+TXWI_SIZE), TRUE, EpToQueue[MGMTPIPEI… in ComposeNullFrame()
2607 …RTMPMoveMemory(&pAd->NullContext.TransferBuffer->field.WirelessPacket[TXWI_SIZE+TXINFO_SIZE], &pAd… in ComposeNullFrame()
2608 pAd->NullContext.BulkOutSize = TXINFO_SIZE + TXWI_SIZE + sizeof(pAd->NullFrame) + 4; in ComposeNullFrame()