Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/dvm/
Drs.c812 first_antenna(priv->nvm_data->valid_tx_ant); in rs_get_lower_rate()
1432 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_legacy_other() local
1449 valid_tx_ant = in rs_move_legacy_other()
1450 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1473 valid_tx_ant = in rs_move_legacy_other()
1474 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1501 if (rs_toggle_antenna(valid_tx_ant, in rs_move_legacy_other()
1538 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1558 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1606 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_siso_to_other() local
[all …]
Dsta.c592 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << in iwl_sta_fill_lq()
599 first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
602 priv->nvm_data->valid_tx_ant & in iwl_sta_fill_lq()
603 ~first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
606 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_sta_fill_lq()
608 priv->nvm_data->valid_tx_ant; in iwl_sta_fill_lq()
Dmain.c173 priv->nvm_data->valid_tx_ant); in iwlagn_send_beacon_cmd()
652 static int iwlagn_send_tx_ant_config(struct iwl_priv *priv, u8 valid_tx_ant) in iwlagn_send_tx_ant_config() argument
655 .valid = cpu_to_le32(valid_tx_ant), in iwlagn_send_tx_ant_config()
659 IWL_DEBUG_HC(priv, "select valid tx ant: %u\n", valid_tx_ant); in iwlagn_send_tx_ant_config()
757 iwlagn_send_tx_ant_config(priv, priv->nvm_data->valid_tx_ant); in iwl_alive_start()
1130 num_of_ant(data->valid_tx_ant); in iwl_eeprom_init_hw_params()
1138 data->valid_tx_ant, in iwl_eeprom_init_hw_params()
Dscan.c646 u8 scan_tx_antennas = priv->nvm_data->valid_tx_ant; in iwlagn_request_scan()
927 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params()
Dcalib.c842 if (!(priv->nvm_data->valid_tx_ant & ant_msk)) in iwl_find_disconn_antenna()
856 find_first_chain(priv->nvm_data->valid_tx_ant); in iwl_find_disconn_antenna()
Dtx.c197 first_antenna(priv->nvm_data->valid_tx_ant)); in iwlagn_tx_cmd_build_rate()
201 priv->nvm_data->valid_tx_ant); in iwlagn_tx_cmd_build_rate()
Ddebugfs.c1317 if ((priv->nvm_data->valid_tx_ant & ANT_A) && in iwl_dbgfs_ucode_tx_stats_read()
1322 if ((priv->nvm_data->valid_tx_ant & ANT_B) && in iwl_dbgfs_ucode_tx_stats_read()
1327 if ((priv->nvm_data->valid_tx_ant & ANT_C) && in iwl_dbgfs_ucode_tx_stats_read()
/drivers/net/wireless/iwlwifi/
Diwl-eeprom-parse.c360 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
363 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
366 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
369 if ((data->valid_tx_ant == ANT_AB || in iwl_get_max_txpwr_half_dbm()
370 data->valid_tx_ant == ANT_BC || in iwl_get_max_txpwr_half_dbm()
371 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
374 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
823 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
832 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
894 data->valid_tx_ant = EEPROM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_parse_eeprom_data()
[all …]
Diwl-5000.c103 .valid_tx_ant = ANT_ABC, /* .cfg overwrite */
111 .valid_tx_ant = ANT_B, /* .cfg overwrite */
119 .valid_tx_ant = ANT_B, /* .cfg overwrite */
126 .valid_tx_ant = ANT_B, /* .cfg overwrite */
Diwl-6000.c290 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
322 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
Diwl-nvm-parse.c517 data->valid_tx_ant = NVM_RF_CFG_TX_ANT_MSK_FAMILY_8000(radio_cfg); in iwl_set_radio_cfg()
659 if (data->valid_tx_ant) in iwl_parse_nvm_data()
660 tx_chains &= data->valid_tx_ant; in iwl_parse_nvm_data()
679 data->valid_tx_ant = ANT_B; in iwl_parse_nvm_data()
Diwl-eeprom-parse.h95 u8 valid_tx_ant, valid_rx_ant; member
Diwl-fw.h262 u8 valid_tx_ant; member
Diwl-config.h329 u8 valid_tx_ant; member
Diwl-drv.c831 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
/drivers/net/wireless/iwlegacy/
D4965-rs.c753 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_rs_get_lower_rate()
1286 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_legacy_other() local
1315 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_legacy_other()
1355 (valid_tx_ant, search_tbl->ant_type)) in il4965_rs_move_legacy_other()
1407 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_siso_to_other() local
1431 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_siso_to_other()
1452 (valid_tx_ant, search_tbl->ant_type)) in il4965_rs_move_siso_to_other()
1530 u8 valid_tx_ant = il->hw_params.valid_tx_ant; in il4965_rs_move_mimo2_to_other() local
1551 (valid_tx_ant, &search_tbl->current_rate, in il4965_rs_move_mimo2_to_other()
1573 (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.c880 u8 scan_tx_antennas = il->hw_params.valid_tx_ant; in il4965_request_scan()
1605 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_tx_cmd_build_rate()
3064 valid_tx_ant) << RATE_MCS_ANT_POS; in il4965_sta_alloc_lq()
3070 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_sta_alloc_lq()
3073 il->hw_params.valid_tx_ant & ~il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3074 valid_tx_ant); in il4965_sta_alloc_lq()
3077 } else if (il4965_num_of_ant(il->hw_params.valid_tx_ant) == 2) { in il4965_sta_alloc_lq()
3079 il->hw_params.valid_tx_ant; in il4965_sta_alloc_lq()
3843 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_hw_get_beacon_cmd()
6485 il->hw_params.tx_chains_num = il4965_num_of_ant(il->cfg->valid_tx_ant); in il4965_set_hw_params()
[all …]
Dcommon.h829 u8 valid_tx_ant; member
1666 u8 valid_tx_ant; member
D4965.c1911 .valid_tx_ant = ANT_AB,
Dcommon.c1524 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params()
/drivers/net/wireless/iwlwifi/mvm/
Dmvm.h1072 return mvm->nvm_data && mvm->nvm_data->valid_tx_ant ? in iwl_mvm_get_valid_tx_ant()
1073 mvm->fw->valid_tx_ant & mvm->nvm_data->valid_tx_ant : in iwl_mvm_get_valid_tx_ant()
1074 mvm->fw->valid_tx_ant; in iwl_mvm_get_valid_tx_ant()
1089 u32 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in iwl_mvm_get_phy_config() local
1091 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config()
Dfw.c98 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument
101 .valid = cpu_to_le32(valid_tx_ant), in iwl_send_tx_ant_cfg()
104 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg()
Drs.c2645 u8 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_get_initial_rate() local
2662 rate->ant = first_antenna(valid_tx_ant); in rs_get_initial_rate()
3161 u8 valid_tx_ant, bool toggle_ant) in rs_fill_rates_for_column() argument
3176 rs_toggle_antenna(valid_tx_ant, rate); in rs_fill_rates_for_column()
3218 u8 valid_tx_ant = 0; in rs_build_rates_table() local
3224 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_build_rates_table()
3244 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
3263 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
3272 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
Dnvm.c318 mvm->fw->valid_tx_ant, mvm->fw->valid_rx_ant, in iwl_parse_nvm_sections()