/Linux-v5.15/net/mac80211/ |
D | rate.c | 344 u32 rate_flags = in __rate_control_send_low() local 355 rate_flags |= IEEE80211_RATE_ERP_G; in __rate_control_send_low() 362 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low() 376 rate_mask, rate_flags); in __rate_control_send_low() 521 static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, in rate_idx_match_mask() argument 528 if (*rate_flags & IEEE80211_TX_RC_VHT_MCS) { in rate_idx_match_mask() 535 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask() 539 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask() 541 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask() 547 *rate_flags &= ~(IEEE80211_TX_RC_MCS | in rate_idx_match_mask() [all …]
|
D | ibss.c | 51 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() 1754 u32 rate_flags; in ieee80211_ibss_join() local 1802 rate_flags = ieee80211_chandef_rate_flags(¶ms->chandef); in ieee80211_ibss_join() 1805 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
|
D | util.c | 1789 u32 rate_flags; in ieee80211_build_preq_ies_band() local 1798 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band() 1805 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_build_preq_ies_band() 2092 u32 supp_rates, rate_flags; in ieee80211_sta_get_rates() local 2099 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates() 2122 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates() 2123 != rate_flags) in ieee80211_sta_get_rates() 3523 u32 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_parse_bitrates() local 3535 if ((rate_flags & br->flags) != rate_flags) in ieee80211_parse_bitrates() 3558 u32 rate_flags; in ieee80211_add_srates_ie() local [all …]
|
D | rc80211_minstrel_ht.c | 1755 const s16 *bitrates, int n_rates, u32 rate_flags) in minstrel_ht_fill_rate_array() argument 1762 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_fill_rate_array() 1780 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_ht_init_cck_rates() local 1791 rate_flags); in minstrel_ht_init_cck_rates() 1799 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_ht_init_ofdm_rates() local 1810 rate_flags); in minstrel_ht_init_ofdm_rates()
|
D | tx.c | 53 u32 rate_flags = 0; in ieee80211_duration() local 63 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration() 142 if ((rate_flags & r->flags) != rate_flags) in ieee80211_duration() 2083 u16 rate_flags = 0; in ieee80211_parse_tx_radiotap() local 2148 rate_flags = 0; in ieee80211_parse_tx_radiotap() 2164 rate_flags = IEEE80211_TX_RC_MCS; in ieee80211_parse_tx_radiotap() 2168 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap() 2173 rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in ieee80211_parse_tx_radiotap() 2193 rate_flags = IEEE80211_TX_RC_VHT_MCS; in ieee80211_parse_tx_radiotap() 2197 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap() [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath5k/ |
D | qcu.c | 565 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.15/net/sched/ |
D | sch_cake.c | 222 u16 rate_flags; member 1316 if (q->rate_flags & CAKE_FLAG_OVERHEAD) in cake_calc_overhead() 1547 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_drop() 1627 wash = !!(q->rate_flags & CAKE_FLAG_WASH); in cake_select_tin() 1741 if (skb_is_gso(skb) && q->rate_flags & CAKE_FLAG_SPLIT_GSO) { in cake_enqueue() 1789 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_enqueue() 1812 if (q->rate_flags & CAKE_FLAG_AUTORATE_INGRESS) { in cake_enqueue() 2162 !!(q->rate_flags & in cake_dequeue() 2168 if (q->rate_flags & CAKE_FLAG_INGRESS) { in cake_dequeue() 2179 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_dequeue() [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 621 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()
|
D | tx.c | 115 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()
|
D | sta.c | 558 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()
|
D | main.c | 193 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.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 310 u8 rate_idx, rate_flags, retry_rates; in rt2x00lib_fill_tx_status() local 314 rate_flags = skbdesc->tx_rate_flags; in rt2x00lib_fill_tx_status() 332 tx_info->status.rates[i].flags = rate_flags; in rt2x00lib_fill_tx_status() 375 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rt2x00lib_fill_tx_status()
|
D | rt2x00queue.c | 609 u8 rate_idx, rate_flags; in rt2x00queue_write_tx_frame() local 626 rate_flags = tx_info->control.rates[0].flags; in rt2x00queue_write_tx_frame() 630 skbdesc->tx_rate_flags = rate_flags; in rt2x00queue_write_tx_frame()
|
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 858 u32 rate_flags = 0; in il4965_request_scan() local 944 rate_flags = RATE_MCS_CCK_MSK; in il4965_request_scan() 981 rate_flags |= BIT(il->scan_tx_ant[band]) << RATE_MCS_ANT_POS; in il4965_request_scan() 982 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); in il4965_request_scan() 1545 u32 rate_flags; in il4965_tx_cmd_build_rate() local 1583 rate_flags = 0; in il4965_tx_cmd_build_rate() 1587 rate_flags |= RATE_MCS_CCK_MSK; in il4965_tx_cmd_build_rate() 1591 rate_flags |= BIT(il->mgmt_tx_ant) << RATE_MCS_ANT_POS; in il4965_tx_cmd_build_rate() 1594 tx_cmd->rate_n_flags = cpu_to_le32(rate_plcp | rate_flags); in il4965_tx_cmd_build_rate() 3024 u32 rate_flags = 0; in il4965_sta_alloc_lq() local [all …]
|
/Linux-v5.15/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 907 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.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 270 u32 rate_flags = 0; in iwl_mvm_get_tx_rate() local 306 rate_flags |= RATE_MCS_CCK_MSK; in iwl_mvm_get_tx_rate() 308 return (u32)rate_plcp | rate_flags; in iwl_mvm_get_tx_rate()
|
D | rxmq.c | 258 u32 rate_flags = rate_n_flags; in iwl_mvm_get_signal_strength() local 269 (rate_flags & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in iwl_mvm_get_signal_strength()
|
/Linux-v5.15/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_core.c | 4811 u16 rate_flags = tx_info->control.rates[0].flags; in rtl8xxxu_fill_txdesc_v1() local 4814 if (rate_flags & IEEE80211_TX_RC_MCS && in rtl8xxxu_fill_txdesc_v1() 4858 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8xxxu_fill_txdesc_v1() 4861 } else if (rate_flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8xxxu_fill_txdesc_v1() 4884 u16 rate_flags = tx_info->control.rates[0].flags; in rtl8xxxu_fill_txdesc_v2() local 4889 if (rate_flags & IEEE80211_TX_RC_MCS && in rtl8xxxu_fill_txdesc_v2() 4929 if (rate_flags & IEEE80211_TX_RC_USE_RTS_CTS) { in rtl8xxxu_fill_txdesc_v2() 4932 } else if (rate_flags & IEEE80211_TX_RC_USE_CTS_PROTECT) { in rtl8xxxu_fill_txdesc_v2()
|
/Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
D | dp_rx.c | 1397 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1398 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath11k_update_per_peer_tx_stats() 1399 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath11k_update_per_peer_tx_stats() 1400 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1401 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1402 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
|
D | dp.h | 1221 u32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member
|