/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 84 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 …]
|
D | rtllib_tx.c | 288 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() 374 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local [all …]
|
D | rtl819x_BAProc.c | 269 (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()
|
D | rtllib_softmac.c | 197 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local 200 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate() 208 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate() 853 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local 867 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp() 878 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp() 879 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp() 880 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp() 881 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp() 882 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp() [all …]
|
D | rtllib_module.c | 163 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()
|
D | rtllib_softmac_wx.c | 365 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()
|
D | rtllib_rx.c | 549 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()
|
D | rtl819x_TSProc.c | 94 MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_HTProc.c | 56 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 …]
|
D | ieee80211_tx.c | 308 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 …]
|
D | ieee80211_softmac.c | 191 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local 195 if(pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate() 204 (ieee->mode== IEEE_N_24G&&!pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate() 712 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local 735 tmp_ht_cap_buf =(u8*) &(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp() 736 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp() 737 tmp_ht_info_buf =(u8*) &(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp() 738 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp() 743 if(pHTInfo->bRegRT2RTAggregation) in ieee80211_probe_resp() 745 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp() [all …]
|
D | ieee80211_module.c | 160 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()
|
D | rtl819x_BAProc.c | 361 (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()
|
D | ieee80211_softmac_wx.c | 317 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq() 319 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq() 320 bandwidth = (HT_CHANNEL_WIDTH)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
|
D | ieee80211_rx.c | 610 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()
|
D | rtl819x_TSProc.c | 90 mod_timer(&pRxTs->RxPktPendingTimer, jiffies + MSECS(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 261 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 …]
|
D | rtl_core.c | 549 (!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() 928 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode() 932 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode() 2658 && ieee->pHTInfo->bCurrentHTSupport) { in rtl8192_ioctl()
|
D | rtl_cam.c | 72 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in EnableHWSecurityConfig8192()
|
D | r8192E_dev.c | 2148 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl8192_update_ratr_table() 2161 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table() 2162 ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table() 2164 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table() 2165 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
|
D | r8192E_cmdpkt.c | 178 (!priv->rtllib->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()
|
D | rtl_core.h | 111 ((_rtllib->pHTInfo->bCurrentHTSupport == true) && \
|
/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 203 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 …]
|
D | r8192U_core.c | 1394 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in DrvAggr_GetAggregatibleList() local 1395 u16 nMaxAggrNum = pHTInfo->UsbTxAggrNum; in DrvAggr_GetAggregatibleList() 1601 if ((cap & WLAN_CAPABILITY_SHORT_SLOT)&&(!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap() 2301 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon() 2303 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bdRT2RTLongSlotTime; in rtl8192_update_beacon() 2495 if (ieee->pHTInfo->PeerMimoPs == 0) //MIMO_PS_STATIC in rtl8192_update_ratr_table() 2508 if(ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz){ in rtl8192_update_ratr_table() 2510 }else if(!ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI20MHz){ in rtl8192_update_ratr_table() 2638 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode() 2640 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode() [all …]
|
D | r819xU_cmdpkt.c | 346 …(priv->ieee80211->current_network.mode == IEEE_N_24G && (!priv->ieee80211->pHTInfo->bCurSuppCCK))) in cmdpkt_beacontimerinterrupt_819xusb()
|