Home
last modified time | relevance | path

Searched refs:rate2 (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c1649 int rate_start_index = 0, rate1, rate2, k; in wlc_phy_txpower_reg_limit_calc() local
1651 for (rate1 = WL_TX_POWER_CCK_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1652 rate2 < WL_TX_POWER_CCK_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1653 pi->txpwr_limit[rate1] = txpwr->cck[rate2]; in wlc_phy_txpower_reg_limit_calc()
1655 for (rate1 = WL_TX_POWER_OFDM_FIRST, rate2 = 0; in wlc_phy_txpower_reg_limit_calc()
1656 rate2 < WL_TX_POWER_OFDM_NUM; rate1++, rate2++) in wlc_phy_txpower_reg_limit_calc()
1657 pi->txpwr_limit[rate1] = txpwr->ofdm[rate2]; in wlc_phy_txpower_reg_limit_calc()
1690 for (rate2 = 0; rate2 < BRCMS_NUM_RATES_OFDM; in wlc_phy_txpower_reg_limit_calc()
1691 rate2++) { in wlc_phy_txpower_reg_limit_calc()
1692 tmp_txpwr_limit[rate2] = 0; in wlc_phy_txpower_reg_limit_calc()
[all …]
H A Dphy_n.c27880 u8 rate1, rate2; in wlc_phy_ofdm_to_mcs_powers_nphy() local
27882 rate2 = rate_ofdm_start; in wlc_phy_ofdm_to_mcs_powers_nphy()
27884 power[rate1] = power[rate2]; in wlc_phy_ofdm_to_mcs_powers_nphy()
27885 rate2 += (rate1 == rate_mcs_start) ? 2 : 1; in wlc_phy_ofdm_to_mcs_powers_nphy()
27894 u8 rate1, rate2; in wlc_phy_mcs_to_ofdm_powers_nphy() local
27896 for (rate1 = rate_ofdm_start, rate2 = rate_mcs_start; in wlc_phy_mcs_to_ofdm_powers_nphy()
27897 rate1 <= rate_ofdm_end; rate1++, rate2++) { in wlc_phy_mcs_to_ofdm_powers_nphy()
27898 power[rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
27900 power[++rate1] = power[rate2]; in wlc_phy_mcs_to_ofdm_powers_nphy()
27906 uint rate1, rate2, band_num; in wlc_phy_txpwr_apply_nphy() local
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh217 local rate2=$2
235 tc -n $ns1 qdisc add dev ns1eth2 root netem rate ${rate2}mbit $delay2
237 tc -n $ns2 qdisc add dev ns2eth2 root netem rate ${rate2}mbit $delay2
240 local time=$((size * 8 * 1000 / (( $rate1 + $rate2) * 1024 *1024) ))
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_ht_rc.c607 rate2 = minstrel_get_ratestats(mi, mi->max_tp_rate2); in ssv6xxx_ht_report_handler()
608 if (rate2->attempts > 30 && in ssv6xxx_ht_report_handler()
609 MINSTREL_FRAC(rate2->success, rate2->attempts) < in ssv6xxx_ht_report_handler()
/OK3568_Linux_fs/kernel/net/mac80211/
H A Drc80211_minstrel_ht.c893 struct minstrel_rate_stats *rate, *rate2, *rate_sample = NULL; in minstrel_ht_tx_status() local
986 rate2 = minstrel_get_ratestats(mi, mi->max_tp_rate[1]); in minstrel_ht_tx_status()
987 if (rate2->attempts > 30 && in minstrel_ht_tx_status()
988 rate2->success < rate2->attempts / 4) { in minstrel_ht_tx_status()
/OK3568_Linux_fs/kernel/sound/usb/misc/
H A Dua101.c945 unsigned int rate2; in detect_usb_format() local
976 rate2 = combine_triple(fmt_playback->tSamFreq[0]); in detect_usb_format()
977 if (ua->rate != rate2) { in detect_usb_format()
980 rate2, ua->rate); in detect_usb_format()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Djoin.c147 u32 rate1_size, u8 *rate2, u32 rate2_size) in mwifiex_get_common_rates() argument
161 for (i = 0; i < rate2_size && rate2[i]; i++) { in mwifiex_get_common_rates()
165 if ((rate2[i] & 0x7F) == (tmp[j] & 0x7F)) { in mwifiex_get_common_rates()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_join.c261 IN t_u32 rate1_size, IN t_u8 *rate2, IN t_u32 rate2_size) in wlan_get_common_rates() argument
282 for (i = 0; rate2[i] && i < rate2_size; i++) { in wlan_get_common_rates()
286 if ((rate2[i] & 0x7F) == (tmp[j] & 0x7F)) { in wlan_get_common_rates()
294 HEXDUMP("rate2 (Card) Rates", rate2, rate2_size); in wlan_get_common_rates()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_join.c273 t_u32 rate1_size, t_u8 *rate2, in wlan_get_common_rates() argument
295 for (i = 0; rate2[i] && i < rate2_size; i++) { in wlan_get_common_rates()
299 if ((rate2[i] & 0x7F) == (tmp[j] & 0x7F)) { in wlan_get_common_rates()
307 HEXDUMP("rate2 (Card) Rates", rate2, rate2_size); in wlan_get_common_rates()