Home
last modified time | relevance | path

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

/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_cmn.c1666 int rate_start_index = 0, rate1, rate2, k; in wlc_phy_txpower_reg_limit_calc() local
1668 for (rate1 = WL_TX_POWER_CCK_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1669 rate2 < WL_TX_POWER_CCK_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1670 pi->txpwr_limit[rate1] = txpwr->cck[rate2]; in wlc_phy_txpower_reg_limit_calc()
1672 for (rate1 = WL_TX_POWER_OFDM_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1673 rate2 < WL_TX_POWER_OFDM_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1674 pi->txpwr_limit[rate1] = txpwr->ofdm[rate2]; in wlc_phy_txpower_reg_limit_calc()
1717 for (rate1 = rate_start_index, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1718 rate2 < BRCMS_NUM_RATES_OFDM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1719 pi->txpwr_limit[rate1] = in wlc_phy_txpower_reg_limit_calc()
[all …]
Dphy_n.c28016 u8 rate1, rate2; in wlc_phy_ofdm_to_mcs_powers_nphy() local
28019 for (rate1 = rate_mcs_start; rate1 <= rate_mcs_end - 1; rate1++) { in wlc_phy_ofdm_to_mcs_powers_nphy()
28020 power[rate1] = power[rate2]; in wlc_phy_ofdm_to_mcs_powers_nphy()
28021 rate2 += (rate1 == rate_mcs_start) ? 2 : 1; in wlc_phy_ofdm_to_mcs_powers_nphy()
28030 u8 rate1, rate2; in wlc_phy_mcs_to_ofdm_powers_nphy() local
28032 for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start; in wlc_phy_mcs_to_ofdm_powers_nphy()
28033 rate1 <= rate_ofdm_end; rate1++, rate2++) { in wlc_phy_mcs_to_ofdm_powers_nphy()
28034 power[rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
28035 if (rate1 == rate_ofdm_start) in wlc_phy_mcs_to_ofdm_powers_nphy()
28036 power[++rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
[all …]
/drivers/net/wireless/mwifiex/
Djoin.c146 static int mwifiex_get_common_rates(struct mwifiex_private *priv, u8 *rate1, in mwifiex_get_common_rates() argument
150 u8 *ptr = rate1, *tmp; in mwifiex_get_common_rates()
153 tmp = kmemdup(rate1, rate1_size, GFP_KERNEL); in mwifiex_get_common_rates()
159 memset(rate1, 0, rate1_size); in mwifiex_get_common_rates()
166 *rate1++ = tmp[j]; in mwifiex_get_common_rates()