Home
last modified time | relevance | path

Searched refs:rate_info (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/net/wireless/rsi/
H A Drsi_91x_hal.c120 mgmt_desc->rate_info = cpu_to_le16(RSI_RATE_1); in rsi_prepare_mgmt_desc()
122 mgmt_desc->rate_info = cpu_to_le16(RSI_RATE_6); in rsi_prepare_mgmt_desc()
144 mgmt_desc->rate_info |= in rsi_prepare_mgmt_desc()
226 data_desc->rate_info = cpu_to_le16(fixed_rate); in rsi_prepare_data_desc()
233 data_desc->rate_info |= in rsi_prepare_data_desc()
243 data_desc->rate_info = cpu_to_le16(RSI_RATE_6); in rsi_prepare_data_desc()
245 data_desc->rate_info = cpu_to_le16(RSI_RATE_1); in rsi_prepare_data_desc()
289 data_desc->rate_info |= in rsi_prepare_data_desc()
464 bcn_frm->rate_info = cpu_to_le16(vap_id << 14); in rsi_prepare_beacon()
476 bcn_frm->rate_info |= cpu_to_le16(RSI_RATE_1); in rsi_prepare_beacon()
[all …]
H A Drsi_hal.h193 __le16 rate_info; member
207 __le16 rate_info; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c508 u8 rx_rate, u8 rate_info) in mwifiex_adjust_data_rate() argument
513 if ((rate_info & BIT(0)) && (rate_info & BIT(1))) in mwifiex_adjust_data_rate()
516 else if (rate_info & BIT(0)) /* HT20 */ in mwifiex_adjust_data_rate()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Drate.h24 extern const u8 rate_info[];
178 (rate_info[ratespec & RSPEC_RATE_MASK] & BRCMS_RATE_FLAG); in is_ofdm_rate()
H A Drate.c28 const u8 rate_info[BRCM_MAXRATE + 1] = { variable
317 if ((r > BRCM_MAXRATE) || (rate_info[r] == 0)) in brcms_c_rate_hwrs_filter_sort_validate()
/linux/drivers/net/wireless/ath/ath5k/
H A Dphy.c3504 struct ath5k_rate_pcal_info *rate_info, in ath5k_setup_rate_powertable() argument
3524 rates[5] = min(rates[0], rate_info->target_power_36); in ath5k_setup_rate_powertable()
3525 rates[6] = min(rates[0], rate_info->target_power_48); in ath5k_setup_rate_powertable()
3526 rates[7] = min(rates[0], rate_info->target_power_54); in ath5k_setup_rate_powertable()
3532 rates[9] = min(rates[0], rate_info->target_power_36); in ath5k_setup_rate_powertable()
3534 rates[10] = min(rates[0], rate_info->target_power_36); in ath5k_setup_rate_powertable()
3536 rates[11] = min(rates[0], rate_info->target_power_48); in ath5k_setup_rate_powertable()
3538 rates[12] = min(rates[0], rate_info->target_power_48); in ath5k_setup_rate_powertable()
3540 rates[13] = min(rates[0], rate_info->target_power_54); in ath5k_setup_rate_powertable()
3598 struct ath5k_rate_pcal_info rate_info; in ath5k_hw_txpower() local
[all …]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dtxrx.h167 void wcn36xx_process_tx_rate(struct ani_global_class_a_stats_info *stats, struct rate_info *info);
H A Dtxrx.c707 void wcn36xx_process_tx_rate(struct ani_global_class_a_stats_info *stats, struct rate_info *info) in wcn36xx_process_tx_rate()
/linux/net/wireless/
H A Dutil.c1265 static u32 cfg80211_calculate_bitrate_ht(struct rate_info *rate) in cfg80211_calculate_bitrate_ht()
1294 static u32 cfg80211_calculate_bitrate_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_dmg()
1341 static u32 cfg80211_calculate_bitrate_extended_sc_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_extended_sc_dmg()
1360 static u32 cfg80211_calculate_bitrate_edmg(struct rate_info *rate) in cfg80211_calculate_bitrate_edmg()
1394 static u32 cfg80211_calculate_bitrate_vht(struct rate_info *rate) in cfg80211_calculate_bitrate_vht()
1489 static u32 cfg80211_calculate_bitrate_he(struct rate_info *rate) in cfg80211_calculate_bitrate_he()
1574 static u32 cfg80211_calculate_bitrate_eht(struct rate_info *rate) in cfg80211_calculate_bitrate_eht()
1705 static u32 cfg80211_calculate_bitrate_s1g(struct rate_info *rate) in cfg80211_calculate_bitrate_s1g()
1813 u32 cfg80211_calculate_bitrate(struct rate_info *rate) in cfg80211_calculate_bitrate()
H A Dnl80211.h16 bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,
/linux/net/mac80211/
H A Dairtime.c627 struct rate_info *ri) in ieee80211_fill_rate_info()
680 struct rate_info *ri, u8 band, int len) in ieee80211_fill_rx_status()
722 struct rate_info *ri, in ieee80211_calc_tx_airtime_rate()
780 struct rate_info *ri = &sta->deflink.tx_stats.last_rate_info; in ieee80211_calc_expected_tx_airtime()
H A Dsta_info.h559 struct rate_info last_rate_info;
924 struct rate_info *rinfo);
H A Drc80211_minstrel_ht.c341 minstrel_ht_ri_get_group_idx(struct rate_info *rate) in minstrel_ht_ri_get_group_idx()
361 minstrel_vht_ri_get_group_idx(struct rate_info *rate) in minstrel_vht_ri_get_group_idx()
420 struct rate_info *rate = &rate_status->rate_idx; in minstrel_ht_ri_get_stats()
/linux/Documentation/driver-api/80211/
H A Dcfg80211.rst59 rate_info
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c1064 __le16 rate_info; member
1111 u16 rate_info; in mwl8k_rxd_sta_process() local
1117 rate_info = le16_to_cpu(rxd->rate_info); in mwl8k_rxd_sta_process()
1128 if (rate_info & MWL8K_STA_RATE_INFO_40MHZ) in mwl8k_rxd_sta_process()
1130 if (rate_info & MWL8K_STA_RATE_INFO_SHORTGI) in mwl8k_rxd_sta_process()
1450 __le16 rate_info; member
1694 u16 rate_info; in mwl8k_txq_reclaim() local
1738 rate_info = le16_to_cpu(tx_desc->rate_info); in mwl8k_txq_reclaim()
1744 if (RI_RATE_ID_MCS(rate_info) < 1 || in mwl8k_txq_reclaim()
1745 RI_FORMAT(rate_info) == 0) { in mwl8k_txq_reclaim()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.h455 struct rate_info txrate;
456 struct rate_info last_txrate;
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c3650 struct rate_info *rate_info, in mac80211_hwsim_parse_rate_info() argument
3662 rate_info->flags = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_FLAGS]); in mac80211_hwsim_parse_rate_info()
3665 rate_info->mcs = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_MCS]); in mac80211_hwsim_parse_rate_info()
3668 rate_info->legacy = nla_get_u16(tb[HWSIM_RATE_INFO_ATTR_LEGACY]); in mac80211_hwsim_parse_rate_info()
3671 rate_info->nss = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_NSS]); in mac80211_hwsim_parse_rate_info()
3674 rate_info->bw = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_BW]); in mac80211_hwsim_parse_rate_info()
3677 rate_info->he_gi = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_HE_GI]); in mac80211_hwsim_parse_rate_info()
3680 rate_info->he_dcm = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_HE_DCM]); in mac80211_hwsim_parse_rate_info()
3683 rate_info->he_ru_alloc = in mac80211_hwsim_parse_rate_info()
3687 rate_info->n_bonded_ch = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_N_BOUNDED_CH]); in mac80211_hwsim_parse_rate_info()
[all …]
H A Dvirt_wifi.c339 sinfo->txrate = (struct rate_info) { in virt_wifi_get_station()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmt7921.h199 struct ieee80211_sta *sta, struct rate_info *rate);
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmt7925.h211 struct ieee80211_sta *sta, struct rate_info *rate);
H A Dmac.c34 struct rate_info *rate; in mt7925_mac_sta_poll()
901 struct rate_info rate = {}; in mt7925_mac_add_txs_skb()
/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.h542 struct rate_info txrate;
544 struct rate_info last_txrate;
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h503 struct ieee80211_sta *sta, struct rate_info *rate);
/linux/include/net/
H A Dcfg80211.h1940 struct rate_info { struct
2140 struct rate_info txrate;
2141 struct rate_info rxrate;
3991 struct rate_info tx_rate, rx_rate;
9087 u32 cfg80211_calculate_bitrate(struct rate_info *rate);
/linux/drivers/net/wireless/ath/ath10k/
H A Dcore.h530 struct rate_info txrate;

123