Searched refs:pDevice (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/staging/vt6655/
H A Dpower.c71 struct vnt_private *pDevice = hDeviceContext; PSvEnablePowerSaving() local
72 u16 wAID = pDevice->current_aid | BIT(14) | BIT(15); PSvEnablePowerSaving()
75 VNSvOutPortW(pDevice->PortOffset + MAC_REG_PWBT, C_PWBT); PSvEnablePowerSaving()
76 if (pDevice->op_mode != NL80211_IFTYPE_ADHOC) { PSvEnablePowerSaving()
78 VNSvOutPortW(pDevice->PortOffset + MAC_REG_AIDATIM, wAID); PSvEnablePowerSaving()
82 MACvWriteATIMW(pDevice->PortOffset, pMgmt->wCurrATIMWindow); PSvEnablePowerSaving()
86 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); PSvEnablePowerSaving()
88 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); PSvEnablePowerSaving()
92 MACvRegBitsOff(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_ALBCN); PSvEnablePowerSaving()
94 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_LNBCN); PSvEnablePowerSaving()
97 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_ALBCN); PSvEnablePowerSaving()
101 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PSEN); PSvEnablePowerSaving()
102 pDevice->bEnablePSMode = true; PSvEnablePowerSaving()
104 pDevice->bPWBitOn = true; PSvEnablePowerSaving()
123 struct vnt_private *pDevice = hDeviceContext; PSvDisablePowerSaving() local
126 MACbPSWakeup(pDevice->PortOffset); PSvDisablePowerSaving()
128 MACvRegBitsOff(pDevice->PortOffset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); PSvDisablePowerSaving()
130 MACvRegBitsOff(pDevice->PortOffset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); PSvDisablePowerSaving()
132 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_ALBCN); PSvDisablePowerSaving()
134 pDevice->bEnablePSMode = false; PSvDisablePowerSaving()
136 pDevice->bPWBitOn = false; PSvDisablePowerSaving()
155 struct vnt_private *pDevice = hDeviceContext; PSbIsNextTBTTWakeUp() local
156 struct ieee80211_hw *hw = pDevice->hw; PSbIsNextTBTTWakeUp()
161 if (!pDevice->wake_up_count) PSbIsNextTBTTWakeUp()
162 pDevice->wake_up_count = conf->listen_interval; PSbIsNextTBTTWakeUp()
164 --pDevice->wake_up_count; PSbIsNextTBTTWakeUp()
166 if (pDevice->wake_up_count == 1) { PSbIsNextTBTTWakeUp()
168 MACvRegBitsOn(pDevice->PortOffset, PSbIsNextTBTTWakeUp()
H A Dchannel.c179 struct vnt_private *pDevice = pDeviceHandler; set_channel() local
182 if (pDevice->byCurrentCh == ch->hw_value) set_channel()
186 if (pDevice->bUpdateBBVGA && set_channel()
187 pDevice->byBBVGACurrent != pDevice->abyBBVGA[0]) { set_channel()
188 pDevice->byBBVGACurrent = pDevice->abyBBVGA[0]; set_channel()
190 BBvSetVGAGainOffset(pDevice, pDevice->byBBVGACurrent); set_channel()
194 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_MACCR, MACCR_CLRNAV); set_channel()
199 if (pDevice->byRFType == RF_AIROHA7230) set_channel()
200 RFbAL7230SelectChannelPostProcess(pDevice, pDevice->byCurrentCh, set_channel()
203 pDevice->byCurrentCh = ch->hw_value; set_channel()
204 bResult &= RFbSelectChannel(pDevice, pDevice->byRFType, set_channel()
208 if (pDevice->bEnablePSMode) set_channel()
209 RFvWriteWakeProgSyn(pDevice, pDevice->byRFType, ch->hw_value); set_channel()
211 BBvSoftwareReset(pDevice); set_channel()
213 if (pDevice->byLocalID > REV_ID_VT3253_B1) { set_channel()
216 spin_lock_irqsave(&pDevice->lock, flags); set_channel()
219 MACvSelectPage1(pDevice->PortOffset); set_channel()
220 RFbSetPower(pDevice, RATE_1M, pDevice->byCurrentCh); set_channel()
221 VNSvOutPortB(pDevice->PortOffset + MAC_REG_PWRCCK, set_channel()
222 pDevice->byCurPwr); set_channel()
223 RFbSetPower(pDevice, RATE_6M, pDevice->byCurrentCh); set_channel()
224 VNSvOutPortB(pDevice->PortOffset + MAC_REG_PWROFDM, set_channel()
225 pDevice->byCurPwr); set_channel()
226 MACvSelectPage0(pDevice->PortOffset); set_channel()
228 spin_unlock_irqrestore(&pDevice->lock, flags); set_channel()
231 if (pDevice->byBBType == BB_TYPE_11B) set_channel()
232 RFbSetPower(pDevice, RATE_1M, pDevice->byCurrentCh); set_channel()
234 RFbSetPower(pDevice, RATE_6M, pDevice->byCurrentCh); set_channel()
H A Drxtx.c103 struct vnt_private *pDevice,
117 struct vnt_private *pDevice,
131 s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
139 struct vnt_private *pDevice,
169 struct vnt_private *pDevice, s_uGetTxRsvTime()
178 uDataTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, cbFrameLength, wRate); s_uGetTxRsvTime()
180 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, (unsigned short)pDevice->byTopCCKBasicRate); s_uGetTxRsvTime()
182 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, (unsigned short)pDevice->byTopOFDMBasicRate); s_uGetTxRsvTime()
185 return uDataTime + pDevice->uSIFS + uAckTime; s_uGetTxRsvTime()
201 struct vnt_private *pDevice, s_uGetRTSCTSRsvTime()
212 uDataTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, cbFrameLength, wCurrentRate); s_uGetRTSCTSRsvTime()
214 uRTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 20, pDevice->byTopCCKBasicRate); s_uGetRTSCTSRsvTime()
215 uCTSTime = uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSRsvTime()
217 uRTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 20, pDevice->byTopCCKBasicRate); s_uGetRTSCTSRsvTime()
218 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSRsvTime()
219 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSRsvTime()
221 uRTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 20, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSRsvTime()
222 uCTSTime = uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSRsvTime()
224 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSRsvTime()
225 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSRsvTime()
226 uRrvTime = uCTSTime + uAckTime + uDataTime + 2*pDevice->uSIFS; s_uGetRTSCTSRsvTime()
231 uRrvTime = uRTSTime + uCTSTime + uAckTime + uDataTime + 3*pDevice->uSIFS; s_uGetRTSCTSRsvTime()
239 struct vnt_private *pDevice, s_uGetDataDuration()
261 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetDataDuration()
262 return pDevice->uSIFS + uAckTime; s_uGetDataDuration()
268 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wRate, bNeedAck); s_uGetDataDuration()
270 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetDataDuration()
273 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetDataDuration()
274 return pDevice->uSIFS + uAckTime + uNextPktTime; s_uGetDataDuration()
276 return pDevice->uSIFS + uNextPktTime; s_uGetDataDuration()
284 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
285 return pDevice->uSIFS + uAckTime; s_uGetDataDuration()
291 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wRate, bNeedAck); s_uGetDataDuration()
293 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetDataDuration()
296 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
297 return pDevice->uSIFS + uAckTime + uNextPktTime; s_uGetDataDuration()
299 return pDevice->uSIFS + uNextPktTime; s_uGetDataDuration()
307 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
308 return pDevice->uSIFS + uAckTime; s_uGetDataDuration()
320 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
322 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
331 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
333 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
338 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
339 return pDevice->uSIFS + uAckTime + uNextPktTime; s_uGetDataDuration()
341 return pDevice->uSIFS + uNextPktTime; s_uGetDataDuration()
349 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
350 return pDevice->uSIFS + uAckTime; s_uGetDataDuration()
362 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
364 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
373 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbLastFragmentSize, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
375 uNextPktTime = s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetDataDuration()
378 uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetDataDuration()
379 return pDevice->uSIFS + uAckTime + uNextPktTime; s_uGetDataDuration()
381 return pDevice->uSIFS + uNextPktTime; s_uGetDataDuration()
397 struct vnt_private *pDevice, s_uGetRTSCTSDuration()
410 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSDuration()
411 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetRTSCTSDuration()
415 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSDuration()
416 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetRTSCTSDuration()
420 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSDuration()
421 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetRTSCTSDuration()
425 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wRate, bNeedAck); s_uGetRTSCTSDuration()
429 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSDuration()
431 uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
433 uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
438 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSDuration()
440 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
442 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
447 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); s_uGetRTSCTSDuration()
449 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
451 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
456 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); s_uGetRTSCTSDuration()
458 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
460 uDurTime = uCTSTime + 2*pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
466 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
468 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE0][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
474 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt0[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
476 uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, byPktType, cbFrameLength, wFB_Opt1[FB_RATE1][wRate-RATE_18M], bNeedAck); s_uGetRTSCTSDuration()
490 struct vnt_private *pDevice, s_uFillDataHead()
513 vnt_get_phy_field(pDevice, cbFrameLength, wCurrentRate, s_uFillDataHead()
516 vnt_get_phy_field(pDevice, cbFrameLength, s_uFillDataHead()
517 pDevice->byTopCCKBasicRate, s_uFillDataHead()
521 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); s_uFillDataHead()
528 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, s_uFillDataHead()
533 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLength, s_uFillDataHead()
534 PK_TYPE_11B, pDevice->byTopCCKBasicRate, s_uFillDataHead()
539 buf->time_stamp_off_a = vnt_time_stamp_off(pDevice, wCurrentRate); s_uFillDataHead()
540 buf->time_stamp_off_b = vnt_time_stamp_off(pDevice, pDevice->byTopCCKBasicRate); s_uFillDataHead()
547 vnt_get_phy_field(pDevice, cbFrameLength, wCurrentRate, s_uFillDataHead()
550 vnt_get_phy_field(pDevice, cbFrameLength, s_uFillDataHead()
551 pDevice->byTopCCKBasicRate, s_uFillDataHead()
554 buf->duration_a = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, s_uFillDataHead()
556 buf->duration_b = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLength, PK_TYPE_11B, s_uFillDataHead()
557 pDevice->byTopCCKBasicRate, bNeedAck, uFragIdx, cbLastFragmentSize, uMACfragNum, byFBOption)); s_uFillDataHead()
558 buf->duration_a_f0 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F0, cbFrameLength, byPktType, s_uFillDataHead()
560 buf->duration_a_f1 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F1, cbFrameLength, byPktType, s_uFillDataHead()
563 buf->time_stamp_off_a = vnt_time_stamp_off(pDevice, wCurrentRate); s_uFillDataHead()
564 buf->time_stamp_off_b = vnt_time_stamp_off(pDevice, pDevice->byTopCCKBasicRate); s_uFillDataHead()
573 vnt_get_phy_field(pDevice, cbFrameLength, wCurrentRate, s_uFillDataHead()
577 buf->duration = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, s_uFillDataHead()
579 buf->duration_f0 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F0, cbFrameLength, byPktType, s_uFillDataHead()
581 buf->duration_f1 = cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A_F1, cbFrameLength, byPktType, s_uFillDataHead()
583 buf->time_stamp_off = vnt_time_stamp_off(pDevice, wCurrentRate); s_uFillDataHead()
588 vnt_get_phy_field(pDevice, cbFrameLength, wCurrentRate, s_uFillDataHead()
592 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); s_uFillDataHead()
598 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_A, cbFrameLength, byPktType, s_uFillDataHead()
604 buf->time_stamp_off = vnt_time_stamp_off(pDevice, wCurrentRate); s_uFillDataHead()
610 vnt_get_phy_field(pDevice, cbFrameLength, wCurrentRate, s_uFillDataHead()
614 __le16 dur = cpu_to_le16(pDevice->current_aid | BIT(14) | BIT(15)); s_uFillDataHead()
620 cpu_to_le16((u16)s_uGetDataDuration(pDevice, DATADUR_B, cbFrameLength, byPktType, s_uFillDataHead()
626 buf->time_stamp_off = vnt_time_stamp_off(pDevice, wCurrentRate); s_uFillDataHead()
636 struct vnt_private *pDevice, s_vFillRTSHead()
664 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
665 pDevice->byTopCCKBasicRate, s_vFillRTSHead()
668 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
669 pDevice->byTopOFDMBasicRate, s_vFillRTSHead()
673 s_uGetRTSCTSDuration(pDevice, RTSDUR_BB, s_vFillRTSHead()
675 pDevice->byTopCCKBasicRate, s_vFillRTSHead()
678 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA, s_vFillRTSHead()
683 s_uGetRTSCTSDuration(pDevice, RTSDUR_BA, s_vFillRTSHead()
699 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
700 pDevice->byTopCCKBasicRate, s_vFillRTSHead()
703 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
704 pDevice->byTopOFDMBasicRate, s_vFillRTSHead()
708 s_uGetRTSCTSDuration(pDevice, RTSDUR_BB, s_vFillRTSHead()
710 pDevice->byTopCCKBasicRate, s_vFillRTSHead()
713 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA, s_vFillRTSHead()
718 s_uGetRTSCTSDuration(pDevice, RTSDUR_BA, s_vFillRTSHead()
723 s_uGetRTSCTSDuration(pDevice, RTSDUR_BA_F0, s_vFillRTSHead()
728 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA_F0, s_vFillRTSHead()
733 s_uGetRTSCTSDuration(pDevice, RTSDUR_BA_F1, s_vFillRTSHead()
738 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA_F1, s_vFillRTSHead()
755 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
756 pDevice->byTopOFDMBasicRate, s_vFillRTSHead()
760 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA, s_vFillRTSHead()
775 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
776 pDevice->byTopOFDMBasicRate, s_vFillRTSHead()
780 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA, s_vFillRTSHead()
785 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA_F0, s_vFillRTSHead()
790 s_uGetRTSCTSDuration(pDevice, RTSDUR_AA_F1, s_vFillRTSHead()
806 vnt_get_phy_field(pDevice, uRTSFrameLen, s_vFillRTSHead()
807 pDevice->byTopCCKBasicRate, s_vFillRTSHead()
811 s_uGetRTSCTSDuration(pDevice, RTSDUR_BB, cbFrameLength, s_vFillRTSHead()
828 struct vnt_private *pDevice, s_vFillCTSHead()
855 vnt_get_phy_field(pDevice, uCTSFrameLen, s_vFillCTSHead()
856 pDevice->byTopCCKBasicRate, s_vFillCTSHead()
860 s_uGetRTSCTSDuration(pDevice, CTSDUR_BA, s_vFillCTSHead()
867 s_uGetRTSCTSDuration(pDevice, CTSDUR_BA_F0, s_vFillCTSHead()
874 s_uGetRTSCTSDuration(pDevice, CTSDUR_BA_F1, s_vFillCTSHead()
889 pDevice->abyCurrentNetAddr); s_vFillCTSHead()
893 vnt_get_phy_field(pDevice, uCTSFrameLen, s_vFillCTSHead()
894 pDevice->byTopCCKBasicRate, s_vFillCTSHead()
899 s_uGetRTSCTSDuration(pDevice, CTSDUR_BA, s_vFillCTSHead()
913 pDevice->abyCurrentNetAddr); s_vFillCTSHead()
925 * pDevice - Pointer to adapter
944 struct vnt_private *pDevice, s_vGenerateTxParameter()
979 buf->rts_rrv_time_aa = s_uGetRTSCTSRsvTime(pDevice, 2, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
980 buf->rts_rrv_time_ba = s_uGetRTSCTSRsvTime(pDevice, 1, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
981 buf->rts_rrv_time_bb = s_uGetRTSCTSRsvTime(pDevice, 0, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
982 buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
983 buf->rrv_time_b = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, pDevice->byTopCCKBasicRate, bNeedACK); s_vGenerateTxParameter()
985 s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); s_vGenerateTxParameter()
989 buf->rrv_time_a = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
990 buf->rrv_time_b = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, pDevice->byTopCCKBasicRate, bNeedACK); s_vGenerateTxParameter()
991 buf->cts_rrv_time_ba = s_uGetRTSCTSRsvTime(pDevice, 3, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
994 s_vFillCTSHead(pDevice, uDMAIdx, byPktType, pvCTS, cbFrameSize, bNeedACK, bDisCRC, wCurrentRate, byFBOption); s_vGenerateTxParameter()
1000 buf->rts_rrv_time = s_uGetRTSCTSRsvTime(pDevice, 2, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
1001 buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, byPktType, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
1004 s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); s_vGenerateTxParameter()
1008 buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11A, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
1014 buf->rts_rrv_time = s_uGetRTSCTSRsvTime(pDevice, 0, byPktType, cbFrameSize, wCurrentRate); s_vGenerateTxParameter()
1015 buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
1018 s_vFillRTSHead(pDevice, byPktType, pvRTS, cbFrameSize, bNeedACK, bDisCRC, psEthHeader, wCurrentRate, byFBOption); s_vGenerateTxParameter()
1022 buf->rrv_time = vnt_rxtx_rsvtime_le16(pDevice, PK_TYPE_11B, cbFrameSize, wCurrentRate, bNeedACK); s_vGenerateTxParameter()
1028 s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, s_cbFillTxBufHead() argument
1074 if (pDevice->byLocalID > REV_ID_VT3253_A1) { s_cbFillTxBufHead()
1186 s_vGenerateTxParameter(pDevice, byPktType, tx_buffer_head, pvRrvTime, pvRTS, pvCTS, s_cbFillTxBufHead()
1187 cbFrameSize, bNeedACK, uDMAIdx, hdr, pDevice->wCurrentRate); s_cbFillTxBufHead()
1189 uDuration = s_uFillDataHead(pDevice, byPktType, pvTxDataHd, cbFrameSize, uDMAIdx, bNeedACK, s_cbFillTxBufHead()
1190 0, 0, uMACfragNum, byFBOption, pDevice->wCurrentRate, is_pspoll); s_cbFillTxBufHead()
168 s_uGetTxRsvTime( struct vnt_private *pDevice, unsigned char byPktType, unsigned int cbFrameLength, unsigned short wRate, bool bNeedAck ) s_uGetTxRsvTime() argument
200 s_uGetRTSCTSRsvTime( struct vnt_private *pDevice, unsigned char byRTSRsvType, unsigned char byPktType, unsigned int cbFrameLength, unsigned short wCurrentRate ) s_uGetRTSCTSRsvTime() argument
238 s_uGetDataDuration( struct vnt_private *pDevice, unsigned char byDurType, unsigned int cbFrameLength, unsigned char byPktType, unsigned short wRate, bool bNeedAck, unsigned int uFragIdx, unsigned int cbLastFragmentSize, unsigned int uMACfragNum, unsigned char byFBOption ) s_uGetDataDuration() argument
396 s_uGetRTSCTSDuration( struct vnt_private *pDevice, unsigned char byDurType, unsigned int cbFrameLength, unsigned char byPktType, unsigned short wRate, bool bNeedAck, unsigned char byFBOption ) s_uGetRTSCTSDuration() argument
489 s_uFillDataHead( struct vnt_private *pDevice, unsigned char byPktType, void *pTxDataHead, unsigned int cbFrameLength, unsigned int uDMAIdx, bool bNeedAck, unsigned int uFragIdx, unsigned int cbLastFragmentSize, unsigned int uMACfragNum, unsigned char byFBOption, unsigned short wCurrentRate, bool is_pspoll ) s_uFillDataHead() argument
635 s_vFillRTSHead( struct vnt_private *pDevice, unsigned char byPktType, void *pvRTS, unsigned int cbFrameLength, bool bNeedAck, bool bDisCRC, struct ieee80211_hdr *hdr, unsigned short wCurrentRate, unsigned char byFBOption ) s_vFillRTSHead() argument
827 s_vFillCTSHead( struct vnt_private *pDevice, unsigned int uDMAIdx, unsigned char byPktType, void *pvCTS, unsigned int cbFrameLength, bool bNeedAck, bool bDisCRC, unsigned short wCurrentRate, unsigned char byFBOption ) s_vFillCTSHead() argument
943 s_vGenerateTxParameter( struct vnt_private *pDevice, unsigned char byPktType, struct vnt_tx_fifo_head *tx_buffer_head, void *pvRrvTime, void *pvRTS, void *pvCTS, unsigned int cbFrameSize, bool bNeedACK, unsigned int uDMAIdx, void *psEthHeader, unsigned short wCurrentRate ) s_vGenerateTxParameter() argument
/linux-4.4.14/drivers/staging/vt6656/
H A Dcard.c64 * pDevice - The adapter to be set
256 * pDevice - The adapter to be set
H A Dbaseband.c370 * pDevice - Device Structure

Completed in 222 milliseconds