Home
last modified time | relevance | path

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

/linux-4.1.27/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.c289 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_tx_query_agg_cap() local
296 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()
373 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()
353 ieee->pHTInfo->bCurrentHTSupport == false || in rtllib_rx_ADDBARsp()
354 ieee->pHTInfo->bCurrentAMPDUEnable == false) { in rtllib_rx_ADDBARsp()
358 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
359 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
445 ieee->pHTInfo->bCurrentHTSupport == false) { in rtllib_rx_DELBA()
449 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
Drtllib_module.c160 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
161 if (ieee->pHTInfo == NULL) in alloc_rtllib()
189 kfree(ieee->pHTInfo); in free_rtllib()
190 ieee->pHTInfo = NULL; in free_rtllib()
Drtllib_softmac.c199 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
202 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
210 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
855 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local
869 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp()
880 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp()
881 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
882 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
883 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
884 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.c554 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
556 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
576 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
724 msecs_to_jiffies(pHTInfo->RxReorderPendingTime)); in RxReorderIndicatePacket()
895 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_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
Drtllib.h2035 struct rt_hi_throughput *pHTInfo; member
2847 extern void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
/linux-4.1.27/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()
711 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local
734 tmp_ht_cap_buf =(u8 *) &(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
735 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
736 tmp_ht_info_buf =(u8 *) &(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
737 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
742 if (pHTInfo->bRegRT2RTAggregation) in ieee80211_probe_resp()
744 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp()
[all …]
Drtl819x_BAProc.c367 (ieee->pHTInfo->bCurrentHTSupport == false)) //|| 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 == false || in ieee80211_rx_ADDBARsp()
466 ieee->pHTInfo->bCurrentAMPDUEnable == false) { in ieee80211_rx_ADDBARsp()
467 …%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo-… in ieee80211_rx_ADDBARsp()
586 ieee->pHTInfo->bCurrentHTSupport == false ) in ieee80211_rx_DELBA()
588 …is not supported(%d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_DELBA()
Dieee80211_softmac_wx.c323 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq()
325 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq()
326 bandwidth = (HT_CHANNEL_WIDTH)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
Dieee80211_rx.c602 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
605 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
619 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
762 pTS->RxPktPendingTimer.expires = jiffies + MSECS(pHTInfo->RxReorderPendingTime); in RxReorderIndicatePacket()
1017 …if( (ieee->pHTInfo->bCurRxReorderEnable == false) || !ieee->current_network.qos_data.active|| !IsD… in ieee80211_rx()
1310 if(ieee->pHTInfo->bCurRxReorderEnable == false ||pTS == NULL){ in ieee80211_rx()
Drtl819x_TSProc.c90 mod_timer(&pRxTs->RxPktPendingTimer, jiffies + MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
Dieee80211.h1764 PRT_HIGH_THROUGHPUT pHTInfo; member
2503 extern void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c263 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in dm_check_rate_adaptive() local
284 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive()
285 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive()
2101 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in dm_check_edca_turbo() local
2112 if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2126 __func__, peername[pHTInfo->IOTPeer], in dm_check_edca_turbo()
2134 if (pHTInfo->IOTAction & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in dm_check_edca_turbo()
2139 edca_setting_UL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
2147 edca_setting_DL_GMode[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
2150 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.c540 (!priv->rtllib->pHTInfo->bCurrentRT2RTLongSlotTime)) { in rtl8192_update_cap()
572 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
574 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon()
576 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode; in rtl8192_update_beacon()
917 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
921 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
2639 && ieee->pHTInfo->bCurrentHTSupport) { in rtl8192_ioctl()
Dr8192E_cmdpkt.c160 (!priv->rtllib->pHTInfo->bCurSuppCCK))) in cmdpkt_beacontimerinterrupt_819xusb()
Dr8192E_dev.c2166 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl8192_update_ratr_table()
2179 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
2180 ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
2182 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
2183 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
Drtl_wx.c1034 ieee->pHTInfo->bCurrentHTSupport) in r8192_wx_set_enc_ext()
/linux-4.1.27/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()
2218 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_edca_turbo() local
2234 if (priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2246 write_nic_dword(dev, EDCAPARA_BE, edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
[all …]
Dr8192U_core.c1168 …if ((cap & WLAN_CAPABILITY_SHORT_SLOT) && (!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) … in rtl8192_update_cap()
1805 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
1807 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bdRT2RTLongSlotTime; in rtl8192_update_beacon()
1991 if (ieee->pHTInfo->PeerMimoPs == 0) { /* MIMO_PS_STATIC */ in rtl8192_update_ratr_table()
2004 if (ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
2006 else if (!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
2114 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
2116 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
4409 …if ((priv->ieee80211->pHTInfo->bCurrentHTSupport == true) && (priv->ieee80211->pairwise_key_type =… in query_rxdesc_status()
4854 …if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { /* add hwsec_support flag to to… in EnableHWSecurityConfig8192()
Dr819xU_cmdpkt.c192 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()