Lines Matching refs:byPktType

92 	unsigned char byPktType,
106 unsigned char byPktType,
119 s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
128 unsigned char byPktType,
158 unsigned char byPktType, in s_uGetTxRsvTime() argument
166 uDataTime = bb_get_frame_time(pDevice->preamble_type, byPktType, cbFrameLength, wRate); in s_uGetTxRsvTime()
175 uAckTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, in s_uGetTxRsvTime()
176 byPktType == PK_TYPE_11B ? in s_uGetTxRsvTime()
235 unsigned char byPktType, in s_uGetDataDuration() argument
259 byPktType, 14, in s_uGetDataDuration()
268 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, in s_uGetDataDuration()
277 byPktType, 14, in s_uGetDataDuration()
286 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, in s_uGetDataDuration()
296 byPktType, 14, in s_uGetDataDuration()
317 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, in s_uGetDataDuration()
337 unsigned char byPktType, in s_uGetRTSCTSDuration() argument
347 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopCCKBasicRate); in s_uGetRTSCTSDuration()
348 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRat… in s_uGetRTSCTSDuration()
352 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopCCKBasicRate); in s_uGetRTSCTSDuration()
353 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRat… in s_uGetRTSCTSDuration()
357 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopOFDMBasicRate); in s_uGetRTSCTSDuration()
358 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRat… in s_uGetRTSCTSDuration()
362 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); in s_uGetRTSCTSDuration()
366 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopCCKBasicRate); in s_uGetRTSCTSDuration()
368 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
370 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
375 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopOFDMBasicRate); in s_uGetRTSCTSDuration()
377 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
379 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
384 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopCCKBasicRate); in s_uGetRTSCTSDuration()
386 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
388 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
393 uCTSTime = bb_get_frame_time(pDevice->preamble_type, byPktType, 14, pDevice->byTopOFDMBasicRate); in s_uGetRTSCTSDuration()
395 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
397 …uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_o… in s_uGetRTSCTSDuration()
403 …uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_opt0[FB_RATE0][w… in s_uGetRTSCTSDuration()
405 …uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_opt1[FB_RATE0][w… in s_uGetRTSCTSDuration()
411 …uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_opt0[FB_RATE1][w… in s_uGetRTSCTSDuration()
413 …uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, fb_opt1[FB_RATE1][w… in s_uGetRTSCTSDuration()
428 unsigned char byPktType, in s_uFillDataHead() argument
446 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { in s_uFillDataHead()
454 byPktType, &buf->a); in s_uFillDataHead()
469 byPktType, wCurrentRate, bNeedAck, uFragIdx, in s_uFillDataHead()
487 byPktType, &buf->a); in s_uFillDataHead()
493 …buf->duration_a = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, in s_uFillDataHead()
497 …uration_a_f0 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F0, cbFrameLength, byPktType, in s_uFillDataHead()
499 …uration_a_f1 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F1, cbFrameLength, byPktType, in s_uFillDataHead()
507 } else if (byPktType == PK_TYPE_11A) { in s_uFillDataHead()
515 byPktType, &buf->a); in s_uFillDataHead()
518 buf->duration = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, in s_uFillDataHead()
520 …>duration_f0 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F0, cbFrameLength, byPktType, in s_uFillDataHead()
522 …>duration_f1 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F1, cbFrameLength, byPktType, in s_uFillDataHead()
530 byPktType, &buf->ab); in s_uFillDataHead()
539 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, in s_uFillDataHead()
551 byPktType, &buf->ab); in s_uFillDataHead()
560 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLength, byPktType, in s_uFillDataHead()
574 unsigned char byPktType, in s_vFillRTSHead() argument
600 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { in s_vFillRTSHead()
610 byPktType, &buf->a); in s_vFillRTSHead()
619 cbFrameLength, byPktType, in s_vFillRTSHead()
624 cbFrameLength, byPktType, in s_vFillRTSHead()
645 byPktType, &buf->a); in s_vFillRTSHead()
654 cbFrameLength, byPktType, in s_vFillRTSHead()
659 cbFrameLength, byPktType, in s_vFillRTSHead()
664 cbFrameLength, byPktType, in s_vFillRTSHead()
669 cbFrameLength, byPktType, in s_vFillRTSHead()
674 cbFrameLength, byPktType, in s_vFillRTSHead()
679 cbFrameLength, byPktType, in s_vFillRTSHead()
691 } else if (byPktType == PK_TYPE_11A) { in s_vFillRTSHead()
697 byPktType, &buf->ab); in s_vFillRTSHead()
701 cbFrameLength, byPktType, in s_vFillRTSHead()
717 byPktType, &buf->a); in s_vFillRTSHead()
721 cbFrameLength, byPktType, in s_vFillRTSHead()
726 cbFrameLength, byPktType, in s_vFillRTSHead()
731 cbFrameLength, byPktType, in s_vFillRTSHead()
743 } else if (byPktType == PK_TYPE_11B) { in s_vFillRTSHead()
752 byPktType, wCurrentRate, bNeedAck, in s_vFillRTSHead()
770 unsigned char byPktType, in s_vFillCTSHead() argument
791 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { in s_vFillCTSHead()
802 cbFrameLength, byPktType, in s_vFillCTSHead()
809 cbFrameLength, byPktType, in s_vFillCTSHead()
816 cbFrameLength, byPktType, in s_vFillCTSHead()
841 cbFrameLength, byPktType, in s_vFillCTSHead()
887 unsigned char byPktType, in s_vGenerateTxParameter() argument
916 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) { in s_vGenerateTxParameter()
921 buf->rts_rrv_time_aa = get_rtscts_time(pDevice, 2, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
922 buf->rts_rrv_time_ba = get_rtscts_time(pDevice, 1, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
923 buf->rts_rrv_time_bb = get_rtscts_time(pDevice, 0, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
924 buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); in s_vGenerateTxParameter()
927 …s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRat… in s_vGenerateTxParameter()
931 buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); in s_vGenerateTxParameter()
933 buf->cts_rrv_time_ba = get_rtscts_time(pDevice, 3, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
936 …s_vFillCTSHead(pDevice, uDMAIdx, byPktType, pvCTS, cbFrameSize, bNeedACK, bDisCRC, wCurrentRate, b… in s_vGenerateTxParameter()
938 } else if (byPktType == PK_TYPE_11A) { in s_vGenerateTxParameter()
942 buf->rts_rrv_time = get_rtscts_time(pDevice, 2, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
943 buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); in s_vGenerateTxParameter()
946 …s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRat… in s_vGenerateTxParameter()
952 } else if (byPktType == PK_TYPE_11B) { in s_vGenerateTxParameter()
956 buf->rts_rrv_time = get_rtscts_time(pDevice, 0, byPktType, cbFrameSize, wCurrentRate); in s_vGenerateTxParameter()
960 …s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRat… in s_vGenerateTxParameter()
970 s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, in s_cbFillTxBufHead() argument
1032 if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {/* 802.11g packet */ in s_cbFillTxBufHead()
1126 s_vGenerateTxParameter(pDevice, byPktType, tx_buffer_head, pvRrvTime, pvRTS, pvCTS, in s_cbFillTxBufHead()
1129 uDuration = s_uFillDataHead(pDevice, byPktType, pvTxDataHd, cbFrameSize, uDMAIdx, bNeedACK, in s_cbFillTxBufHead()