Searched refs:max_rate_idx (Results 1 – 6 of 6) sorted by relevance
622 s8 max_rate_idx = -1; in il3945_rs_get_rate() local637 max_rate_idx = fls(txrc->rate_idx_mask) - 1; in il3945_rs_get_rate()638 if (sband->band == NL80211_BAND_5GHZ && max_rate_idx != -1) in il3945_rs_get_rate()639 max_rate_idx += IL_FIRST_OFDM_RATE; in il3945_rs_get_rate()640 if (max_rate_idx < 0 || max_rate_idx >= RATE_COUNT) in il3945_rs_get_rate()641 max_rate_idx = -1; in il3945_rs_get_rate()661 if (max_rate_idx != -1 && max_rate_idx < idx) { in il3945_rs_get_rate()662 if (rate_mask & (1 << max_rate_idx)) in il3945_rs_get_rate()663 idx = max_rate_idx; in il3945_rs_get_rate()694 if (max_rate_idx != -1 && max_rate_idx < high) in il3945_rs_get_rate()
1841 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < idx) { in il4965_rs_rate_scale_perform()1842 idx = lq_sta->max_rate_idx; in il4965_rs_rate_scale_perform()1939 if (lq_sta->max_rate_idx != -1 && lq_sta->max_rate_idx < high) in il4965_rs_rate_scale_perform()2197 lq_sta->max_rate_idx = fls(txrc->rate_idx_mask) - 1; in il4965_rs_get_rate()2199 lq_sta->max_rate_idx != -1) in il4965_rs_get_rate()2200 lq_sta->max_rate_idx += IL_FIRST_OFDM_RATE; in il4965_rs_get_rate()2201 if (lq_sta->max_rate_idx < 0 || in il4965_rs_get_rate()2202 lq_sta->max_rate_idx >= RATE_COUNT) in il4965_rs_get_rate()2203 lq_sta->max_rate_idx = -1; in il4965_rs_get_rate()2305 lq_sta->max_rate_idx = -1; in il4965_rs_rate_init()
2802 s8 max_rate_idx; /* Max rate set by user */ member
538 u8 max_rate_idx = 0x13; /* MCS7 */ in ODM_RAInfo_Init() local545 max_rate_idx = 0x13; in ODM_RAInfo_Init()547 max_rate_idx = 0x0b; in ODM_RAInfo_Init()549 max_rate_idx = 0x03; in ODM_RAInfo_Init()554 __func__, WirelessMode, max_rate_idx)); in ODM_RAInfo_Init()556 pRaInfo->DecisionRate = max_rate_idx; in ODM_RAInfo_Init()557 pRaInfo->PreRate = max_rate_idx; in ODM_RAInfo_Init()558 pRaInfo->HighestRate = max_rate_idx; in ODM_RAInfo_Init()
2308 if ((lq_sta->max_rate_idx != -1) && in rs_rate_scale_perform()2309 (lq_sta->max_rate_idx < index)) { in rs_rate_scale_perform()2310 index = lq_sta->max_rate_idx; in rs_rate_scale_perform()2410 if ((lq_sta->max_rate_idx != -1) && in rs_rate_scale_perform()2411 (lq_sta->max_rate_idx < high)) in rs_rate_scale_perform()2708 lq_sta->max_rate_idx = fls(txrc->rate_idx_mask) - 1; in rs_get_rate()2710 (lq_sta->max_rate_idx != -1)) in rs_get_rate()2711 lq_sta->max_rate_idx += IWL_FIRST_OFDM_RATE; in rs_get_rate()2712 if ((lq_sta->max_rate_idx < 0) || in rs_get_rate()2713 (lq_sta->max_rate_idx >= IWL_RATE_COUNT)) in rs_get_rate()[all …]
351 s8 max_rate_idx; /* Max rate set by user */ member