rate_idx 443 drivers/net/wireless/admtek/adm8211.c rx_status.rate_idx = rate; rate_idx 964 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = ath10k_mac_hw_rate_to_idx(sband, rate, cck); rate_idx 974 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = mcs; rate_idx 1031 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = mcs; rate_idx 1213 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx = 0; rate_idx 1304 drivers/net/wireless/ath/ath10k/htt_rx.c status->rate_idx, rate_idx 3458 drivers/net/wireless/ath/ath10k/htt_rx.c s8 rate_idx = 0; rate_idx 3497 drivers/net/wireless/ath/ath10k/htt_rx.c rate_idx = ath10k_get_legacy_rate_idx(ar, rate); rate_idx 3498 drivers/net/wireless/ath/ath10k/htt_rx.c if (rate_idx < 0) rate_idx 3514 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].idx = rate_idx - 4; rate_idx 3517 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->tx_info.status.rates[0].idx = rate_idx; rate_idx 3566 drivers/net/wireless/ath/ath10k/htt_rx.c rate_idx); rate_idx 7277 drivers/net/wireless/ath/ath10k/mac.c int rate_idx; rate_idx 7287 drivers/net/wireless/ath/ath10k/mac.c rate_idx = ffs(mask->control[band].legacy) - 1; rate_idx 7290 drivers/net/wireless/ath/ath10k/mac.c rate_idx += ATH10K_MAC_FIRST_OFDM_RATE_IDX; rate_idx 7292 drivers/net/wireless/ath/ath10k/mac.c hw_rate = ath10k_wmi_legacy_rates[rate_idx].hw_value; rate_idx 7293 drivers/net/wireless/ath/ath10k/mac.c bitrate = ath10k_wmi_legacy_rates[rate_idx].bitrate; rate_idx 2515 drivers/net/wireless/ath/ath10k/wmi.c status->rate_idx = ath10k_mac_bitrate_to_idx(sband, rate / 100); rate_idx 2552 drivers/net/wireless/ath/ath10k/wmi.c status->rate_idx); rate_idx 4586 drivers/net/wireless/ath/ath10k/wmi.c u32 rate_idx, u32 num_chains, rate_idx 4595 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, ev->rates_array[rate_idx], ev->max_reg_allow_pow[ch]); rate_idx 4698 drivers/net/wireless/ath/ath10k/wmi.c u8 rate_idx; rate_idx 4701 drivers/net/wireless/ath/ath10k/wmi.c rate_idx = 0; rate_idx 4706 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4708 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4710 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4715 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4717 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4719 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4725 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4727 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4730 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4736 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4738 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4741 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4747 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4749 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4752 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4758 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4760 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4763 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4769 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx] = rate_idx 4771 drivers/net/wireless/ath/ath10k/wmi.c rate_idx++; rate_idx 4774 drivers/net/wireless/ath/ath10k/wmi.c pream_table[pream_idx] = rate_idx; rate_idx 4777 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx++] = rate_idx 4779 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx++] = rate_idx 4781 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx++] = rate_idx 4783 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx++] = rate_idx 4785 drivers/net/wireless/ath/ath10k/wmi.c rate_code[rate_idx++] = rate_idx 4857 drivers/net/wireless/ath/ath10k/wmi.c u32 rate_idx, u32 num_chains, rate_idx 4928 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, ev->rates_array[rate_idx], rate_idx 4931 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, min_t(u8, ev->rates_array[rate_idx], rate_idx 1271 drivers/net/wireless/ath/ath5k/ath5k.h s8 rate_idx[NUM_NL80211_BANDS][AR5K_MAX_RATES]; rate_idx 349 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][i] = -1; rate_idx 352 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][b->bitrates[i].hw_value] = i; rate_idx 354 drivers/net/wireless/ath/ath5k/base.c ah->rate_idx[b->band][b->bitrates[i].hw_value_short] = i; rate_idx 585 drivers/net/wireless/ath/ath5k/base.c rix = ah->rate_idx[ah->curchan->band][hw_rix]; rate_idx 1412 drivers/net/wireless/ath/ath5k/base.c rxs->rate_idx = ath5k_hw_to_driver_rix(ah, rs->rs_rate); rate_idx 1426 drivers/net/wireless/ath/ath5k/base.c ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) rate_idx 497 drivers/net/wireless/ath/ath6kl/wmi.c msg_v1->rate_idx, msg_v1->ack_failures); rate_idx 2221 drivers/net/wireless/ath/ath6kl/wmi.h u8 rate_idx; rate_idx 193 drivers/net/wireless/ath/ath9k/common.c rxs->rate_idx = rx_stats->rs_rate & 0x7f; rate_idx 199 drivers/net/wireless/ath/ath9k/common.c rxs->rate_idx = i; rate_idx 204 drivers/net/wireless/ath/ath9k/common.c rxs->rate_idx = i; rate_idx 116 drivers/net/wireless/ath/ath9k/debug_sta.c if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats)) rate_idx 120 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ht_stats[rxs->rate_idx].ht40_cnt++; rate_idx 122 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ht_stats[rxs->rate_idx].ht20_cnt++; rate_idx 125 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ht_stats[rxs->rate_idx].sgi_cnt++; rate_idx 127 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ht_stats[rxs->rate_idx].lgi_cnt++; rate_idx 134 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->cck_stats[rxs->rate_idx].cck_sp_cnt++; rate_idx 136 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->cck_stats[rxs->rate_idx].cck_lp_cnt++; rate_idx 143 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ofdm_stats[rxs->rate_idx - 4].ofdm_cnt++; rate_idx 145 drivers/net/wireless/ath/ath9k/debug_sta.c rstats->ofdm_stats[rxs->rate_idx].ofdm_cnt++; rate_idx 1044 drivers/net/wireless/ath/ath9k/recv.c airtime += ath_pkt_duration(sc, rxs->rate_idx, len, rate_idx 1049 drivers/net/wireless/ath/ath9k/recv.c rate = &common->sbands[rxs->band].bitrates[rxs->rate_idx]; rate_idx 1051 drivers/net/wireless/ath/ath9k/recv.c len, rxs->rate_idx, is_sp); rate_idx 364 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 0; rate_idx 367 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 1; rate_idx 370 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 2; rate_idx 373 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 3; rate_idx 389 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 0; rate_idx 392 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 1; rate_idx 395 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 2; rate_idx 398 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 3; rate_idx 401 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 4; rate_idx 404 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 5; rate_idx 407 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 6; rate_idx 410 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = 7; rate_idx 421 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx += 4; rate_idx 430 drivers/net/wireless/ath/carl9170/rx.c status->rate_idx = clamp(head->plcp[3] & 0x7f, 0, 75); rate_idx 64 drivers/net/wireless/ath/wcn36xx/txrx.c status.rate_idx = 1; rate_idx 656 drivers/net/wireless/broadcom/b43/xmit.c int padding, rate_idx; rate_idx 757 drivers/net/wireless/broadcom/b43/xmit.c rate_idx = b43_plcp_get_bitrate_idx_ofdm(plcp, rate_idx 760 drivers/net/wireless/broadcom/b43/xmit.c rate_idx = b43_plcp_get_bitrate_idx_cck(plcp); rate_idx 761 drivers/net/wireless/broadcom/b43/xmit.c if (unlikely(rate_idx == -1)) { rate_idx 767 drivers/net/wireless/broadcom/b43/xmit.c status.rate_idx = rate_idx; rate_idx 525 drivers/net/wireless/broadcom/b43legacy/xmit.c status.rate_idx = b43legacy_plcp_get_bitrate_idx_ofdm(plcp, false); rate_idx 527 drivers/net/wireless/broadcom/b43legacy/xmit.c status.rate_idx = b43legacy_plcp_get_bitrate_idx_cck(plcp); rate_idx 7082 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = rspec & RSPEC_RATE_MASK; rate_idx 7089 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 0; rate_idx 7092 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 1; rate_idx 7095 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 2; rate_idx 7098 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 3; rate_idx 7101 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 4; rate_idx 7104 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 5; rate_idx 7107 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 6; rate_idx 7110 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 7; rate_idx 7113 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 8; rate_idx 7116 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 9; rate_idx 7119 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 10; rate_idx 7122 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx = 11; rate_idx 7135 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c rx_status->rate_idx -= BRCMS_LEGACY_5G_RATE_OFFSET; rate_idx 80 drivers/net/wireless/intel/iwlegacy/3945.c il3945_get_prev_ieee_rate(u8 rate_idx) rate_idx 82 drivers/net/wireless/intel/iwlegacy/3945.c u8 rate = il3945_rates[rate_idx].prev_ieee; rate_idx 85 drivers/net/wireless/intel/iwlegacy/3945.c rate = rate_idx; rate_idx 308 drivers/net/wireless/intel/iwlegacy/3945.c int rate_idx; rate_idx 336 drivers/net/wireless/intel/iwlegacy/3945.c rate_idx = il3945_hwrate_to_plcp_idx(tx_resp->rate); rate_idx 338 drivers/net/wireless/intel/iwlegacy/3945.c rate_idx -= IL_FIRST_OFDM_RATE; rate_idx 342 drivers/net/wireless/intel/iwlegacy/3945.c info->status.rates[0].idx = rate_idx; rate_idx 548 drivers/net/wireless/intel/iwlegacy/3945.c rx_status.rate_idx = il3945_hwrate_to_plcp_idx(rx_hdr->rate); rate_idx 550 drivers/net/wireless/intel/iwlegacy/3945.c rx_status.rate_idx -= IL_FIRST_OFDM_RATE; rate_idx 584 drivers/net/wireless/intel/iwlegacy/3945.c rx_status.signal, rx_status.signal, rx_status.rate_idx); rate_idx 688 drivers/net/wireless/intel/iwlegacy/3945.c u16 rate_idx = min(hw_value & 0xffff, RATE_COUNT_3945 - 1); rate_idx 697 drivers/net/wireless/intel/iwlegacy/3945.c rate = il3945_rates[rate_idx].plcp; rate_idx 1325 drivers/net/wireless/intel/iwlegacy/3945.c il3945_hw_reg_set_scan_power(struct il_priv *il, u32 scan_tbl_idx, s32 rate_idx, rate_idx 1349 drivers/net/wireless/intel/iwlegacy/3945.c ch_info->power_info[rate_idx].power_table_idx - (power - rate_idx 1384 drivers/net/wireless/intel/iwlegacy/3945.c int rate_idx, i; rate_idx 1413 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = IL_FIRST_OFDM_RATE, i = 0; rate_idx 1414 drivers/net/wireless/intel/iwlegacy/3945.c rate_idx <= IL39_LAST_OFDM_RATE; rate_idx++, i++) { rate_idx 1417 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; rate_idx 1425 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = IL_FIRST_CCK_RATE; rate_idx <= IL_LAST_CCK_RATE; rate_idx 1426 drivers/net/wireless/intel/iwlegacy/3945.c rate_idx++, i++) { rate_idx 1428 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; rate_idx 1558 drivers/net/wireless/intel/iwlegacy/3945.c u8 rate_idx; rate_idx 1582 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = 0; rate_idx < RATE_COUNT_3945; rate_idx++) { rate_idx 1584 drivers/net/wireless/intel/iwlegacy/3945.c ch_info->power_info[rate_idx].base_power_idx; rate_idx 1591 drivers/net/wireless/intel/iwlegacy/3945.c ch_info->power_info[rate_idx].power_table_idx = rate_idx 1593 drivers/net/wireless/intel/iwlegacy/3945.c ch_info->power_info[rate_idx].tpc = rate_idx 1975 drivers/net/wireless/intel/iwlegacy/3945.c s32 rate_idx; rate_idx 2009 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = 0; rate_idx < RATE_COUNT_3945; rate_idx 2010 drivers/net/wireless/intel/iwlegacy/3945.c rate_idx++, clip_pwrs++) { rate_idx 2011 drivers/net/wireless/intel/iwlegacy/3945.c switch (rate_idx) { rate_idx 2060 drivers/net/wireless/intel/iwlegacy/3945.c u8 rate_idx; rate_idx 2102 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = 0; rate_idx < IL_OFDM_RATES; rate_idx++) { rate_idx 2109 drivers/net/wireless/intel/iwlegacy/3945.c clip_pwrs[rate_idx]); rate_idx 2111 drivers/net/wireless/intel/iwlegacy/3945.c pwr_info = &ch_info->power_info[rate_idx]; rate_idx 2155 drivers/net/wireless/intel/iwlegacy/3945.c for (rate_idx = 0; rate_idx < IL_CCK_RATES; rate_idx++) { rate_idx 2157 drivers/net/wireless/intel/iwlegacy/3945.c &ch_info->power_info[rate_idx + IL_OFDM_RATES]; rate_idx 680 drivers/net/wireless/intel/iwlegacy/4965-mac.c rx_status.rate_idx = rate_idx 1544 drivers/net/wireless/intel/iwlegacy/4965-mac.c int rate_idx; rate_idx 1571 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_idx = info->control.rates[0].idx; rate_idx 1572 drivers/net/wireless/intel/iwlegacy/4965-mac.c if ((info->control.rates[0].flags & IEEE80211_TX_RC_MCS) || rate_idx < 0 rate_idx 1573 drivers/net/wireless/intel/iwlegacy/4965-mac.c || rate_idx > RATE_COUNT_LEGACY) rate_idx 1574 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_idx = rate_lowest_index(&il->bands[info->band], sta); rate_idx 1577 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_idx += IL_FIRST_OFDM_RATE; rate_idx 1579 drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_plcp = il_rates[rate_idx].plcp; rate_idx 1584 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (rate_idx >= IL_FIRST_CCK_RATE && rate_idx <= IL_LAST_CCK_RATE) rate_idx 538 drivers/net/wireless/intel/iwlegacy/4965-rs.c struct il_scale_tbl_info *tbl, int *rate_idx) rate_idx 546 drivers/net/wireless/intel/iwlegacy/4965-rs.c *rate_idx = il4965_hwrate_to_plcp_idx(rate_n_flags); rate_idx 548 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (*rate_idx == RATE_INVALID) { rate_idx 549 drivers/net/wireless/intel/iwlegacy/4965-rs.c *rate_idx = -1; rate_idx 2136 drivers/net/wireless/intel/iwlegacy/4965-rs.c int rate_idx; rate_idx 2169 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_tbl_info_from_mcs(rate, il->band, tbl, &rate_idx); rate_idx 2173 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate = il4965_rate_n_flags_from_tbl(il, tbl, rate_idx, use_green); rate_idx 2191 drivers/net/wireless/intel/iwlegacy/4965-rs.c int rate_idx; rate_idx 2215 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx = lq_sta->last_txrate_idx; rate_idx 2218 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx -= IL_FIRST_OFDM_RATE; rate_idx 2220 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx = (rate_idx > 0) ? (rate_idx - 1) : 0; rate_idx 2223 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx = rate_idx + MCS_IDX_PER_STREAM; rate_idx 2239 drivers/net/wireless/intel/iwlegacy/4965-rs.c if (rate_idx < 0 || rate_idx >= RATE_COUNT_LEGACY || rate_idx 2241 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx < IL_FIRST_OFDM_RATE)) rate_idx 2242 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx = rate_lowest_index(sband, sta); rate_idx 2245 drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_idx -= IL_FIRST_OFDM_RATE; rate_idx 2248 drivers/net/wireless/intel/iwlegacy/4965-rs.c info->control.rates[0].idx = rate_idx; rate_idx 2361 drivers/net/wireless/intel/iwlegacy/4965-rs.c int rate_idx; rate_idx 2373 drivers/net/wireless/intel/iwlegacy/4965-rs.c &rate_idx); rate_idx 2428 drivers/net/wireless/intel/iwlegacy/4965-rs.c &tbl_type, &rate_idx); rate_idx 2438 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_get_lower_rate(lq_sta, &tbl_type, rate_idx, rate_idx 586 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int *rate_idx) rate_idx 593 drivers/net/wireless/intel/iwlwifi/dvm/rs.c *rate_idx = iwl_hwrate_to_plcp_idx(rate_n_flags); rate_idx 595 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (*rate_idx == IWL_RATE_INVALID) { rate_idx 596 drivers/net/wireless/intel/iwlwifi/dvm/rs.c *rate_idx = -1; rate_idx 2643 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int rate_idx; rate_idx 2679 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_get_tbl_info_from_mcs(rate, priv->band, tbl, &rate_idx); rate_idx 2683 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate = rate_n_flags_from_tbl(priv, tbl, rate_idx, use_green); rate_idx 2702 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int rate_idx; rate_idx 2723 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx = lq_sta->last_txrate_idx; rate_idx 2726 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx -= IWL_FIRST_OFDM_RATE; rate_idx 2728 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx = (rate_idx > 0) ? (rate_idx - 1) : 0; rate_idx 2731 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx = rate_idx + (2 * MCS_INDEX_PER_STREAM); rate_idx 2734 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx = rate_idx + MCS_INDEX_PER_STREAM; rate_idx 2746 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if ((rate_idx < 0) || (rate_idx >= IWL_RATE_COUNT_LEGACY) || rate_idx 2748 drivers/net/wireless/intel/iwlwifi/dvm/rs.c (rate_idx < IWL_FIRST_OFDM_RATE))) rate_idx 2749 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx = rate_lowest_index(sband, sta); rate_idx 2752 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_idx -= IWL_FIRST_OFDM_RATE; rate_idx 2755 drivers/net/wireless/intel/iwlwifi/dvm/rs.c info->control.rates[0].idx = rate_idx; rate_idx 2879 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int rate_idx; rate_idx 2893 drivers/net/wireless/intel/iwlwifi/dvm/rs.c &tbl_type, &rate_idx); rate_idx 2959 drivers/net/wireless/intel/iwlwifi/dvm/rs.c &rate_idx); rate_idx 2974 drivers/net/wireless/intel/iwlwifi/dvm/rs.c new_rate = rs_get_lower_rate(lq_sta, &tbl_type, rate_idx, rate_idx 828 drivers/net/wireless/intel/iwlwifi/dvm/rx.c rx_status.rate_idx = rate_idx 116 drivers/net/wireless/intel/iwlwifi/dvm/tx.c int rate_idx; rate_idx 157 drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_idx = info->control.rates[0].idx; rate_idx 159 drivers/net/wireless/intel/iwlwifi/dvm/tx.c (rate_idx < 0) || (rate_idx > IWL_RATE_COUNT_LEGACY)) rate_idx 160 drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_idx = rate_lowest_index( rate_idx 164 drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_idx += IWL_FIRST_OFDM_RATE; rate_idx 166 drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_plcp = iwl_rates[rate_idx].plcp; rate_idx 171 drivers/net/wireless/intel/iwlwifi/dvm/tx.c if ((rate_idx >= IWL_FIRST_CCK_RATE) && (rate_idx <= IWL_LAST_CCK_RATE)) rate_idx 1492 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h u8 iwl_mvm_mac80211_idx_to_hwrate(int rate_idx); rate_idx 1379 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int rate_idx; rate_idx 1393 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx = find_first_bit(&rate_mask, BITS_PER_LONG); rate_idx 1395 drivers/net/wireless/intel/iwlwifi/mvm/rs.c while (rate_idx != IWL_RATE_INVALID) { rate_idx 1396 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (target_tpt < (100 * tpt_tbl[rate_idx])) rate_idx 1399 drivers/net/wireless/intel/iwlwifi/mvm/rs.c high_low = rs_get_adjacent_rate(mvm, rate_idx, rate_mask, rate_idx 1402 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx = (high_low >> 8) & 0xff; rate_idx 1406 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx, target_tpt, rate_idx 1407 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx != IWL_RATE_INVALID ? rate_idx 1408 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 100 * tpt_tbl[rate_idx] : IWL_INVALID_VALUE); rate_idx 1410 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return rate_idx; rate_idx 1721 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u32 rate_idx = 0; rate_idx 1761 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx = rs_get_best_rate(mvm, lq_sta, search_tbl, rate_idx 1764 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if ((rate_idx == IWL_RATE_INVALID) || rate_idx 1765 drivers/net/wireless/intel/iwlwifi/mvm/rs.c !(BIT(rate_idx) & rate_mask)) { rate_idx 1769 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_idx, rate_mask); rate_idx 1774 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; rate_idx 2373 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 rate_idx; rate_idx 2510 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int rate_idx = lq_sta->optimal_rates[i].rate_idx; rate_idx 2513 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (BIT(rate_idx) & lq_sta->optimal_rate_mask)) { rate_idx 2514 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; rate_idx 2626 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int rate_idx = initial_rates[i].rate_idx; rate_idx 2629 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (BIT(rate_idx) & active_rate)) { rate_idx 2630 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; rate_idx 523 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->rate_idx = rate_n_flags & RATE_HT_MCS_INDEX_MSK; rate_idx 531 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->rate_idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; rate_idx 546 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->rate_idx = rate; rate_idx 1455 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; rate_idx 1825 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate_n_flags & RATE_HT_MCS_INDEX_MSK; rate_idx 1833 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; rate_idx 1848 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate; rate_idx 1978 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate_n_flags & RATE_HT_MCS_INDEX_MSK; rate_idx 1983 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; rate_idx 2010 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->rate_idx = rate; rate_idx 328 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int rate_idx; rate_idx 338 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rate_idx = info->control.rates[0].idx; rate_idx 340 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (rate_idx < 0 || rate_idx >= IWL_RATE_COUNT_LEGACY) rate_idx 341 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rate_idx = rate_lowest_index( rate_idx 346 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rate_idx += IWL_FIRST_OFDM_RATE; rate_idx 352 drivers/net/wireless/intel/iwlwifi/mvm/tx.c rate_plcp = iwl_mvm_mac80211_idx_to_hwrate(rate_idx); rate_idx 355 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if ((rate_idx >= IWL_FIRST_CCK_RATE) && (rate_idx <= IWL_LAST_CCK_RATE)) rate_idx 229 drivers/net/wireless/intel/iwlwifi/mvm/utils.c u8 iwl_mvm_mac80211_idx_to_hwrate(int rate_idx) rate_idx 232 drivers/net/wireless/intel/iwlwifi/mvm/utils.c return fw_rate_idx_to_plcp[rate_idx]; rate_idx 358 drivers/net/wireless/intersil/p54/txrx.c rx_status->rate_idx = (rate < 4) ? 0 : rate - 4; rate_idx 360 drivers/net/wireless/intersil/p54/txrx.c rx_status->rate_idx = rate; rate_idx 1232 drivers/net/wireless/mac80211_hwsim.c rx_status.rate_idx = rate_idx 1238 drivers/net/wireless/mac80211_hwsim.c rx_status.rate_idx = info->control.rates[0].idx; rate_idx 3390 drivers/net/wireless/mac80211_hwsim.c rx_status.rate_idx = nla_get_u32(info->attrs[HWSIM_ATTR_RX_RATE]); rate_idx 514 drivers/net/wireless/marvell/libertas_tf/main.c stats.rate_idx = prxpd->rx_rate; rate_idx 1008 drivers/net/wireless/marvell/mwl8k.c status->rate_idx = MWL8K_AP_RATE_INFO_RATEID(rxd->rate); rate_idx 1014 drivers/net/wireless/marvell/mwl8k.c status->rate_idx = i; rate_idx 1023 drivers/net/wireless/marvell/mwl8k.c status->rate_idx >= MWL8K_LEGACY_5G_RATE_OFFSET) rate_idx 1024 drivers/net/wireless/marvell/mwl8k.c status->rate_idx -= MWL8K_LEGACY_5G_RATE_OFFSET; rate_idx 1118 drivers/net/wireless/marvell/mwl8k.c status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); rate_idx 1132 drivers/net/wireless/marvell/mwl8k.c status->rate_idx >= MWL8K_LEGACY_5G_RATE_OFFSET) rate_idx 1133 drivers/net/wireless/marvell/mwl8k.c status->rate_idx -= MWL8K_LEGACY_5G_RATE_OFFSET; rate_idx 500 drivers/net/wireless/mediatek/mt76/mac80211.c status->rate_idx = mstat.rate_idx; rate_idx 527 drivers/net/wireless/mediatek/mt76/mt76.h u8 rate_idx; rate_idx 506 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->rate_idx = i; rate_idx 553 drivers/net/wireless/mediatek/mt76/mt7603/mac.c u8 phy, nss, rate_idx; rate_idx 558 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rate_idx = rate->idx; rate_idx 578 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rate_idx = val & 0xff; rate_idx 581 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rateval = (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | rate_idx 153 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->rate_idx = i; rate_idx 254 drivers/net/wireless/mediatek/mt76/mt7615/mac.c u8 phy, nss, rate_idx; rate_idx 260 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rate_idx = ieee80211_rate_get_vht_mcs(rate); rate_idx 270 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rate_idx = rate->idx; rate_idx 290 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rate_idx = val & 0xff; rate_idx 298 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rateval |= (FIELD_PREP(MT_TX_RATE_IDX, rate_idx) | rate_idx 161 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 phy, rate_idx, nss, bw = 0; rate_idx 165 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rate_idx = rate->idx; rate_idx 173 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rate_idx = rate->idx; rate_idx 192 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rate_idx = val & 0xff; rate_idx 196 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rateval = FIELD_PREP(MT_RXWI_RATE_INDEX, rate_idx); rate_idx 607 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->rate_idx = idx; rate_idx 618 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->rate_idx = idx; rate_idx 625 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->rate_idx = idx; rate_idx 631 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->rate_idx = FIELD_GET(MT_RATE_INDEX_VHT_IDX, idx); rate_idx 108 drivers/net/wireless/mediatek/mt7601u/mac.c u8 phy, rate_idx; rate_idx 113 drivers/net/wireless/mediatek/mt7601u/mac.c rate_idx = rate->idx; rate_idx 132 drivers/net/wireless/mediatek/mt7601u/mac.c rate_idx = val & 0xff; rate_idx 136 drivers/net/wireless/mediatek/mt7601u/mac.c rateval = FIELD_PREP(MT_RXWI_RATE_MCS, rate_idx); rate_idx 407 drivers/net/wireless/mediatek/mt7601u/mac.c status->rate_idx = idx; rate_idx 418 drivers/net/wireless/mediatek/mt7601u/mac.c status->rate_idx = idx; rate_idx 425 drivers/net/wireless/mediatek/mt7601u/mac.c status->rate_idx = idx; rate_idx 311 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c u8 rate_idx, rate_flags, retry_rates; rate_idx 314 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rate_idx = skbdesc->tx_rate_idx; rate_idx 332 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c tx_info->status.rates[i].idx = rate_idx - i; rate_idx 335 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c if (rate_idx - i == 0) { rate_idx 744 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c int rate_idx; rate_idx 811 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rate_idx = rt2x00lib_rxdone_read_signal(rt2x00dev, &rxdesc); rate_idx 851 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c rx_status->rate_idx = rate_idx; rate_idx 608 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c u8 rate_idx, rate_flags; rate_idx 624 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c rate_idx = tx_info->control.rates[0].idx; rate_idx 628 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c skbdesc->tx_rate_idx = rate_idx; rate_idx 280 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c rx_status.rate_idx = (flags >> 20) & 0xF; rate_idx 285 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c if (rx_status.rate_idx > 3) rate_idx 299 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c if (rx_status.rate_idx > 3) { rate_idx 382 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c rx_status.rate_idx = rate; rate_idx 4466 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c u8 rate_idx = 0; rate_idx 4479 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rate_idx++; rate_idx 4481 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rtl8xxxu_write8(priv, REG_INIRTS_RATE_SEL, rate_idx); rate_idx 5271 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->rate_idx = rx_desc->rxmcs - DESC_RATE_MCS0; rate_idx 5273 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->rate_idx = rx_desc->rxmcs; rate_idx 5341 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->rate_idx = rx_desc->rxmcs - DESC_RATE_MCS0; rate_idx 5343 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c rx_status->rate_idx = rx_desc->rxmcs; rate_idx 983 drivers/net/wireless/realtek/rtlwifi/base.c int rate_idx; rate_idx 988 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 991 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 1; rate_idx 994 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 2; rate_idx 997 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 3; rate_idx 1000 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 4; rate_idx 1003 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 5; rate_idx 1006 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 6; rate_idx 1009 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 7; rate_idx 1012 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 8; rate_idx 1015 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 9; rate_idx 1018 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1021 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 1; rate_idx 1024 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 2; rate_idx 1027 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 3; rate_idx 1030 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 4; rate_idx 1033 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 5; rate_idx 1036 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 6; rate_idx 1039 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 7; rate_idx 1042 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 8; rate_idx 1045 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 9; rate_idx 1048 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1051 drivers/net/wireless/realtek/rtlwifi/base.c return rate_idx; rate_idx 1057 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1060 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 1; rate_idx 1063 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 2; rate_idx 1066 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 3; rate_idx 1069 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 4; rate_idx 1072 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 5; rate_idx 1075 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 6; rate_idx 1078 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 7; rate_idx 1081 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 8; rate_idx 1084 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 9; rate_idx 1087 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 10; rate_idx 1090 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 11; rate_idx 1093 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1099 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1102 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 1; rate_idx 1105 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 2; rate_idx 1108 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 3; rate_idx 1111 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 4; rate_idx 1114 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 5; rate_idx 1117 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 6; rate_idx 1120 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 7; rate_idx 1123 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1130 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1133 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 1; rate_idx 1136 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 2; rate_idx 1139 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 3; rate_idx 1142 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 4; rate_idx 1145 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 5; rate_idx 1148 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 6; rate_idx 1151 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 7; rate_idx 1154 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 8; rate_idx 1157 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 9; rate_idx 1160 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 10; rate_idx 1163 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 11; rate_idx 1166 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 12; rate_idx 1169 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 13; rate_idx 1172 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 14; rate_idx 1175 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 15; rate_idx 1178 drivers/net/wireless/realtek/rtlwifi/base.c rate_idx = 0; rate_idx 1182 drivers/net/wireless/realtek/rtlwifi/base.c return rate_idx; rate_idx 1355 drivers/net/wireless/realtek/rtlwifi/base.c rx_status.rate_idx = 0; rate_idx 454 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, rate_idx 363 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, rate_idx 321 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, rate_idx 388 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats.is_ht, rate_idx 476 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, rate_idx 407 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, rate_idx 295 drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, rate_idx 327 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, rate_idx 383 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, rate_idx 533 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, rate_idx 1860 drivers/net/wireless/realtek/rtw88/phy.c u8 base_idx, rate_idx; rate_idx 1872 drivers/net/wireless/realtek/rtw88/phy.c rate_idx = rates[rate]; rate_idx 1873 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_by_rate_offset_2g[path][rate_idx] -= base_2g; rate_idx 1874 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_by_rate_offset_5g[path][rate_idx] -= base_5g; rate_idx 872 drivers/net/wireless/realtek/rtw88/rtw8822b.c u8 rate, rate_idx, pwr_index, shift; rate_idx 881 drivers/net/wireless/realtek/rtw88/rtw8822b.c rate_idx = rate & 0xfc; rate_idx 882 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write32(rtwdev, offset_txagc[path] + rate_idx, rate_idx 1759 drivers/net/wireless/realtek/rtw88/rtw8822c.c u8 rate_idx = rate & 0xfc; rate_idx 1773 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write32_mask(rtwdev, offset_txagc + rate_idx, MASKDWORD, rate_idx 111 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATEVHT1SS_MCS0; rate_idx 115 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATEVHT2SS_MCS0; rate_idx 119 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATEVHT3SS_MCS0; rate_idx 123 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATEVHT4SS_MCS0; rate_idx 126 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATEMCS0; rate_idx 130 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATE6M; rate_idx 134 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = pkt_stat->rate - DESC_RATE1M; rate_idx 136 drivers/net/wireless/realtek/rtw88/rx.c rx_status->rate_idx = 0; rate_idx 1086 drivers/net/wireless/st/cw1200/txrx.c hdr->rate_idx = arg->rx_rate - 14; rate_idx 1088 drivers/net/wireless/st/cw1200/txrx.c hdr->rate_idx = arg->rx_rate - 2; rate_idx 1090 drivers/net/wireless/st/cw1200/txrx.c hdr->rate_idx = arg->rx_rate; rate_idx 88 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 1; rate_idx 91 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 2; rate_idx 94 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 3; rate_idx 97 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 4; rate_idx 100 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 5; rate_idx 103 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 7; rate_idx 106 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 8; rate_idx 109 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 9; rate_idx 112 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 10; rate_idx 115 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 11; rate_idx 123 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 0; rate_idx 126 drivers/net/wireless/ti/wl1251/rx.c status->rate_idx = 6; rate_idx 57 drivers/net/wireless/ti/wlcore/rx.c status->rate_idx = wlcore_rate_to_idx(wl, desc->rate, status->band); rate_idx 255 drivers/net/wireless/ti/wlcore/tx.c int ac, rate_idx; rate_idx 312 drivers/net/wireless/ti/wlcore/tx.c rate_idx = 0; rate_idx 320 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->sta.basic_rate_idx; rate_idx 322 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->sta.p2p_rate_idx; rate_idx 324 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->sta.ap_rate_idx; rate_idx 326 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->sta.basic_rate_idx; rate_idx 329 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->ap.mgmt_rate_idx; rate_idx 337 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->ap.bcast_rate_idx; rate_idx 339 drivers/net/wireless/ti/wlcore/tx.c rate_idx = wlvif->ap.ucast_rate_idx[ac]; rate_idx 342 drivers/net/wireless/ti/wlcore/tx.c tx_attr |= rate_idx << TX_HW_ATTR_OFST_RATE_POLICY; rate_idx 1065 drivers/net/wireless/zydas/zd1211rw/zd_mac.c stats.rate_idx = i; rate_idx 1161 drivers/staging/rtl8188eu/core/rtw_wlan_util.c unsigned char rate_idx = 0; rate_idx 1165 drivers/staging/rtl8188eu/core/rtw_wlan_util.c rate_idx = i; rate_idx 1169 drivers/staging/rtl8188eu/core/rtw_wlan_util.c return rate_idx; rate_idx 1601 drivers/staging/rtl8723bs/core/rtw_wlan_util.c unsigned char rate_idx = 0; rate_idx 1605 drivers/staging/rtl8723bs/core/rtw_wlan_util.c rate_idx = i; rate_idx 1610 drivers/staging/rtl8723bs/core/rtw_wlan_util.c return rate_idx; rate_idx 39 drivers/staging/vt6655/dpc.c u8 rate_idx = 0; rate_idx 65 drivers/staging/vt6655/dpc.c rate_idx = ii; rate_idx 102 drivers/staging/vt6655/dpc.c rx_status.rate_idx = rate_idx; rate_idx 88 drivers/staging/vt6656/card.c static u16 vnt_get_cck_rate(struct vnt_private *priv, u16 rate_idx) rate_idx 90 drivers/staging/vt6656/card.c u16 ui = rate_idx; rate_idx 114 drivers/staging/vt6656/card.c static u16 vnt_get_ofdm_rate(struct vnt_private *priv, u16 rate_idx) rate_idx 116 drivers/staging/vt6656/card.c u16 ui = rate_idx; rate_idx 123 drivers/staging/vt6656/card.c __func__, rate_idx); rate_idx 124 drivers/staging/vt6656/card.c if (rate_idx > RATE_24M) rate_idx 125 drivers/staging/vt6656/card.c rate_idx = RATE_24M; rate_idx 126 drivers/staging/vt6656/card.c return rate_idx; rate_idx 44 drivers/staging/vt6656/dpc.c u8 rate_idx = 0; rate_idx 97 drivers/staging/vt6656/dpc.c rate_idx = ii; rate_idx 151 drivers/staging/vt6656/dpc.c rx_status.rate_idx = rate_idx; rate_idx 611 drivers/video/fbdev/sis/sis.h u8 rate_idx; rate_idx 594 drivers/video/fbdev/sis/sis_main.c int mode_idx, int rate_idx, int rate) rate_idx 631 drivers/video/fbdev/sis/sis_main.c &htotal, &vtotal, rate_idx)) { rate_idx 723 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = 0; rate_idx 727 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; rate_idx 733 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; rate_idx 739 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i-1].idx; rate_idx 746 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisfb_vrate[i].idx; rate_idx 752 drivers/video/fbdev/sis/sis_main.c if(ivideo->rate_idx > 0) { rate_idx 753 drivers/video/fbdev/sis/sis_main.c return ivideo->rate_idx; rate_idx 1288 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisbios_mode[ivideo->sisfb_mode_idx].rate_idx; rate_idx 1586 drivers/video/fbdev/sis/sis_main.c if(!myrateindex) myrateindex = sisbios_mode[search_idx].rate_idx; rate_idx 3537 drivers/video/fbdev/sis/sis_main.c cr33 = ivideo->rate_idx & 0x0F; rate_idx 3650 drivers/video/fbdev/sis/sis_main.c cr33 |= (sisbios_mode[ivideo->sisfb_mode_idx].rate_idx << 4); rate_idx 3652 drivers/video/fbdev/sis/sis_main.c cr33 |= ((ivideo->rate_idx & 0x0F) << 4); rate_idx 6400 drivers/video/fbdev/sis/sis_main.c if(ivideo->rate_idx == 0) { rate_idx 6401 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx = sisbios_mode[ivideo->sisfb_mode_idx].rate_idx; rate_idx 6408 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx, rate_idx 6433 drivers/video/fbdev/sis/sis_main.c sisfb_mode_rate_to_dclock(&ivideo->SiS_Pr, ivideo->mode_no, ivideo->rate_idx)); rate_idx 6436 drivers/video/fbdev/sis/sis_main.c ivideo->rate_idx, &ivideo->default_var)) { rate_idx 146 drivers/video/fbdev/sis/sis_main.h u16 rate_idx; rate_idx 1350 include/net/mac80211.h u8 rate_idx; rate_idx 400 net/mac80211/rate.c static bool rate_idx_match_legacy_mask(s8 *rate_idx, int n_bitrates, u32 mask) rate_idx 405 net/mac80211/rate.c for (j = *rate_idx; j >= 0; j--) { rate_idx 408 net/mac80211/rate.c *rate_idx = j; rate_idx 414 net/mac80211/rate.c for (j = *rate_idx + 1; j < n_bitrates; j++) { rate_idx 417 net/mac80211/rate.c *rate_idx = j; rate_idx 424 net/mac80211/rate.c static bool rate_idx_match_mcs_mask(s8 *rate_idx, u8 *mcs_mask) rate_idx 429 net/mac80211/rate.c ridx = *rate_idx / 8; rate_idx 430 net/mac80211/rate.c rbit = *rate_idx % 8; rate_idx 440 net/mac80211/rate.c *rate_idx = i * 8 + j; rate_idx 447 net/mac80211/rate.c ridx = (*rate_idx + 1) / 8; rate_idx 448 net/mac80211/rate.c rbit = (*rate_idx + 1) % 8; rate_idx 453 net/mac80211/rate.c *rate_idx = i * 8 + j; rate_idx 461 net/mac80211/rate.c static bool rate_idx_match_vht_mcs_mask(s8 *rate_idx, u16 *vht_mask) rate_idx 466 net/mac80211/rate.c ridx = *rate_idx >> 4; rate_idx 467 net/mac80211/rate.c rbit = *rate_idx & 0xf; rate_idx 476 net/mac80211/rate.c *rate_idx = (i << 4) | j; rate_idx 484 net/mac80211/rate.c ridx = (*rate_idx + 1) >> 4; rate_idx 485 net/mac80211/rate.c rbit = (*rate_idx + 1) & 0xf; rate_idx 490 net/mac80211/rate.c *rate_idx = (i << 4) | j; rate_idx 499 net/mac80211/rate.c static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, rate_idx 508 net/mac80211/rate.c if (rate_idx_match_vht_mcs_mask(rate_idx, vht_mask)) rate_idx 511 net/mac80211/rate.c *rate_idx = 0; rate_idx 521 net/mac80211/rate.c if (rate_idx_match_mcs_mask(rate_idx, mcs_mask)) rate_idx 527 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, rate_idx 532 net/mac80211/rate.c if (rate_idx_match_mcs_mask(rate_idx, mcs_mask)) rate_idx 536 net/mac80211/rate.c *rate_idx = 0; rate_idx 541 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, rate_idx 546 net/mac80211/rate.c if (rate_idx_match_legacy_mask(rate_idx, sband->n_bitrates, rate_idx 560 net/mac80211/rate.c *rate_idx = 0; rate_idx 571 net/mac80211/rate.c if (rate_idx_match_mcs_mask(rate_idx, mcs_mask)) rate_idx 480 net/mac80211/rx.c *pos++ = status->rate_idx; rate_idx 544 net/mac80211/rx.c *pos = (status->rate_idx << 4) | status->nss; rate_idx 602 net/mac80211/rx.c he.data3 |= HE_PREP(DATA3_DATA_MCS, status->rate_idx); rate_idx 3596 net/mac80211/rx.c rate = &sband->bitrates[status->rate_idx]; rate_idx 3857 net/mac80211/rx.c int rate_idx; rate_idx 3859 net/mac80211/rx.c rate_idx = 0; /* TODO: HT/VHT rates */ rate_idx 3861 net/mac80211/rx.c rate_idx = status->rate_idx; rate_idx 3863 net/mac80211/rx.c BIT(rate_idx)); rate_idx 3877 net/mac80211/rx.c int rate_idx; rate_idx 3879 net/mac80211/rx.c rate_idx = 0; /* TODO: HT rates */ rate_idx 3881 net/mac80211/rx.c rate_idx = status->rate_idx; rate_idx 3883 net/mac80211/rx.c BIT(rate_idx)); rate_idx 4575 net/mac80211/rx.c if (WARN(status->rate_idx > 76, rate_idx 4579 net/mac80211/rx.c status->rate_idx, rate_idx 4580 net/mac80211/rx.c status->rate_idx)) rate_idx 4584 net/mac80211/rx.c if (WARN_ONCE(status->rate_idx > 9 || rate_idx 4588 net/mac80211/rx.c status->rate_idx, status->nss)) rate_idx 4592 net/mac80211/rx.c if (WARN_ONCE(status->rate_idx > 11 || rate_idx 4596 net/mac80211/rx.c status->rate_idx, status->nss)) rate_idx 4603 net/mac80211/rx.c if (WARN_ON(status->rate_idx >= sband->n_bitrates)) rate_idx 4605 net/mac80211/rx.c rate = &sband->bitrates[status->rate_idx]; rate_idx 133 net/mac80211/scan.c &sband->bitrates[rx_status->rate_idx]; rate_idx 2083 net/mac80211/sta_info.c int rate_idx = STA_STATS_GET(LEGACY_IDX, rate); rate_idx 2086 net/mac80211/sta_info.c brate = sband->bitrates[rate_idx].bitrate; rate_idx 842 net/mac80211/sta_info.h r |= STA_STATS_FIELD(VHT_MCS, s->rate_idx); rate_idx 846 net/mac80211/sta_info.h r |= STA_STATS_FIELD(HT_MCS, s->rate_idx); rate_idx 851 net/mac80211/sta_info.h r |= STA_STATS_FIELD(LEGACY_IDX, s->rate_idx); rate_idx 856 net/mac80211/sta_info.h r |= STA_STATS_FIELD(HE_MCS, s->rate_idx); rate_idx 3252 net/mac80211/util.c ri.mcs = status->rate_idx; rate_idx 3259 net/mac80211/util.c ri.mcs = status->rate_idx; rate_idx 3282 net/mac80211/util.c bitrate = sband->bitrates[status->rate_idx].bitrate; rate_idx 3303 net/mac80211/util.c (unsigned long long)status->flag, status->rate_idx,