Searched refs:max_rate_idx (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D3945-rs.c641 s8 max_rate_idx = -1; il3945_rs_get_rate() local
659 max_rate_idx = txrc->max_rate_idx; il3945_rs_get_rate()
660 if (sband->band == IEEE80211_BAND_5GHZ && max_rate_idx != -1) il3945_rs_get_rate()
661 max_rate_idx += IL_FIRST_OFDM_RATE; il3945_rs_get_rate()
662 if (max_rate_idx < 0 || max_rate_idx >= RATE_COUNT) il3945_rs_get_rate()
663 max_rate_idx = -1; il3945_rs_get_rate()
683 if (max_rate_idx != -1 && max_rate_idx < idx) { il3945_rs_get_rate()
684 if (rate_mask & (1 << max_rate_idx)) il3945_rs_get_rate()
685 idx = max_rate_idx; il3945_rs_get_rate()
716 if (max_rate_idx != -1 && max_rate_idx < high) il3945_rs_get_rate()
H A D4965-rs.c1856 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < idx) { il4965_rs_rate_scale_perform()
1857 idx = lq_sta->max_rate_idx; il4965_rs_rate_scale_perform()
1954 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < high) il4965_rs_rate_scale_perform()
2214 lq_sta->max_rate_idx = txrc->max_rate_idx; il4965_rs_get_rate()
2216 lq_sta->max_rate_idx != -1) il4965_rs_get_rate()
2217 lq_sta->max_rate_idx += IL_FIRST_OFDM_RATE; il4965_rs_get_rate()
2218 if (lq_sta->max_rate_idx < 0 || il4965_rs_get_rate()
2219 lq_sta->max_rate_idx >= RATE_COUNT) il4965_rs_get_rate()
2220 lq_sta->max_rate_idx = -1; il4965_rs_get_rate()
2326 lq_sta->max_rate_idx = -1; il4965_rs_rate_init()
H A Dcommon.h2823 s8 max_rate_idx; /* Max rate set by user */ member in struct:il_lq_sta
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A DHal8188ERateAdaptive.c558 u8 max_rate_idx = 0x13; /* MCS7 */ ODM_RAInfo_Init() local
565 max_rate_idx = 0x13; ODM_RAInfo_Init()
567 max_rate_idx = 0x0b; ODM_RAInfo_Init()
569 max_rate_idx = 0x03; ODM_RAInfo_Init()
574 WirelessMode, max_rate_idx)); ODM_RAInfo_Init()
576 pRaInfo->DecisionRate = max_rate_idx; ODM_RAInfo_Init()
577 pRaInfo->PreRate = max_rate_idx; ODM_RAInfo_Init()
578 pRaInfo->HighestRate = max_rate_idx; ODM_RAInfo_Init()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Drs.c2332 if ((lq_sta->max_rate_idx != -1) && rs_rate_scale_perform()
2333 (lq_sta->max_rate_idx < index)) { rs_rate_scale_perform()
2334 index = lq_sta->max_rate_idx; rs_rate_scale_perform()
2434 if ((lq_sta->max_rate_idx != -1) && rs_rate_scale_perform()
2435 (lq_sta->max_rate_idx < high)) rs_rate_scale_perform()
2732 lq_sta->max_rate_idx = txrc->max_rate_idx; rs_get_rate()
2734 (lq_sta->max_rate_idx != -1)) rs_get_rate()
2735 lq_sta->max_rate_idx += IWL_FIRST_OFDM_RATE; rs_get_rate()
2736 if ((lq_sta->max_rate_idx < 0) || rs_get_rate()
2737 (lq_sta->max_rate_idx >= IWL_RATE_COUNT)) rs_get_rate()
2738 lq_sta->max_rate_idx = -1; rs_get_rate()
2836 lq_sta->max_rate_idx = -1; iwl_rs_rate_init()
H A Drs.h366 s8 max_rate_idx; /* Max rate set by user */ member in struct:iwl_lq_sta
/linux-4.1.27/net/mac80211/
H A Dtx.c670 txrc.max_rate_idx = -1; ieee80211_tx_h_rate_ctrl()
672 txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; ieee80211_tx_h_rate_ctrl()
2972 txrc.max_rate_idx = -1; __ieee80211_beacon_get()
2974 txrc.max_rate_idx = fls(txrc.rate_idx_mask) - 1; __ieee80211_beacon_get()
/linux-4.1.27/include/net/
H A Dmac80211.h5056 * @max_rate_idx: user-requested maximum (legacy) rate
5070 u8 max_rate_idx; member in struct:ieee80211_tx_rate_control

Completed in 317 milliseconds