Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c637 s8 max_rate_idx = -1; in il3945_rs_get_rate() local
655 max_rate_idx = fls(txrc->rate_idx_mask) - 1; in il3945_rs_get_rate()
656 if (sband->band == NL80211_BAND_5GHZ && max_rate_idx != -1) in il3945_rs_get_rate()
657 max_rate_idx += IL_FIRST_OFDM_RATE; in il3945_rs_get_rate()
658 if (max_rate_idx < 0 || max_rate_idx >= RATE_COUNT) in il3945_rs_get_rate()
659 max_rate_idx = -1; in il3945_rs_get_rate()
679 if (max_rate_idx != -1 && max_rate_idx < idx) { in il3945_rs_get_rate()
680 if (rate_mask & (1 << max_rate_idx)) in il3945_rs_get_rate()
681 idx = max_rate_idx; in il3945_rs_get_rate()
712 if (max_rate_idx != -1 && max_rate_idx < high) in il3945_rs_get_rate()
D4965-rs.c1856 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < idx) { in il4965_rs_rate_scale_perform()
1857 idx = lq_sta->max_rate_idx; in il4965_rs_rate_scale_perform()
1954 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < high) in il4965_rs_rate_scale_perform()
2212 lq_sta->max_rate_idx = fls(txrc->rate_idx_mask) - 1; in il4965_rs_get_rate()
2214 lq_sta->max_rate_idx != -1) in il4965_rs_get_rate()
2215 lq_sta->max_rate_idx += IL_FIRST_OFDM_RATE; in il4965_rs_get_rate()
2216 if (lq_sta->max_rate_idx < 0 || in il4965_rs_get_rate()
2217 lq_sta->max_rate_idx >= RATE_COUNT) in il4965_rs_get_rate()
2218 lq_sta->max_rate_idx = -1; in il4965_rs_get_rate()
2324 lq_sta->max_rate_idx = -1; in il4965_rs_rate_init()
Dcommon.h2824 s8 max_rate_idx; /* Max rate set by user */ member
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Dhal8188e_rate_adaptive.c549 u8 max_rate_idx = 0x13; /* MCS7 */ in ODM_RAInfo_Init() local
556 max_rate_idx = 0x13; in ODM_RAInfo_Init()
558 max_rate_idx = 0x0b; in ODM_RAInfo_Init()
560 max_rate_idx = 0x03; in ODM_RAInfo_Init()
565 WirelessMode, max_rate_idx)); in ODM_RAInfo_Init()
567 pRaInfo->DecisionRate = max_rate_idx; in ODM_RAInfo_Init()
568 pRaInfo->PreRate = max_rate_idx; in ODM_RAInfo_Init()
569 pRaInfo->HighestRate = max_rate_idx; in ODM_RAInfo_Init()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c2323 if ((lq_sta->max_rate_idx != -1) && in rs_rate_scale_perform()
2324 (lq_sta->max_rate_idx < index)) { in rs_rate_scale_perform()
2325 index = lq_sta->max_rate_idx; in rs_rate_scale_perform()
2425 if ((lq_sta->max_rate_idx != -1) && in rs_rate_scale_perform()
2426 (lq_sta->max_rate_idx < high)) in rs_rate_scale_perform()
2723 lq_sta->max_rate_idx = fls(txrc->rate_idx_mask) - 1; in rs_get_rate()
2725 (lq_sta->max_rate_idx != -1)) in rs_get_rate()
2726 lq_sta->max_rate_idx += IWL_FIRST_OFDM_RATE; in rs_get_rate()
2727 if ((lq_sta->max_rate_idx < 0) || in rs_get_rate()
2728 (lq_sta->max_rate_idx >= IWL_RATE_COUNT)) in rs_get_rate()
[all …]
Drs.h366 s8 max_rate_idx; /* Max rate set by user */ member