Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/net/wireless/rsi/
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()
279 data_desc->rate_info = cpu_to_le16(RSI_RATE_6); in rsi_prepare_data_desc()
281 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()
[all …]
Drsi_hal.h193 __le16 rate_info; member
207 __le16 rate_info; member
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
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-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.h24 extern const u8 rate_info[];
178 (rate_info[ratespec & RSPEC_RATE_MASK] & BRCMS_RATE_FLAG); in is_ofdm_rate()
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-6.6.21/drivers/net/wireless/ath/ath5k/
Dphy.c3504 struct ath5k_rate_pcal_info *rate_info, in ath5k_setup_rate_powertable() argument
3521 rates[i] = min(max_pwr, rate_info->target_power_6to24); in ath5k_setup_rate_powertable()
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()
3530 rates[8] = min(rates[0], rate_info->target_power_6to24); 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()
[all …]
/linux-6.6.21/net/mac80211/
Dairtime.c508 struct rate_info *ri) in ieee80211_fill_rate_info()
552 struct rate_info *ri, u8 band, int len) in ieee80211_fill_rx_status()
594 struct rate_info *ri, in ieee80211_calc_tx_airtime_rate()
654 struct rate_info *ri = &sta->deflink.tx_stats.last_rate_info; in ieee80211_calc_expected_tx_airtime()
Dsta_info.h558 struct rate_info last_rate_info;
914 struct rate_info *rinfo);
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-6.6.21/net/wireless/
Dutil.c1213 static u32 cfg80211_calculate_bitrate_ht(struct rate_info *rate) in cfg80211_calculate_bitrate_ht()
1242 static u32 cfg80211_calculate_bitrate_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_dmg()
1289 static u32 cfg80211_calculate_bitrate_extended_sc_dmg(struct rate_info *rate) in cfg80211_calculate_bitrate_extended_sc_dmg()
1308 static u32 cfg80211_calculate_bitrate_edmg(struct rate_info *rate) in cfg80211_calculate_bitrate_edmg()
1342 static u32 cfg80211_calculate_bitrate_vht(struct rate_info *rate) in cfg80211_calculate_bitrate_vht()
1437 static u32 cfg80211_calculate_bitrate_he(struct rate_info *rate) in cfg80211_calculate_bitrate_he()
1520 static u32 cfg80211_calculate_bitrate_eht(struct rate_info *rate) in cfg80211_calculate_bitrate_eht()
1651 static u32 cfg80211_calculate_bitrate_s1g(struct rate_info *rate) in cfg80211_calculate_bitrate_s1g()
1759 u32 cfg80211_calculate_bitrate(struct rate_info *rate) in cfg80211_calculate_bitrate()
Dnl80211.h16 bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dtxrx.h167 void wcn36xx_process_tx_rate(struct ani_global_class_a_stats_info *stats, struct rate_info *info);
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-6.6.21/Documentation/driver-api/80211/
Dcfg80211.rst59 rate_info
/linux-6.6.21/drivers/net/wireless/marvell/
Dmwl8k.c1059 __le16 rate_info; member
1106 u16 rate_info; in mwl8k_rxd_sta_process() local
1112 rate_info = le16_to_cpu(rxd->rate_info); in mwl8k_rxd_sta_process()
1118 status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info); in mwl8k_rxd_sta_process()
1119 status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); in mwl8k_rxd_sta_process()
1121 if (rate_info & MWL8K_STA_RATE_INFO_SHORTPRE) in mwl8k_rxd_sta_process()
1123 if (rate_info & MWL8K_STA_RATE_INFO_40MHZ) in mwl8k_rxd_sta_process()
1125 if (rate_info & MWL8K_STA_RATE_INFO_SHORTGI) in mwl8k_rxd_sta_process()
1127 if (rate_info & MWL8K_STA_RATE_INFO_MCS_FORMAT) in mwl8k_rxd_sta_process()
1445 __le16 rate_info; member
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dcore.h392 struct rate_info txrate;
393 struct rate_info last_txrate;
/linux-6.6.21/drivers/net/wireless/virtual/
Dmac80211_hwsim.c3526 struct rate_info *rate_info, in mac80211_hwsim_parse_rate_info() argument
3538 rate_info->flags = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_FLAGS]); in mac80211_hwsim_parse_rate_info()
3541 rate_info->mcs = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_MCS]); in mac80211_hwsim_parse_rate_info()
3544 rate_info->legacy = nla_get_u16(tb[HWSIM_RATE_INFO_ATTR_LEGACY]); in mac80211_hwsim_parse_rate_info()
3547 rate_info->nss = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_NSS]); in mac80211_hwsim_parse_rate_info()
3550 rate_info->bw = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_BW]); in mac80211_hwsim_parse_rate_info()
3553 rate_info->he_gi = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_HE_GI]); in mac80211_hwsim_parse_rate_info()
3556 rate_info->he_dcm = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_HE_DCM]); in mac80211_hwsim_parse_rate_info()
3559 rate_info->he_ru_alloc = in mac80211_hwsim_parse_rate_info()
3563 rate_info->n_bonded_ch = nla_get_u8(tb[HWSIM_RATE_INFO_ATTR_N_BOUNDED_CH]); in mac80211_hwsim_parse_rate_info()
[all …]
Dvirt_wifi.c325 sinfo->txrate = (struct rate_info) { in virt_wifi_get_station()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dmt7921.h195 struct ieee80211_sta *sta, struct rate_info *rate);
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dcore.h493 struct rate_info txrate;
495 struct rate_info last_txrate;
/linux-6.6.21/include/net/
Dcfg80211.h1777 struct rate_info { struct
1977 struct rate_info txrate;
1978 struct rate_info rxrate;
3811 struct rate_info tx_rate, rx_rate;
8679 u32 cfg80211_calculate_bitrate(struct rate_info *rate);
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h497 struct ieee80211_sta *sta, struct rate_info *rate);
Dtestmode.c260 struct rate_info rate = {}; in mt7915_tm_set_tx_len()
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dcore.h528 struct rate_info txrate;
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt792x_core.c467 struct rate_info *txrate = &msta->wcid.rate; in mt792x_sta_statistics()

123