/openbmc/linux/net/mac80211/ |
H A D | rate.c | 353 u32 rate_flags = in __rate_control_send_low() local 364 rate_flags |= IEEE80211_RATE_ERP_G; in __rate_control_send_low() 371 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low() 385 rate_mask, rate_flags); in __rate_control_send_low() 530 static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, in rate_idx_match_mask() argument 537 if (*rate_flags & IEEE80211_TX_RC_VHT_MCS) { in rate_idx_match_mask() 544 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask() 548 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask() 550 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask() 556 *rate_flags &= ~(IEEE80211_TX_RC_MCS | in rate_idx_match_mask() [all …]
|
H A 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() 407 u32 rate_flags; in ieee80211_sta_join_ibss() local 442 rate_flags = ieee80211_chandef_rate_flags(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss() 453 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_join_ibss() 454 != rate_flags) in ieee80211_sta_join_ibss() 1762 u32 rate_flags; in ieee80211_ibss_join() local 1810 rate_flags = ieee80211_chandef_rate_flags(¶ms->chandef); in ieee80211_ibss_join() 1813 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_ibss_join()
|
H A D | util.c | 1946 u32 rate_flags; in ieee80211_build_preq_ies_band() local 1955 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band() 1970 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_build_preq_ies_band() 2267 u32 supp_rates, rate_flags; in ieee80211_sta_get_rates() local 2274 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates() 2297 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates() 2298 != rate_flags) in ieee80211_sta_get_rates() 4018 u32 rate_flags = ieee80211_chanwidth_rate_flags(width); in ieee80211_parse_bitrates() local 4030 if ((rate_flags & br->flags) != rate_flags) in ieee80211_parse_bitrates() 4053 u32 rate_flags; in ieee80211_add_srates_ie() local [all …]
|
H A D | rc80211_minstrel_ht.c | 1877 const s16 *bitrates, int n_rates, u32 rate_flags) in minstrel_ht_fill_rate_array() argument 1884 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in minstrel_ht_fill_rate_array() 1902 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_ht_init_cck_rates() local 1913 rate_flags); in minstrel_ht_init_cck_rates() 1921 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef); in minstrel_ht_init_ofdm_rates() local 1932 rate_flags); in minstrel_ht_init_ofdm_rates()
|
H A 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() 2106 u16 rate_flags = 0; in ieee80211_parse_tx_radiotap() local 2171 rate_flags = 0; in ieee80211_parse_tx_radiotap() 2187 rate_flags = IEEE80211_TX_RC_MCS; in ieee80211_parse_tx_radiotap() 2191 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap() 2196 rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in ieee80211_parse_tx_radiotap() 2216 rate_flags = IEEE80211_TX_RC_VHT_MCS; in ieee80211_parse_tx_radiotap() 2220 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A 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()
|
/openbmc/linux/net/sched/ |
H A D | sch_cake.c | 223 u16 rate_flags; member 1320 if (q->rate_flags & CAKE_FLAG_OVERHEAD) in cake_calc_overhead() 1550 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_drop() 1631 wash = !!(q->rate_flags & CAKE_FLAG_WASH); in cake_select_tin() 1745 if (skb_is_gso(skb) && q->rate_flags & CAKE_FLAG_SPLIT_GSO) { in cake_enqueue() 1793 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_enqueue() 1816 if (q->rate_flags & CAKE_FLAG_AUTORATE_INGRESS) { in cake_enqueue() 2166 !!(q->rate_flags & in cake_dequeue() 2172 if (q->rate_flags & CAKE_FLAG_INGRESS) { in cake_dequeue() 2183 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_dequeue() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | peer.h | 18 u32 rate_flags; member
|
H A D | dp_rx.c | 1365 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats() 1366 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath12k_update_per_peer_tx_stats() 1367 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath12k_update_per_peer_tx_stats() 1368 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats() 1369 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats() 1370 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats() 1521 peer->ppdu_stats_delayba.rate_flags = le32_to_cpu(usr_stats->rate.rate_flags); in ath12k_copy_to_delay_stats() 1536 usr_stats->rate.rate_flags = cpu_to_le32(peer->ppdu_stats_delayba.rate_flags); in ath12k_copy_to_bar()
|
H A D | dp.h | 1455 __le32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 617 u32 rate_flags = 0; in iwlagn_request_scan() local 751 rate_flags = RATE_MCS_CCK_MSK; in iwlagn_request_scan() 809 rate_flags |= iwl_ant_idx_to_flags(priv->scan_tx_ant[band]); in iwlagn_request_scan() 810 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan()
|
H A D | tx.c | 111 u32 rate_flags; in iwlagn_tx_cmd_build_rate() local 164 rate_flags = 0; in iwlagn_tx_cmd_build_rate() 168 rate_flags |= RATE_MCS_CCK_MSK; in iwlagn_tx_cmd_build_rate() 181 rate_flags |= iwl_ant_idx_to_flags(priv->mgmt_tx_ant); in iwlagn_tx_cmd_build_rate() 184 tx_cmd->rate_n_flags = iwl_hw_set_rate_n_flags(rate_plcp, rate_flags); in iwlagn_tx_cmd_build_rate()
|
H A D | sta.c | 553 u32 rate_flags = 0; in iwl_sta_fill_lq() local 570 rate_flags |= RATE_MCS_CCK_MSK; in iwl_sta_fill_lq() 572 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << in iwl_sta_fill_lq() 574 rate_n_flags = iwl_hw_set_rate_n_flags(iwl_rates[r].plcp, rate_flags); in iwl_sta_fill_lq()
|
H A D | main.c | 188 u32 rate_flags; in iwlagn_send_beacon_cmd() local 242 rate_flags = iwl_ant_idx_to_flags(priv->mgmt_tx_ant); in iwlagn_send_beacon_cmd() 248 rate_flags |= RATE_MCS_CCK_MSK; in iwlagn_send_beacon_cmd() 251 iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_send_beacon_cmd()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00dev.c | 311 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()
|
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 319 u32 rate_flags = 0; in iwl_mvm_get_tx_rate() local 366 rate_flags |= RATE_MCS_LEGACY_OFDM_MSK; in iwl_mvm_get_tx_rate() 368 rate_flags |= RATE_MCS_CCK_MSK; in iwl_mvm_get_tx_rate() 370 rate_flags |= RATE_MCS_CCK_MSK_V1; in iwl_mvm_get_tx_rate() 373 return (u32)rate_plcp | rate_flags; in iwl_mvm_get_tx_rate()
|
H A D | rxmq.c | 255 u32 rate_flags = rate_n_flags; in iwl_mvm_get_signal_strength() local 266 (rate_flags & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in iwl_mvm_get_signal_strength()
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | tx.c | 905 u8 rate_flags = 0; in wl1271_tx_complete_packet() local 932 rate_flags = wl1271_tx_get_rate_flags(result->rate_class_index); in wl1271_tx_complete_packet() 941 info->status.rates[0].flags = rate_flags; in wl1271_tx_complete_packet()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 1415 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1416 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath11k_update_per_peer_tx_stats() 1417 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath11k_update_per_peer_tx_stats() 1418 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1419 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats() 1420 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
|
H A D | dp.h | 1287 u32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member
|