Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Drate.c372 u32 rate_flags = in __rate_control_send_low() local
383 rate_flags |= IEEE80211_RATE_ERP_G; in __rate_control_send_low()
390 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low()
404 rate_mask, rate_flags); in __rate_control_send_low()
549 static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, in rate_idx_match_mask() argument
556 if (*rate_flags & IEEE80211_TX_RC_VHT_MCS) { in rate_idx_match_mask()
563 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask()
567 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask()
569 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask()
575 *rate_flags &= ~(IEEE80211_TX_RC_MCS | in rate_idx_match_mask()
[all …]
H A Dutil.c1204 u32 rate_flags; in ieee80211_put_preq_ies_band() local
1213 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_put_preq_ies_band()
1219 err = ieee80211_put_srates_elem(skb, sband, 0, rate_flags, in ieee80211_put_preq_ies_band()
1241 err = ieee80211_put_srates_elem(skb, sband, 0, rate_flags, in ieee80211_put_preq_ies_band()
1522 u32 supp_rates, rate_flags; in ieee80211_sta_get_rates() local
1529 rate_flags = in ieee80211_sta_get_rates()
1552 if ((rate_flags & sband->bitrates[j].flags) in ieee80211_sta_get_rates()
1553 != rate_flags) in ieee80211_sta_get_rates()
3213 u32 basic_rates, u32 rate_flags, u32 masked_rates, in ieee80211_put_srates_elem() argument
3220 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in ieee80211_put_srates_elem()
[all …]
H A Dparse.c1030 u32 rate_flags = ieee80211_chanwidth_rate_flags(width); in ieee80211_parse_bitrates() local
1041 if ((rate_flags & br->flags) != rate_flags) in ieee80211_parse_bitrates()
H A Dtx.c53 u32 rate_flags = 0; in ieee80211_duration() local
62 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
141 if ((rate_flags & r->flags) != rate_flags) in ieee80211_duration()
2100 u16 rate_flags = 0; in ieee80211_parse_tx_radiotap() local
2165 rate_flags = 0; in ieee80211_parse_tx_radiotap()
2186 rate_flags = IEEE80211_TX_RC_MCS; in ieee80211_parse_tx_radiotap()
2190 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap()
2195 rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in ieee80211_parse_tx_radiotap()
2215 rate_flags = IEEE80211_TX_RC_VHT_MCS; in ieee80211_parse_tx_radiotap()
2219 rate_flags |= IEEE80211_TX_RC_SHORT_GI; in ieee80211_parse_tx_radiotap()
[all …]
H A Dmesh.c959 u32 rate_flags; in ieee80211_mesh_build_beacon() local
964 rate_flags = in ieee80211_mesh_build_beacon()
1094 rate_flags, 0, WLAN_EID_SUPP_RATES) || in ieee80211_mesh_build_beacon()
1107 rate_flags, 0, WLAN_EID_EXT_SUPP_RATES) || in ieee80211_mesh_build_beacon()
H A Dieee80211_i.h2598 u32 basic_rates, u32 rate_flags, u32 masked_rates,
/linux/net/sched/
H A Dsch_cake.c223 u16 rate_flags; member
1360 if (q->rate_flags & CAKE_FLAG_OVERHEAD) in cake_calc_overhead()
1590 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_drop()
1671 wash = !!(q->rate_flags & CAKE_FLAG_WASH); in cake_select_tin()
1785 if (skb_is_gso(skb) && q->rate_flags & CAKE_FLAG_SPLIT_GSO) { in cake_enqueue()
1833 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_enqueue()
1856 if (q->rate_flags & CAKE_FLAG_AUTORATE_INGRESS) { in cake_enqueue()
2159 !!(q->rate_flags & in cake_dequeue()
2165 if (q->rate_flags & CAKE_FLAG_INGRESS) { in cake_dequeue()
2176 if (q->rate_flags & CAKE_FLAG_INGRESS) in cake_dequeue()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A 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/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dscan.c617 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 Dtx.c111 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 Dsta.c553 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 Dmain.c188 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()
/linux/drivers/net/wireless/ralink/rt2x00/
H A 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()
H A Drt2x00queue.c606 u8 rate_idx, rate_flags; in rt2x00queue_write_tx_frame() local
623 rate_flags = tx_info->control.rates[0].flags; in rt2x00queue_write_tx_frame()
627 skbdesc->tx_rate_flags = rate_flags; in rt2x00queue_write_tx_frame()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c858 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/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c1352 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats()
1353 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath12k_update_per_peer_tx_stats()
1354 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath12k_update_per_peer_tx_stats()
1355 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats()
1356 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats()
1357 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath12k_update_per_peer_tx_stats()
1509 peer->ppdu_stats_delayba.rate_flags = le32_to_cpu(usr_stats->rate.rate_flags); in ath12k_copy_to_delay_stats()
1524 usr_stats->rate.rate_flags = cpu_to_le32(peer->ppdu_stats_delayba.rate_flags); in ath12k_copy_to_bar()
H A Ddp.h1478 __le32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.c902 u8 rate_flags = 0; in wl1271_tx_complete_packet() local
929 rate_flags = wl1271_tx_get_rate_flags(result->rate_class_index); in wl1271_tx_complete_packet()
938 info->status.rates[0].flags = rate_flags; in wl1271_tx_complete_packet()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c269 u32 rate_flags = 0; in iwl_mvm_convert_rate_idx() local
287 rate_flags |= RATE_MCS_LEGACY_OFDM_MSK; in iwl_mvm_convert_rate_idx()
289 rate_flags |= RATE_MCS_CCK_MSK; in iwl_mvm_convert_rate_idx()
291 rate_flags |= RATE_MCS_CCK_MSK_V1; in iwl_mvm_convert_rate_idx()
294 return (u32)rate_plcp | rate_flags; in iwl_mvm_convert_rate_idx()
H A Drxmq.c255 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()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1412 flags = HTT_USR_RATE_PREAMBLE(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1413 bw = HTT_USR_RATE_BW(user_rate->rate_flags) - 2; in ath11k_update_per_peer_tx_stats()
1414 nss = HTT_USR_RATE_NSS(user_rate->rate_flags) + 1; in ath11k_update_per_peer_tx_stats()
1415 mcs = HTT_USR_RATE_MCS(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1416 sgi = HTT_USR_RATE_GI(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
1417 dcm = HTT_USR_RATE_DCM(user_rate->rate_flags); in ath11k_update_per_peer_tx_stats()
H A Ddp.h1287 u32 rate_flags; /* %HTT_PPDU_STATS_USER_RATE_FLAGS_ */ member