Home
last modified time | relevance | path

Searched refs:valid_tx_ant (Results 1 – 25 of 25) sorted by relevance

/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c793 first_antenna(priv->nvm_data->valid_tx_ant); in rs_get_lower_rate()
1403 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_legacy_other() local
1420 valid_tx_ant = in rs_move_legacy_other()
1421 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1444 valid_tx_ant = in rs_move_legacy_other()
1445 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1472 if (rs_toggle_antenna(valid_tx_ant, in rs_move_legacy_other()
1509 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1529 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1577 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_siso_to_other() local
[all …]
Dsta.c572 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << in iwl_sta_fill_lq()
579 first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
582 priv->nvm_data->valid_tx_ant & in iwl_sta_fill_lq()
583 ~first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
586 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_sta_fill_lq()
588 priv->nvm_data->valid_tx_ant; in iwl_sta_fill_lq()
Dmain.c241 priv->nvm_data->valid_tx_ant); in iwlagn_send_beacon_cmd()
719 static int iwlagn_send_tx_ant_config(struct iwl_priv *priv, u8 valid_tx_ant) in iwlagn_send_tx_ant_config() argument
722 .valid = cpu_to_le32(valid_tx_ant), in iwlagn_send_tx_ant_config()
726 IWL_DEBUG_HC(priv, "select valid tx ant: %u\n", valid_tx_ant); in iwlagn_send_tx_ant_config()
824 iwlagn_send_tx_ant_config(priv, priv->nvm_data->valid_tx_ant); in iwl_alive_start()
1195 num_of_ant(data->valid_tx_ant); in iwl_eeprom_init_hw_params()
1203 data->valid_tx_ant, in iwl_eeprom_init_hw_params()
Dscan.c627 u8 scan_tx_antennas = priv->nvm_data->valid_tx_ant; in iwlagn_request_scan()
908 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params()
Dcalib.c784 if (!(priv->nvm_data->valid_tx_ant & ant_msk)) in iwl_find_disconn_antenna()
798 find_first_chain(priv->nvm_data->valid_tx_ant); in iwl_find_disconn_antenna()
Dtx.c175 first_antenna(priv->nvm_data->valid_tx_ant)); in iwlagn_tx_cmd_build_rate()
179 priv->nvm_data->valid_tx_ant); in iwlagn_tx_cmd_build_rate()
Ddebugfs.c1272 if ((priv->nvm_data->valid_tx_ant & ANT_A) && in iwl_dbgfs_ucode_tx_stats_read()
1277 if ((priv->nvm_data->valid_tx_ant & ANT_B) && in iwl_dbgfs_ucode_tx_stats_read()
1282 if ((priv->nvm_data->valid_tx_ant & ANT_C) && in iwl_dbgfs_ucode_tx_stats_read()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/cfg/
D5000.c78 .valid_tx_ant = ANT_ABC, /* .cfg overwrite */
86 .valid_tx_ant = ANT_B, /* .cfg overwrite */
94 .valid_tx_ant = ANT_B, /* .cfg overwrite */
101 .valid_tx_ant = ANT_B, /* .cfg overwrite */
D6000.c257 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
288 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c303 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
306 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
309 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
312 if ((data->valid_tx_ant == ANT_AB || in iwl_get_max_txpwr_half_dbm()
313 data->valid_tx_ant == ANT_BC || in iwl_get_max_txpwr_half_dbm()
314 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
317 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
773 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
782 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
844 data->valid_tx_ant = EEPROM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_parse_eeprom_data()
[all …]
Diwl-eeprom-parse.h39 u8 valid_tx_ant, valid_rx_ant; member
Diwl-nvm-parse.c966 data->valid_tx_ant = EXT_NVM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_set_radio_cfg()
1148 if (data->valid_tx_ant) in iwl_parse_mei_nvm_data()
1149 tx_chains &= data->valid_tx_ant; in iwl_parse_mei_nvm_data()
1216 if (data->valid_tx_ant) in iwl_parse_nvm_data()
1217 tx_chains &= data->valid_tx_ant; in iwl_parse_nvm_data()
1788 nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains); in iwl_get_nvm()
1804 nvm->valid_tx_ant & fw->valid_tx_ant, in iwl_get_nvm()
Diwl-config.h397 u8 valid_tx_ant; member
Diwl-drv.c865 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
/linux-5.19.10/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c738 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_rs_get_lower_rate()
1271 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_legacy_other() local
1300 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_legacy_other()
1340 (valid_tx_ant, search_tbl->ant_type)) in il4965_rs_move_legacy_other()
1392 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_siso_to_other() local
1416 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_siso_to_other()
1437 (valid_tx_ant, search_tbl->ant_type)) in il4965_rs_move_siso_to_other()
1515 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_mimo2_to_other() local
1536 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_mimo2_to_other()
1558 (valid_tx_ant, search_tbl->ant_type)) in il4965_rs_move_mimo2_to_other()
[all …]
D4965-calib.c681 if (!(il->hw_params.valid_tx_ant & ant_msk)) in il4965_find_disconn_antenna()
695 il4965_find_first_chain(il->cfg->valid_tx_ant); in il4965_find_disconn_antenna()
D4965-mac.c868 u8 scan_tx_antennas = il->hw_params.valid_tx_ant; in il4965_request_scan()
1590 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_tx_cmd_build_rate()
3044 valid_tx_ant) << RATE_MCS_ANT_POS; in il4965_sta_alloc_lq()
3050 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_sta_alloc_lq()
3053 il->hw_params.valid_tx_ant & ~il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3054 valid_tx_ant); in il4965_sta_alloc_lq()
3057 } else if (il4965_num_of_ant(il->hw_params.valid_tx_ant) == 2) { in il4965_sta_alloc_lq()
3059 il->hw_params.valid_tx_ant; in il4965_sta_alloc_lq()
3822 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_hw_get_beacon_cmd()
6458 il->hw_params.tx_chains_num = il4965_num_of_ant(il->cfg->valid_tx_ant); in il4965_set_hw_params()
[all …]
Dcommon.h812 u8 valid_tx_ant; member
1649 u8 valid_tx_ant; member
D4965.c1896 .valid_tx_ant = ANT_AB,
Dcommon.c1506 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h215 u8 valid_tx_ant; member
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1550 return mvm->nvm_data && mvm->nvm_data->valid_tx_ant ? in iwl_mvm_get_valid_tx_ant()
1551 mvm->fw->valid_tx_ant & mvm->nvm_data->valid_tx_ant : in iwl_mvm_get_valid_tx_ant()
1552 mvm->fw->valid_tx_ant; in iwl_mvm_get_valid_tx_ant()
1572 u32 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in iwl_mvm_get_phy_config() local
1574 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config()
Drs.c2494 u8 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_get_initial_rate() local
2511 rate->ant = first_antenna(valid_tx_ant); in rs_get_initial_rate()
2659 rate->ant, lq_sta->pers.chains, mvm->fw->valid_tx_ant, in rs_initialize_lq()
2660 mvm->nvm_data ? mvm->nvm_data->valid_tx_ant : ANT_INVALID); in rs_initialize_lq()
3312 u8 valid_tx_ant, bool toggle_ant) in rs_fill_rates_for_column() argument
3327 rs_toggle_antenna(valid_tx_ant, rate); in rs_fill_rates_for_column()
3369 u8 valid_tx_ant = 0; in rs_build_rates_table() local
3376 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_build_rates_table()
3396 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
3415 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
[all …]
Dfw.c36 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument
39 .valid = cpu_to_le32(valid_tx_ant), in iwl_send_tx_ant_cfg()
42 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg()
Dnvm.c275 mvm->fw->valid_tx_ant, mvm->fw->valid_rx_ant); in iwl_parse_nvm_sections()