Home
last modified time | relevance | path

Searched refs:bandwidth_auto_switch (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8192u/
Dr8192U_dm.c428 priv->ieee80211->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in dm_init_bandwidth_autoswitch()
429 priv->ieee80211->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in dm_init_bandwidth_autoswitch()
430 priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_init_bandwidth_autoswitch()
431 priv->ieee80211->bandwidth_auto_switch.bautoswitch_enable = false; in dm_init_bandwidth_autoswitch()
439 …if (priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20 || !priv->ieee80211->bandwidth_auto_switch.bauto… in dm_bandwidth_autoswitch()
441 …if (priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz == false) { /* If send packets in 40 Mh… in dm_bandwidth_autoswitch()
442 …if (priv->undecorated_smoothed_pwdb <= priv->ieee80211->bandwidth_auto_switch.threshold_40Mhzto20M… in dm_bandwidth_autoswitch()
443 priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz = true; in dm_bandwidth_autoswitch()
445 …if (priv->undecorated_smoothed_pwdb >= priv->ieee80211->bandwidth_auto_switch.threshold_20Mhzto40M… in dm_bandwidth_autoswitch()
446 priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_bandwidth_autoswitch()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c370 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in dm_init_bandwidth_autoswitch()
371 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in dm_init_bandwidth_autoswitch()
372 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_init_bandwidth_autoswitch()
373 priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; in dm_init_bandwidth_autoswitch()
381 !priv->rtllib->bandwidth_auto_switch.bautoswitch_enable) in dm_bandwidth_autoswitch()
383 if (priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz == false) { in dm_bandwidth_autoswitch()
385 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz) in dm_bandwidth_autoswitch()
386 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = true; in dm_bandwidth_autoswitch()
389 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz) in dm_bandwidth_autoswitch()
390 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_bandwidth_autoswitch()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c433 if(pHTInfo->bCurBW40MHz && pHTInfo->bCurTxBW40MHz && !ieee->bandwidth_auto_switch.bforced_tx20Mhz) in ieee80211_query_BandwidthMode()
Dieee80211.h2010 bandwidth_autoswitch bandwidth_auto_switch; member
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_tx.c407 !ieee->bandwidth_auto_switch.bforced_tx20Mhz) in rtllib_query_BandwidthMode()
Drtllib.h2280 struct bandwidth_autoswitch bandwidth_auto_switch; member