Home
last modified time | relevance | path

Searched refs:rate_flags (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/net/mac80211/
Drate.c348 u32 rate_flags = in __rate_control_send_low() local
359 rate_flags |= IEEE80211_RATE_ERP_G; in __rate_control_send_low()
366 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low()
380 rate_mask, rate_flags); in __rate_control_send_low()
525 static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, in rate_idx_match_mask() argument
532 if (*rate_flags & IEEE80211_TX_RC_VHT_MCS) { in rate_idx_match_mask()
539 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask()
543 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask()
545 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask()
551 *rate_flags &= ~(IEEE80211_TX_RC_MCS | in rate_idx_match_mask()
[all …]
Dibss.c51 u32 rate_flags, rates = 0, rates_added = 0; in ieee80211_ibss_build_presp() local
94 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_ibss_build_presp()
101 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_build_presp()
410 u32 rate_flags; in ieee80211_sta_join_ibss() local
445 rate_flags = ieee80211_chandef_rate_flags(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
456 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_join_ibss()
457 != rate_flags) in ieee80211_sta_join_ibss()
1761 u32 rate_flags; in ieee80211_ibss_join() local
1809 rate_flags = ieee80211_chandef_rate_flags(&params->chandef); in ieee80211_ibss_join()
1812 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
Dutil.c1781 u32 rate_flags; in ieee80211_build_preq_ies_band() local
1790 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band()
1797 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_build_preq_ies_band()
2071 u32 supp_rates, rate_flags; in ieee80211_sta_get_rates() local
2078 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates()
2101 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates()
2102 != rate_flags) in ieee80211_sta_get_rates()
3501 u32 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_parse_bitrates() local
3513 if ((rate_flags & br->flags) != rate_flags) in ieee80211_parse_bitrates()
3536 u32 rate_flags; in ieee80211_add_srates_ie() local
[all …]
Drc80211_minstrel.c471 u32 rate_flags; in minstrel_rate_init() local
481 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_rate_init()
495 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_rate_init()
Dtx.c62 u32 rate_flags = 0; in ieee80211_duration() local
72 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
151 if ((rate_flags & r->flags) != rate_flags) in ieee80211_duration()
2049 u16 rate_flags = 0; in ieee80211_parse_tx_radiotap() local
2120 rate_flags = 0; in ieee80211_parse_tx_radiotap()
2136 rate_flags = IEEE80211_TX_RC_MCS; in ieee80211_parse_tx_radiotap()
2140 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap()
2145 rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in ieee80211_parse_tx_radiotap()
2152 rate_flags = IEEE80211_TX_RC_VHT_MCS; in ieee80211_parse_tx_radiotap()
2156 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap()
[all …]
Drc80211_minstrel_ht.c1612 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_ht_init_cck_rates() local
1625 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_init_cck_rates()
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Dqcu.c565 u32 rate_flags, i; in ath5k_hw_set_ifs_intervals() local
604 rate_flags = IEEE80211_RATE_SUPPORTS_5MHZ; in ath5k_hw_set_ifs_intervals()
607 rate_flags = IEEE80211_RATE_SUPPORTS_10MHZ; in ath5k_hw_set_ifs_intervals()
610 rate_flags = 0; in ath5k_hw_set_ifs_intervals()
616 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ath5k_hw_set_ifs_intervals()
/Linux-v5.10/net/sched/
Dsch_cake.c222 u16 rate_flags; member
1312 if (q->rate_flags & CAKE_FLAG_OVERHEAD) in cake_calc_overhead()
1543 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_drop()
1623 wash = !!(q->rate_flags & CAKE_FLAG_WASH); in cake_select_tin()
1737 if (skb_is_gso(skb) && q->rate_flags & CAKE_FLAG_SPLIT_GSO) { in cake_enqueue()
1785 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_enqueue()
1808 if (q->rate_flags & CAKE_FLAG_AUTORATE_INGRESS) { in cake_enqueue()
2158 !!(q->rate_flags & in cake_dequeue()
2164 if (q->rate_flags & CAKE_FLAG_INGRESS) { in cake_dequeue()
2175 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_dequeue()
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c621 u32 rate_flags = 0; in iwlagn_request_scan() local
749 rate_flags = RATE_MCS_CCK_MSK; in iwlagn_request_scan()
807 rate_flags |= iwl_ant_idx_to_flags(priv->scan_tx_ant[band]); in iwlagn_request_scan()
808 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan()
Dtx.c115 u32 rate_flags; in iwlagn_tx_cmd_build_rate() local
168 rate_flags = 0; in iwlagn_tx_cmd_build_rate()
172 rate_flags |= RATE_MCS_CCK_MSK; in iwlagn_tx_cmd_build_rate()
185 rate_flags |= iwl_ant_idx_to_flags(priv->mgmt_tx_ant); in iwlagn_tx_cmd_build_rate()
188 tx_cmd->rate_n_flags = iwl_hw_set_rate_n_flags(rate_plcp, rate_flags); in iwlagn_tx_cmd_build_rate()
Dsta.c558 u32 rate_flags = 0; in iwl_sta_fill_lq() local
575 rate_flags |= RATE_MCS_CCK_MSK; in iwl_sta_fill_lq()
577 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << in iwl_sta_fill_lq()
579 rate_n_flags = iwl_hw_set_rate_n_flags(iwl_rates[r].plcp, rate_flags); in iwl_sta_fill_lq()
Dmain.c193 u32 rate_flags; in iwlagn_send_beacon_cmd() local
247 rate_flags = iwl_ant_idx_to_flags(priv->mgmt_tx_ant); in iwlagn_send_beacon_cmd()
253 rate_flags |= RATE_MCS_CCK_MSK; in iwlagn_send_beacon_cmd()
256 iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_send_beacon_cmd()
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00dev.c311 u8 rate_idx, rate_flags, retry_rates; in rt2x00lib_fill_tx_status() local
315 rate_flags = skbdesc->tx_rate_flags; in rt2x00lib_fill_tx_status()
333 tx_info->status.rates[i].flags = rate_flags; in rt2x00lib_fill_tx_status()
376 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rt2x00lib_fill_tx_status()
Drt2x00queue.c608 u8 rate_idx, rate_flags; in rt2x00queue_write_tx_frame() local
625 rate_flags = tx_info->control.rates[0].flags; in rt2x00queue_write_tx_frame()
629 skbdesc->tx_rate_flags = rate_flags; in rt2x00queue_write_tx_frame()
/Linux-v5.10/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c857 u32 rate_flags = 0; in il4965_request_scan() local
943 rate_flags = RATE_MCS_CCK_MSK; in il4965_request_scan()
980 rate_flags |= BIT(il->scan_tx_ant[band]) << RATE_MCS_ANT_POS; in il4965_request_scan()
981 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); in il4965_request_scan()
1544 u32 rate_flags; in il4965_tx_cmd_build_rate() local
1582 rate_flags = 0; in il4965_tx_cmd_build_rate()
1586 rate_flags |= RATE_MCS_CCK_MSK; in il4965_tx_cmd_build_rate()
1590 rate_flags |= BIT(il->mgmt_tx_ant) << RATE_MCS_ANT_POS; in il4965_tx_cmd_build_rate()
1593 tx_cmd->rate_n_flags = cpu_to_le32(rate_plcp | rate_flags); in il4965_tx_cmd_build_rate()
3025 u32 rate_flags = 0; in il4965_sta_alloc_lq() local
[all …]
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dtx.c907 u8 rate_flags = 0; in wl1271_tx_complete_packet() local
934 rate_flags = wl1271_tx_get_rate_flags(result->rate_class_index); in wl1271_tx_complete_packet()
943 info->status.rates[0].flags = rate_flags; in wl1271_tx_complete_packet()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c330 u32 rate_flags = 0; in iwl_mvm_get_tx_rate() local
359 rate_flags |= RATE_MCS_CCK_MSK; in iwl_mvm_get_tx_rate()
361 return (u32)rate_plcp | rate_flags; in iwl_mvm_get_tx_rate()
Drxmq.c314 u32 rate_flags = rate_n_flags; in iwl_mvm_get_signal_strength() local
325 (rate_flags & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in iwl_mvm_get_signal_strength()
/Linux-v5.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c4809 u16 rate_flags = tx_info->control.rates[0].flags; in rtl8xxxu_fill_txdesc_v1() local
4812 if (rate_flags & IEEE80211_TX_RC_MCS && in rtl8xxxu_fill_txdesc_v1()
4856 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8xxxu_fill_txdesc_v1()
4859 } else if (rate_flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8xxxu_fill_txdesc_v1()
4880 u16 rate_flags = tx_info->control.rates[0].flags; in rtl8xxxu_fill_txdesc_v2() local
4885 if (rate_flags & IEEE80211_TX_RC_MCS && in rtl8xxxu_fill_txdesc_v2()
4925 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8xxxu_fill_txdesc_v2()
4928 } else if (rate_flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8xxxu_fill_txdesc_v2()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Ddp_rx.c1349 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1350 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath11k_update_per_peer_tx_stats()
1351 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath11k_update_per_peer_tx_stats()
1352 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1353 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1354 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
Ddp.h1220 u32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member