Home
last modified time | relevance | path

Searched refs:ridx (Results 1 – 3 of 3) sorted by relevance

/net/mac80211/
Drate.c458 int ridx, rbit; in rate_idx_match_mcs_mask() local
460 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() local
497 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 …]
/net/wireless/
Dwext-compat.c1277 int band, ridx, ret; in cfg80211_wext_siwrate() local
1299 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()
Dnl80211.c4981 int ridx; in rateset_to_mask() local
4983 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() local
5009 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 …]