Searched refs:ridx (Results 1 – 3 of 3) sorted by relevance
458 int ridx, rbit; in rate_idx_match_mcs_mask() local460 ridx = *rate_idx / 8; in rate_idx_match_mcs_mask()464 if (ridx < 0 || ridx >= IEEE80211_HT_MCS_MASK_LEN) in rate_idx_match_mcs_mask()468 for (i = ridx; i >= 0; i--) { in rate_idx_match_mcs_mask()478 ridx = (*rate_idx + 1) / 8; in rate_idx_match_mcs_mask()481 for (i = ridx; i < IEEE80211_HT_MCS_MASK_LEN; i++) { in rate_idx_match_mcs_mask()495 int ridx, rbit; in rate_idx_match_vht_mcs_mask() local497 ridx = *rate_idx >> 4; in rate_idx_match_vht_mcs_mask()500 if (ridx < 0 || ridx >= NL80211_VHT_NSS_MAX) in rate_idx_match_vht_mcs_mask()504 for (i = ridx; i >= 0; i--) { in rate_idx_match_vht_mcs_mask()[all …]
1277 int band, ridx, ret; in cfg80211_wext_siwrate() local1299 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()1300 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()1302 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()1307 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
4981 int ridx; in rateset_to_mask() local4983 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()4985 &sband->bitrates[ridx]; in rateset_to_mask()4987 mask |= 1 << ridx; in rateset_to_mask()4991 if (ridx == sband->n_bitrates) in rateset_to_mask()5007 int ridx, rbit; in ht_rateset_to_mask() local5009 ridx = rates[i] / 8; in ht_rateset_to_mask()5013 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()5017 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()5018 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()[all …]