Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/cfg/
H A 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 */
H A D6000.c257 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
288 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c1386 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_legacy_other() local
1403 valid_tx_ant = in rs_move_legacy_other()
1427 valid_tx_ant = in rs_move_legacy_other()
1560 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_siso_to_other() local
1577 valid_tx_ant = in rs_move_siso_to_other()
1595 valid_tx_ant = in rs_move_siso_to_other()
1730 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_mimo2_to_other() local
1898 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_mimo3_to_other() local
2629 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_initialize_lq()
2899 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_fill_link_cmd()
[all …]
H A 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()
H A 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()
H A Dscan.c627 u8 scan_tx_antennas = priv->nvm_data->valid_tx_ant; in iwlagn_request_scan()
914 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params()
H A Dcalib.c786 if (!(priv->nvm_data->valid_tx_ant & ant_msk)) in iwl_find_disconn_antenna()
800 find_first_chain(priv->nvm_data->valid_tx_ant); in iwl_find_disconn_antenna()
H A Dtx.c176 first_antenna(priv->nvm_data->valid_tx_ant)); in iwlagn_tx_cmd_build_rate()
180 priv->nvm_data->valid_tx_ant); in iwlagn_tx_cmd_build_rate()
H A 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A 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()
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()
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()
860 if (cfg->valid_tx_ant) in iwl_parse_eeprom_data()
861 data->valid_tx_ant = cfg->valid_tx_ant; in iwl_parse_eeprom_data()
865 if (!data->valid_tx_ant || !data->valid_rx_ant) { in iwl_parse_eeprom_data()
[all …]
H A Diwl-eeprom-parse.h40 u8 valid_tx_ant, valid_rx_ant; member
H A Diwl-nvm-parse.c1207 data->valid_tx_ant = EXT_NVM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_set_radio_cfg()
1389 if (data->valid_tx_ant) in iwl_parse_mei_nvm_data()
1390 tx_chains &= data->valid_tx_ant; in iwl_parse_mei_nvm_data()
1457 if (data->valid_tx_ant) in iwl_parse_nvm_data()
1458 tx_chains &= data->valid_tx_ant; in iwl_parse_nvm_data()
2045 nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains); in iwl_get_nvm()
2061 nvm->valid_tx_ant & fw->valid_tx_ant, in iwl_get_nvm()
H A Diwl-config.h396 u8 valid_tx_ant; member
H A Diwl-drv.c924 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-rs.c1271 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_legacy_other() local
1392 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_siso_to_other() local
1515 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_mimo2_to_other() local
2141 u8 valid_tx_ant; in il4965_rs_initialize_lq() local
2150 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_initialize_lq()
2330 valid_tx_ant); in il4965_rs_rate_init()
2335 il->hw_params.valid_tx_ant; in il4965_rs_rate_init()
2365 u8 valid_tx_ant = 0; in il4965_rs_fill_link_cmd() local
2399 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_fill_link_cmd()
2504 u8 valid_tx_ant; in il4965_rs_dbgfs_set_mcs() local
[all …]
H A 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()
H A 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()
6463 il->hw_params.tx_chains_num = il4965_num_of_ant(il->cfg->valid_tx_ant); in il4965_set_hw_params()
[all …]
H A Dcommon.h824 u8 valid_tx_ant; member
1661 u8 valid_tx_ant; member
H A D4965.c1896 .valid_tx_ant = ANT_AB,
H A Dcommon.c1506 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dimg.h216 u8 valid_tx_ant; member
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.c2498 u8 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_get_initial_rate() local
2515 rate->ant = first_antenna(valid_tx_ant); in rs_get_initial_rate()
2663 rate->ant, lq_sta->pers.chains, mvm->fw->valid_tx_ant, in rs_initialize_lq()
2664 mvm->nvm_data ? mvm->nvm_data->valid_tx_ant : ANT_INVALID); in rs_initialize_lq()
3320 u8 valid_tx_ant, bool toggle_ant) in rs_fill_rates_for_column() argument
3335 rs_toggle_antenna(valid_tx_ant, rate); in rs_fill_rates_for_column()
3377 u8 valid_tx_ant = 0; in rs_build_rates_table() local
3384 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_build_rates_table()
3404 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
3423 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
[all …]
H A Dmvm.h1706 return mvm->nvm_data && mvm->nvm_data->valid_tx_ant ? in iwl_mvm_get_valid_tx_ant()
1707 mvm->fw->valid_tx_ant & mvm->nvm_data->valid_tx_ant : in iwl_mvm_get_valid_tx_ant()
1708 mvm->fw->valid_tx_ant; in iwl_mvm_get_valid_tx_ant()
1728 u32 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in iwl_mvm_get_phy_config() local
1730 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config()
H A Dfw.c37 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument
40 .valid = cpu_to_le32(valid_tx_ant), in iwl_send_tx_ant_cfg()
43 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg()
H A Dnvm.c275 mvm->fw->valid_tx_ant, mvm->fw->valid_rx_ant); in iwl_parse_nvm_sections()