Home
last modified time | relevance | path

Searched refs:pHTInfo (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/staging/rtl8192e/
Drtl819x_HTProc.c84 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local
86 pHTInfo->bAcceptAddbaReq = 1; in HTUpdateDefaultSetting()
88 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
89 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
91 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
93 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
94 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
96 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting()
98 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
99 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting()
[all …]
Drtllib_tx.c288 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_tx_query_agg_cap() local
295 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in rtllib_tx_query_agg_cap()
306 if (pHTInfo->IOTAction & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap()
311 if (pHTInfo->bCurrentAMPDUEnable) { in rtllib_tx_query_agg_cap()
336 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap()
337 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in rtllib_tx_query_agg_cap()
341 switch (pHTInfo->ForcedAMPDUMode) { in rtllib_tx_query_agg_cap()
347 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in rtllib_tx_query_agg_cap()
348 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in rtllib_tx_query_agg_cap()
375 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local
[all …]
Drtl819x_BAProc.c269 (ieee->pHTInfo->bCurrentHTSupport == false) || in rtllib_rx_ADDBAReq()
270 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
275 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
302 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
351 ieee->pHTInfo->bCurrentHTSupport == false || in rtllib_rx_ADDBARsp()
352 ieee->pHTInfo->bCurrentAMPDUEnable == false) { in rtllib_rx_ADDBARsp()
356 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
357 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
440 ieee->pHTInfo->bCurrentHTSupport == false) { in rtllib_rx_DELBA()
444 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
Drtllib_module.c163 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
164 if (ieee->pHTInfo == NULL) { in alloc_rtllib()
194 kfree(ieee->pHTInfo); in free_rtllib()
195 ieee->pHTInfo = NULL; in free_rtllib()
Drtllib_softmac.c196 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
199 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
207 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
852 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local
866 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp()
877 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp()
878 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
879 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
880 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
881 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
[all …]
Drtllib_softmac_wx.c364 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && in rtllib_wx_sync_scan_wq()
365 ieee->pHTInfo->bCurBW40MHz) { in rtllib_wx_sync_scan_wq()
367 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq()
368 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
Drtllib_rx.c549 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
551 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
572 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
729 MSECS(pHTInfo->RxReorderPendingTime)); in RxReorderIndicatePacket()
894 if ((ieee->pHTInfo->bCurRxReorderEnable == false) || in rtllib_rx_check_duplicate()
1396 if (ieee->pHTInfo->bCurRxReorderEnable == false || pTS == NULL || bToOtherSTA) in rtllib_rx_InfraAdhoc()
Drtl819x_TSProc.c94 MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c56 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local
62 pHTInfo->bRegShortGI20MHz= 1; in HTUpdateDefaultSetting()
63 pHTInfo->bRegShortGI40MHz= 1; in HTUpdateDefaultSetting()
66 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
69 if(pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
70 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
72 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting()
75 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
76 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting()
79 pHTInfo->bAMPDUEnable = 1; in HTUpdateDefaultSetting()
[all …]
Dieee80211_tx.c308 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_tx_query_agg_cap() local
312 if (!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_tx_query_agg_cap()
331 if(pHTInfo->bCurrentAMPDUEnable) in ieee80211_tx_query_agg_cap()
354 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in ieee80211_tx_query_agg_cap()
355 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in ieee80211_tx_query_agg_cap()
359 switch(pHTInfo->ForcedAMPDUMode ) in ieee80211_tx_query_agg_cap()
366 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in ieee80211_tx_query_agg_cap()
367 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in ieee80211_tx_query_agg_cap()
396 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_query_HTCapShortGI() local
400 if(!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_query_HTCapShortGI()
[all …]
Dieee80211_module.c160 ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL); in alloc_ieee80211()
161 if (ieee->pHTInfo == NULL) in alloc_ieee80211()
200 kfree(ieee->pHTInfo); in free_ieee80211()
201 ieee->pHTInfo = NULL; in free_ieee80211()
Dieee80211_softmac.c189 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
193 if(pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
202 (ieee->mode== IEEE_N_24G&&!pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
710 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local
733 tmp_ht_cap_buf =(u8*) &(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
734 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
735 tmp_ht_info_buf =(u8*) &(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
736 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
741 if(pHTInfo->bRegRT2RTAggregation) in ieee80211_probe_resp()
743 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp()
[all …]
Drtl819x_BAProc.c361 (ieee->pHTInfo->bCurrentHTSupport == false)) //|| in ieee80211_rx_ADDBAReq()
365 …ty is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_ADDBAReq()
457 ieee->pHTInfo->bCurrentHTSupport == false || in ieee80211_rx_ADDBARsp()
458 ieee->pHTInfo->bCurrentAMPDUEnable == false ) in ieee80211_rx_ADDBARsp()
460 …%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo-… in ieee80211_rx_ADDBARsp()
577 ieee->pHTInfo->bCurrentHTSupport == false ) in ieee80211_rx_DELBA()
579 …is not supported(%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_DELBA()
Dieee80211_softmac_wx.c316 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq()
318 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq()
319 bandwidth = (HT_CHANNEL_WIDTH)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
Dieee80211_rx.c610 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
613 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
627 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
770 pTS->RxPktPendingTimer.expires = jiffies + MSECS(pHTInfo->RxReorderPendingTime); in RxReorderIndicatePacket()
1027 …if( (ieee->pHTInfo->bCurRxReorderEnable == false) || !ieee->current_network.qos_data.active|| !IsD… in ieee80211_rx()
1321 if(ieee->pHTInfo->bCurRxReorderEnable == false ||pTS == NULL){ in ieee80211_rx()
Drtl819x_TSProc.c90 mod_timer(&pRxTs->RxPktPendingTimer, jiffies + MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
/linux-3.4.99/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c261 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in dm_check_rate_adaptive() local
282 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive()
283 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive()
2111 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in dm_check_edca_turbo() local
2122 if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2135 peername[pHTInfo->IOTPeer], in dm_check_edca_turbo()
2143 if (pHTInfo->IOTAction & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in dm_check_edca_turbo()
2148 edca_setting_UL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
2156 edca_setting_DL_GMode[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
2159 edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
[all …]
Drtl_cam.c72 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in EnableHWSecurityConfig8192()
Drtl_core.c549 (!priv->rtllib->pHTInfo->bCurrentRT2RTLongSlotTime)) { in rtl8192_update_cap()
581 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
583 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon()
585 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode; in rtl8192_update_beacon()
929 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
933 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
2653 && ieee->pHTInfo->bCurrentHTSupport) { in rtl8192_ioctl()
Dr8192E_dev.c2144 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl8192_update_ratr_table()
2157 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
2158 ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
2160 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
2161 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
Dr8192E_cmdpkt.c178 (!priv->rtllib->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()
Drtl_core.h111 ((_rtllib->pHTInfo->bCurrentHTSupport == true) && \
/linux-3.4.99/drivers/staging/rtl8192u/
Dr8192U_dm.c203 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation() local
237 if (!priv->bCurrentRxAggrEnable && !pHTInfo->bCurrentRT2RTAggregation) { in dm_CheckRxAggregation()
239 ulValue = (pHTInfo->UsbRxFwAggrEn<<24) | (pHTInfo->UsbRxFwAggrPageNum<<16) | in dm_CheckRxAggregation()
240 (pHTInfo->UsbRxFwAggrPacketNum<<8) | (pHTInfo->UsbRxFwAggrTimeout); in dm_CheckRxAggregation()
357 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() local
386 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive()
387 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive()
2650 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_edca_turbo() local
2666 if(priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2681 write_nic_dword(dev, EDCAPARA_BE, edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
[all …]
Dr8192U_core.c1445 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in DrvAggr_GetAggregatibleList() local
1446 u16 nMaxAggrNum = pHTInfo->UsbTxAggrNum; in DrvAggr_GetAggregatibleList()
1652 if ((cap & WLAN_CAPABILITY_SHORT_SLOT)&&(!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap()
2361 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
2363 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bdRT2RTLongSlotTime; in rtl8192_update_beacon()
2555 if (ieee->pHTInfo->PeerMimoPs == 0) //MIMO_PS_STATIC in rtl8192_update_ratr_table()
2568 if(ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz){ in rtl8192_update_ratr_table()
2570 }else if(!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz){ in rtl8192_update_ratr_table()
2698 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
2700 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
[all …]
Dr819xU_cmdpkt.c346 …(priv->ieee80211->current_network.mode == IEEE_N_24G && (!priv->ieee80211->pHTInfo->bCurSuppCCK))) in cmdpkt_beacontimerinterrupt_819xusb()

12