Home
last modified time | relevance | path

Searched refs:num_of_ant (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c149 if (num_of_ant(iwl_mvm_get_valid_tx_ant(mvm)) < 2) in rs_mimo_allow()
890 u8 num_of_ant = get_num_of_ant_from_rate(ucode_rate); in rs_rate_from_ucode_rate() local
905 if (num_of_ant == 1) { in rs_rate_from_ucode_rate()
933 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
938 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
948 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
953 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
963 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
967 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
1134 if (num_of_ant(rate->ant) > 1) in rs_get_lower_rate_down_column()
[all …]
Drs-fw.c130 (num_of_ant(iwl_mvm_get_valid_tx_ant(mvm)) > 1)) { in rs_fw_get_config_flags()
Dutils.c668 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_update_smps()
744 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_rx_diversity_allowed()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c590 u8 num_of_ant = get_num_of_ant_from_rate(rate_n_flags); in rs_get_tbl_info_from_mcs() local
609 if (num_of_ant == 1) { in rs_get_tbl_info_from_mcs()
631 if (num_of_ant == 1) in rs_get_tbl_info_from_mcs()
635 if (num_of_ant == 2) in rs_get_tbl_info_from_mcs()
639 if (num_of_ant == 3) { in rs_get_tbl_info_from_mcs()
796 if (num_of_ant(tbl->ant_type) > 1) in rs_get_lower_rate()
2844 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_rs_rate_init()
2907 if (num_of_ant(tbl_type.ant_type) == 1) { in rs_fill_link_cmd()
2910 } else if (num_of_ant(tbl_type.ant_type) == 2) { in rs_fill_link_cmd()
Dmain.c1201 num_of_ant(data->valid_tx_ant); in iwl_eeprom_init_hw_params()
1206 num_of_ant(data->valid_rx_ant); in iwl_eeprom_init_hw_params()
Dsta.c591 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_sta_fill_lq()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-config.h154 static inline u8 num_of_ant(u8 mask) in num_of_ant() function
Diwl-nvm-parse.c498 int num_rx_ants = num_of_ant(rx_chains); in iwl_init_vht_hw_capab()
499 int num_tx_ants = num_of_ant(tx_chains); in iwl_init_vht_hw_capab()