Searched refs:rate_table (Results 1 – 3 of 3) sorted by relevance
382 static int ath_rc_get_rateindex(const struct ath_rate_table *rate_table, in ath_rc_get_rateindex() argument395 rix += rate->idx + rate_table->mcs_start; in ath_rc_get_rateindex()399 rix = rate_table->info[rix].ht_index; in ath_rc_get_rateindex()401 rix = rate_table->info[rix].sgi_index; in ath_rc_get_rateindex()403 rix = rate_table->info[rix].cw40index; in ath_rc_get_rateindex()408 static void ath_rc_sort_validrates(const struct ath_rate_table *rate_table, in ath_rc_sort_validrates() argument418 if (rate_table->info[idx].ratekbps > in ath_rc_sort_validrates()419 rate_table->info[idx_next].ratekbps) { in ath_rc_sort_validrates()443 int ath_rc_get_nextvalid_txrate(const struct ath_rate_table *rate_table, in ath_rc_get_nextvalid_txrate() argument482 ath_rc_get_lower_rix(const struct ath_rate_table *rate_table, in ath_rc_get_lower_rix() argument[all …]
216 const struct ath_rate_table *rate_table; member
2243 u32 rate_table[BRCMS_NUM_RATES_CCK + BRCMS_NUM_RATES_OFDM + in wlc_lcnphy_txpower_recalc_target() local2249 for (i = 0, j = 0; i < ARRAY_SIZE(rate_table); i++, j++) { in wlc_lcnphy_txpower_recalc_target()2254 rate_table[i] = (u32) ((s32) (-pi->tx_power_offset[j])); in wlc_lcnphy_txpower_recalc_target()2259 tab.tbl_len = ARRAY_SIZE(rate_table); in wlc_lcnphy_txpower_recalc_target()2260 tab.tbl_ptr = rate_table; in wlc_lcnphy_txpower_recalc_target()