Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c150 if (num_of_ant(iwl_mvm_get_valid_tx_ant(mvm)) < 2) in rs_mimo_allow()
885 u8 num_of_ant = get_num_of_ant_from_rate(ucode_rate); in rs_rate_from_ucode_rate() local
900 if (num_of_ant == 1) { in rs_rate_from_ucode_rate()
928 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
933 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
943 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
948 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
958 WARN_ONCE(!rate->stbc && !rate->bfer && num_of_ant != 1, in rs_rate_from_ucode_rate()
962 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
1129 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.c685 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_update_smps()
761 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_rx_diversity_allowed()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c589 u8 num_of_ant = get_num_of_ant_from_rate(rate_n_flags); in rs_get_tbl_info_from_mcs() local
608 if (num_of_ant == 1) { in rs_get_tbl_info_from_mcs()
630 if (num_of_ant == 1) in rs_get_tbl_info_from_mcs()
634 if (num_of_ant == 2) in rs_get_tbl_info_from_mcs()
638 if (num_of_ant == 3) { in rs_get_tbl_info_from_mcs()
795 if (num_of_ant(tbl->ant_type) > 1) in rs_get_lower_rate()
2853 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_rs_rate_init()
2916 if (num_of_ant(tbl_type.ant_type) == 1) { in rs_fill_link_cmd()
2919 } else if (num_of_ant(tbl_type.ant_type) == 2) { in rs_fill_link_cmd()
Dmain.c1202 num_of_ant(data->valid_tx_ant); in iwl_eeprom_init_hw_params()
1207 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()
/drivers/net/wireless/intel/iwlwifi/
Diwl-config.h157 static inline u8 num_of_ant(u8 mask) in num_of_ant() function
Diwl-nvm-parse.c402 int num_rx_ants = num_of_ant(rx_chains); in iwl_init_vht_hw_capab()
403 int num_tx_ants = num_of_ant(tx_chains); in iwl_init_vht_hw_capab()