/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rxmq.c | 285 u32 rate_n_flags, int energy_a, in iwl_mvm_get_signal_strength() argument 289 u32 rate_flags = rate_n_flags; in iwl_mvm_get_signal_strength() 1112 u32 rate_n_flags, in iwl_mvm_decode_he_mu_ext() argument 1140 (rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) != RATE_MCS_CHAN_WIDTH_20) { in iwl_mvm_decode_he_mu_ext() 1163 u32 rate_n_flags, in iwl_mvm_decode_he_phy_ru_alloc() argument 1177 u32 he_type = rate_n_flags & RATE_MCS_HE_TYPE_MSK; in iwl_mvm_decode_he_phy_ru_alloc() 1233 rate_n_flags), in iwl_mvm_decode_he_phy_ru_alloc() 1239 rate_n_flags), in iwl_mvm_decode_he_phy_ru_alloc() 1248 u32 rate_n_flags, int queue) in iwl_mvm_decode_he_phy_data() argument 1347 iwl_mvm_decode_he_mu_ext(mvm, phy_data, rate_n_flags, he_mu); in iwl_mvm_decode_he_phy_data() [all …]
|
D | rx.c | 259 u32 rate_n_flags) in iwl_mvm_rx_handle_tcm() argument 289 if (!(rate_n_flags & (RATE_MCS_HT_MSK | RATE_MCS_VHT_MSK))) in iwl_mvm_rx_handle_tcm() 303 if (rate_n_flags & RATE_MCS_HT_MSK) { in iwl_mvm_rx_handle_tcm() 304 thr = thresh_tpt[rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm() 305 thr *= 1 + ((rate_n_flags & RATE_HT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm() 308 if (WARN_ON((rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK) >= in iwl_mvm_rx_handle_tcm() 311 thr = thresh_tpt[rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK]; in iwl_mvm_rx_handle_tcm() 312 thr *= 1 + ((rate_n_flags & RATE_VHT_MCS_NSS_MSK) >> in iwl_mvm_rx_handle_tcm() 316 thr <<= ((rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) >> in iwl_mvm_rx_handle_tcm() 352 u32 rate_n_flags; in iwl_mvm_rx_rx_mpdu() local [all …]
|
D | tx.c | 409 tx_cmd->rate_n_flags = in iwl_mvm_set_tx_cmd_rate() 513 u32 rate_n_flags = 0; in iwl_mvm_set_tx_params() local 544 rate_n_flags = in iwl_mvm_set_tx_params() 562 cmd->rate_n_flags = cpu_to_le32(rate_n_flags); in iwl_mvm_set_tx_params() 575 cmd->rate_n_flags = cpu_to_le32(rate_n_flags); in iwl_mvm_set_tx_params() 1343 void iwl_mvm_hwrate_to_tx_rate(u32 rate_n_flags, in iwl_mvm_hwrate_to_tx_rate() argument 1347 if (rate_n_flags & RATE_HT_MCS_GF_MSK) in iwl_mvm_hwrate_to_tx_rate() 1349 switch (rate_n_flags & RATE_MCS_CHAN_WIDTH_MSK) { in iwl_mvm_hwrate_to_tx_rate() 1362 if (rate_n_flags & RATE_MCS_SGI_MSK) in iwl_mvm_hwrate_to_tx_rate() 1364 if (rate_n_flags & RATE_MCS_HT_MSK) { in iwl_mvm_hwrate_to_tx_rate() [all …]
|
D | rs.c | 336 static inline u8 rs_extract_rate(u32 rate_n_flags) in rs_extract_rate() argument 339 return (u8)(rate_n_flags & RATE_LEGACY_RATE_MSK); in rs_extract_rate() 342 static int iwl_hwrate_to_plcp_idx(u32 rate_n_flags) in iwl_hwrate_to_plcp_idx() argument 346 if (rate_n_flags & RATE_MCS_HT_MSK) { in iwl_hwrate_to_plcp_idx() 347 idx = rate_n_flags & RATE_HT_MCS_RATE_CODE_MSK; in iwl_hwrate_to_plcp_idx() 355 } else if (rate_n_flags & RATE_MCS_VHT_MSK || in iwl_hwrate_to_plcp_idx() 356 rate_n_flags & RATE_MCS_HE_MSK) { in iwl_hwrate_to_plcp_idx() 357 idx = rate_n_flags & RATE_VHT_MCS_RATE_CODE_MSK; in iwl_hwrate_to_plcp_idx() 365 if ((rate_n_flags & RATE_MCS_HE_MSK) && in iwl_hwrate_to_plcp_idx() 371 u8 legacy_rate = rs_extract_rate(rate_n_flags); in iwl_hwrate_to_plcp_idx() [all …]
|
D | sta.h | 323 u32 rate_n_flags; member
|
D | mac-ctxt.c | 893 tx->rate_n_flags = in iwl_mvm_mac_ctxt_set_tx() 899 tx->rate_n_flags |= cpu_to_le32(iwl_mvm_mac80211_idx_to_hwrate(rate)); in iwl_mvm_mac_ctxt_set_tx() 901 tx->rate_n_flags |= cpu_to_le32(RATE_MCS_CCK_MSK); in iwl_mvm_mac_ctxt_set_tx()
|
D | utils.c | 212 int iwl_mvm_legacy_rate_to_mac80211_idx(u32 rate_n_flags, in iwl_mvm_legacy_rate_to_mac80211_idx() argument 215 int rate = rate_n_flags & RATE_LEGACY_RATE_MSK; in iwl_mvm_legacy_rate_to_mac80211_idx()
|
D | mvm.h | 1487 int iwl_mvm_legacy_rate_to_mac80211_idx(u32 rate_n_flags, 1489 void iwl_mvm_hwrate_to_tx_rate(u32 rate_n_flags,
|
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-rs.c | 98 il4965_hwrate_to_plcp_idx(u32 rate_n_flags) in il4965_hwrate_to_plcp_idx() argument 103 if (rate_n_flags & RATE_MCS_HT_MSK) { in il4965_hwrate_to_plcp_idx() 104 idx = (rate_n_flags & 0xff); in il4965_hwrate_to_plcp_idx() 119 if (il_rates[idx].plcp == (rate_n_flags & 0xFF)) in il4965_hwrate_to_plcp_idx() 131 struct il_lq_sta *lq_sta, u32 rate_n_flags); 137 u32 *rate_n_flags, int idx); 140 il4965_rs_dbgfs_set_mcs(struct il_lq_sta *lq_sta, u32 * rate_n_flags, int idx) in il4965_rs_dbgfs_set_mcs() argument 208 il4965_rs_extract_rate(u32 rate_n_flags) in il4965_rs_extract_rate() argument 210 return (u8) (rate_n_flags & 0xFF); in il4965_rs_extract_rate() 377 il4965_get_il4965_num_of_ant_from_rate(u32 rate_n_flags) in il4965_get_il4965_num_of_ant_from_rate() argument [all …]
|
D | 4965.h | 53 int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band); 61 void il4965_hwrate_to_tx_control(struct il_priv *il, u32 rate_n_flags, 138 il4965_hw_get_rate(__le32 rate_n_flags) in il4965_hw_get_rate() argument 140 return le32_to_cpu(rate_n_flags) & 0xFF; in il4965_hw_get_rate()
|
D | 4965-mac.c | 444 il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band) in il4965_hwrate_to_mac80211_idx() argument 450 if (rate_n_flags & RATE_MCS_HT_MSK) { in il4965_hwrate_to_mac80211_idx() 451 idx = (rate_n_flags & 0xff); in il4965_hwrate_to_mac80211_idx() 458 if (il_rates[idx].plcp == (rate_n_flags & 0xFF)) in il4965_hwrate_to_mac80211_idx() 620 u32 rate_n_flags; in il4965_hdl_rx() local 669 rate_n_flags = le32_to_cpu(phy_res->rate_n_flags); in il4965_hdl_rx() 681 il4965_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); in il4965_hdl_rx() 718 if (rate_n_flags & RATE_MCS_HT_MSK) in il4965_hdl_rx() 720 if (rate_n_flags & RATE_MCS_HT40_MSK) in il4965_hdl_rx() 724 if (rate_n_flags & RATE_MCS_SGI_MSK) in il4965_hdl_rx() [all …]
|
D | commands.h | 969 __le16 rate_n_flags; member 1035 __le16 rate_n_flags; /* 3945 only */ member 1231 __le32 rate_n_flags; /* RATE_MCS_* */ member 1465 __le32 rate_n_flags; /* RATE_MCS_* */ member 1686 __le32 rate_n_flags; /* RATE_MCS_* */ member 1770 __le16 rate_n_flags; member 2072 __le32 rate_n_flags; /* RATE_MCS_*, RATE_* */ member
|
D | 3945.c | 742 station->sta.rate_n_flags = cpu_to_le16(tx_rate); in il3945_sync_sta() 2247 addsta->rate_n_flags = cmd->rate_n_flags; in il3945_build_addsta_hcmd() 2323 table[idx].rate_n_flags = cpu_to_le16(il3945_rates[i].plcp); in il3945_init_hw_rate_table()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rs.c | 99 static inline u8 rs_extract_rate(u32 rate_n_flags) in rs_extract_rate() argument 101 return (u8)(rate_n_flags & RATE_MCS_RATE_MSK); in rs_extract_rate() 104 static int iwl_hwrate_to_plcp_idx(u32 rate_n_flags) in iwl_hwrate_to_plcp_idx() argument 109 if (rate_n_flags & RATE_MCS_HT_MSK) { in iwl_hwrate_to_plcp_idx() 110 idx = rs_extract_rate(rate_n_flags); in iwl_hwrate_to_plcp_idx() 128 rs_extract_rate(rate_n_flags)) in iwl_hwrate_to_plcp_idx() 140 struct iwl_lq_sta *lq_sta, u32 rate_n_flags); 146 u32 *rate_n_flags, int index); 149 u32 *rate_n_flags, int index) in rs_dbgfs_set_mcs() argument 424 static inline int get_num_of_ant_from_rate(u32 rate_n_flags) in get_num_of_ant_from_rate() argument [all …]
|
D | tx.c | 188 tx_cmd->rate_n_flags = iwl_hw_set_rate_n_flags(rate_plcp, rate_flags); in iwlagn_tx_cmd_build_rate() 810 static void iwlagn_hwrate_to_tx_control(struct iwl_priv *priv, u32 rate_n_flags, in iwlagn_hwrate_to_tx_control() argument 816 ((rate_n_flags & RATE_MCS_ANT_ABC_MSK) >> RATE_MCS_ANT_POS); in iwlagn_hwrate_to_tx_control() 817 if (rate_n_flags & RATE_MCS_HT_MSK) in iwlagn_hwrate_to_tx_control() 819 if (rate_n_flags & RATE_MCS_GF_MSK) in iwlagn_hwrate_to_tx_control() 821 if (rate_n_flags & RATE_MCS_HT40_MSK) in iwlagn_hwrate_to_tx_control() 823 if (rate_n_flags & RATE_MCS_DUP_MSK) in iwlagn_hwrate_to_tx_control() 825 if (rate_n_flags & RATE_MCS_SGI_MSK) in iwlagn_hwrate_to_tx_control() 827 r->idx = iwlagn_hwrate_to_mac80211_idx(rate_n_flags, info->band); in iwlagn_hwrate_to_tx_control() 941 agg->rate_n_flags = le32_to_cpu(tx_resp->rate_n_flags); in iwl_rx_reply_tx_agg() [all …]
|
D | rx.c | 121 u8 rate = iwl_hw_get_rate(beacon->beacon_notify_hdr.rate_n_flags); in iwlagn_rx_beacon_notif() 791 u32 rate_n_flags; in iwlagn_rx_reply_rx() local 819 rate_n_flags = le32_to_cpu(phy_res->rate_n_flags); in iwlagn_rx_reply_rx() 829 iwlagn_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); in iwlagn_rx_reply_rx() 876 if (rate_n_flags & RATE_MCS_HT_MSK) in iwlagn_rx_reply_rx() 878 if (rate_n_flags & RATE_MCS_HT40_MSK) in iwlagn_rx_reply_rx() 882 if (rate_n_flags & RATE_MCS_SGI_MSK) in iwlagn_rx_reply_rx() 884 if (rate_n_flags & RATE_MCS_GF_MSK) in iwlagn_rx_reply_rx()
|
D | agn.h | 196 int iwlagn_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band); 378 static inline u8 iwl_hw_get_rate(__le32 rate_n_flags) in iwl_hw_get_rate() argument 380 return le32_to_cpu(rate_n_flags) & RATE_MCS_RATE_MSK; in iwl_hw_get_rate()
|
D | sta.c | 559 __le32 rate_n_flags; in iwl_sta_fill_lq() local 579 rate_n_flags = iwl_hw_set_rate_n_flags(iwl_rates[r].plcp, rate_flags); in iwl_sta_fill_lq() 581 link_cmd->rs_table[i].rate_n_flags = rate_n_flags; in iwl_sta_fill_lq() 767 i, lq->rs_table[i].rate_n_flags); in iwl_dump_lq_cmd() 799 if (le32_to_cpu(lq->rs_table[i].rate_n_flags) & in is_lq_table_valid()
|
D | lib.c | 79 int iwlagn_hwrate_to_mac80211_idx(u32 rate_n_flags, enum nl80211_band band) in iwlagn_hwrate_to_mac80211_idx() argument 85 if (rate_n_flags & RATE_MCS_HT_MSK) { in iwlagn_hwrate_to_mac80211_idx() 86 idx = (rate_n_flags & 0xff); in iwlagn_hwrate_to_mac80211_idx() 93 if (iwl_rates[idx].plcp == (rate_n_flags & 0xFF)) in iwlagn_hwrate_to_mac80211_idx()
|
D | commands.h | 1109 __le32 rate_n_flags; /* RATE_MCS_* */ member 1259 __le32 rate_n_flags; /* RATE_MCS_* */ member 1443 __le32 rate_n_flags; /* RATE_MCS_* */ member 1795 __le32 rate_n_flags; /* RATE_MCS_*, IWL_RATE_* */ member
|
D | dev.h | 151 u32 rate_n_flags; member
|
D | scan.c | 810 scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); in iwlagn_request_scan()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | rx.h | 119 __le32 rate_n_flags; member 474 __le32 rate_n_flags; member 565 __le32 rate_n_flags; member
|
D | tx.h | 280 __le32 rate_n_flags; member 321 __le32 rate_n_flags; member 343 __le32 rate_n_flags; member
|
D | scan.h | 215 __le32 rate_n_flags; member
|