Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rtl8192e/
Drtl819x_HTProc.c80 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local
82 pHTInfo->bAcceptAddbaReq = 1; in HTUpdateDefaultSetting()
84 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
85 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
87 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
89 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
90 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
92 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting()
94 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
95 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()
305 if (pHTInfo->IOTAction & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap()
310 if (pHTInfo->bCurrentAMPDUEnable) { in rtllib_tx_query_agg_cap()
335 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap()
336 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in rtllib_tx_query_agg_cap()
340 switch (pHTInfo->ForcedAMPDUMode) { in rtllib_tx_query_agg_cap()
346 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in rtllib_tx_query_agg_cap()
347 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in rtllib_tx_query_agg_cap()
372 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local
[all …]
Drtllib_module.c145 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
146 if (ieee->pHTInfo == NULL) in alloc_rtllib()
174 kfree(ieee->pHTInfo); in free_rtllib()
175 ieee->pHTInfo = NULL; in free_rtllib()
Drtl819x_BAProc.c263 (ieee->pHTInfo->bCurrentHTSupport == false) || in rtllib_rx_ADDBAReq()
264 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
269 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
296 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
346 ieee->pHTInfo->bCurrentHTSupport == false || in rtllib_rx_ADDBARsp()
347 ieee->pHTInfo->bCurrentAMPDUEnable == false) { in rtllib_rx_ADDBARsp()
351 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
352 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
437 ieee->pHTInfo->bCurrentHTSupport == false) { in rtllib_rx_DELBA()
441 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
Drtllib_softmac.c183 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
186 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
194 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
837 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local
851 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp()
862 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp()
863 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
864 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
865 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
866 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
[all …]
Drtllib_softmac_wx.c365 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && in rtllib_wx_sync_scan_wq()
366 ieee->pHTInfo->bCurBW40MHz) { in rtllib_wx_sync_scan_wq()
368 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq()
369 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
Drtllib_rx.c578 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
580 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
602 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
766 msecs_to_jiffies(pHTInfo->RxReorderPendingTime)); in RxReorderIndicatePacket()
938 if ((ieee->pHTInfo->bCurRxReorderEnable == false) || in rtllib_rx_check_duplicate()
1463 if (ieee->pHTInfo->bCurRxReorderEnable == false || pTS == NULL || in rtllib_rx_InfraAdhoc()
Drtl819x_TSProc.c93 msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime) in RxPktPendingTimeout()
Drtllib.h1496 struct rt_hi_throughput *pHTInfo; member
2158 void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
/linux-4.4.14/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.c309 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_tx_query_agg_cap() local
313 if (!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_tx_query_agg_cap()
332 if(pHTInfo->bCurrentAMPDUEnable) in ieee80211_tx_query_agg_cap()
355 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in ieee80211_tx_query_agg_cap()
356 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in ieee80211_tx_query_agg_cap()
360 switch (pHTInfo->ForcedAMPDUMode ) in ieee80211_tx_query_agg_cap()
367 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in ieee80211_tx_query_agg_cap()
368 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in ieee80211_tx_query_agg_cap()
398 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_query_HTCapShortGI() local
402 if(!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_query_HTCapShortGI()
[all …]
Dieee80211_module.c159 ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL); in alloc_ieee80211()
160 if (ieee->pHTInfo == NULL) in alloc_ieee80211()
199 kfree(ieee->pHTInfo); in free_ieee80211()
200 ieee->pHTInfo = NULL; in free_ieee80211()
Dieee80211_softmac.c186 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
190 if(pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
199 (ieee->mode== IEEE_N_24G&&!pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
708 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local
731 tmp_ht_cap_buf =(u8 *) &(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
732 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
733 tmp_ht_info_buf =(u8 *) &(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
734 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
739 if (pHTInfo->bRegRT2RTAggregation) in ieee80211_probe_resp()
741 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp()
[all …]
Drtl819x_BAProc.c367 (!ieee->pHTInfo->bCurrentHTSupport)) //|| in ieee80211_rx_ADDBAReq()
371 …ty is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_ADDBAReq()
465 !ieee->pHTInfo->bCurrentHTSupport || in ieee80211_rx_ADDBARsp()
466 !ieee->pHTInfo->bCurrentAMPDUEnable) { in ieee80211_rx_ADDBARsp()
467 …%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo-… in ieee80211_rx_ADDBARsp()
585 !ieee->pHTInfo->bCurrentHTSupport) in ieee80211_rx_DELBA()
587 …is not supported(%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_DELBA()
Dieee80211_softmac_wx.c320 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq()
322 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq()
323 bandwidth = (HT_CHANNEL_WIDTH)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
Dieee80211_rx.c595 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
598 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
612 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
755 pTS->RxPktPendingTimer.expires = jiffies + MSECS(pHTInfo->RxReorderPendingTime); in RxReorderIndicatePacket()
1008 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active|| !IsDataFrame… in ieee80211_rx()
1298 if (!ieee->pHTInfo->bCurRxReorderEnable || pTS == NULL){ in ieee80211_rx()
Drtl819x_TSProc.c90 mod_timer(&pRxTs->RxPktPendingTimer, jiffies + MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
Dieee80211.h1626 PRT_HIGH_THROUGHPUT pHTInfo; member
2380 void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c336 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_rate_adaptive() local
358 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive()
359 pHTInfo->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive()
360 (!pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive()
361 pHTInfo->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive()
1680 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_edca_turbo() local
1691 if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in _rtl92e_dm_check_edca_turbo()
1705 __func__, peername[pHTInfo->IOTPeer], in _rtl92e_dm_check_edca_turbo()
1713 if (pHTInfo->IOTAction & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in _rtl92e_dm_check_edca_turbo()
1718 edca_setting_UL[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
[all …]
Drtl_cam.c56 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
Drtl_core.c354 (!priv->rtllib->pHTInfo->bCurrentRT2RTLongSlotTime)) { in _rtl92e_update_cap()
386 if (ieee->pHTInfo->bCurrentHTSupport) in _rtl92e_update_beacon()
388 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in _rtl92e_update_beacon()
390 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode; in _rtl92e_update_beacon()
728 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl92e_set_wireless_mode()
732 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl92e_set_wireless_mode()
2353 && ieee->pHTInfo->bCurrentHTSupport) { in _rtl92e_ioctl()
Dr8192E_dev.c2159 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl92e_update_ratr_table()
2172 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table()
2173 ieee->pHTInfo->bCurShortGI40MHz) in rtl92e_update_ratr_table()
2175 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table()
2176 ieee->pHTInfo->bCurShortGI20MHz) in rtl92e_update_ratr_table()
Drtl_wx.c959 ieee->pHTInfo->bCurrentHTSupport) in _rtl92e_wx_set_encode_ext()
/linux-4.4.14/drivers/staging/rtl8192u/
Dr8192U_dm.c154 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation() local
187 if (!priv->bCurrentRxAggrEnable && !pHTInfo->bCurrentRT2RTAggregation) { in dm_CheckRxAggregation()
190 ulValue = (pHTInfo->UsbRxFwAggrEn<<24) | (pHTInfo->UsbRxFwAggrPageNum<<16) | in dm_CheckRxAggregation()
191 (pHTInfo->UsbRxFwAggrPacketNum<<8) | (pHTInfo->UsbRxFwAggrTimeout); in dm_CheckRxAggregation()
300 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() local
324 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive()
325 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive()
2223 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_edca_turbo() local
2239 if (priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2251 write_nic_dword(dev, EDCAPARA_BE, edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
[all …]
Dr8192U_core.c1262 (!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap()
1880 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
1882 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon()
2081 if (ieee->pHTInfo->PeerMimoPs == 0) { /* MIMO_PS_STATIC */ in rtl8192_update_ratr_table()
2094 if (ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
2096 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
2097 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
2216 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
2218 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
4700 if ((priv->ieee80211->pHTInfo->bCurrentHTSupport) && in query_rxdesc_status()
[all …]
Dr819xU_cmdpkt.c192 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()