Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c797 first_antenna(priv->nvm_data->valid_tx_ant); in rs_get_lower_rate()
1417 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_legacy_other() local
1434 valid_tx_ant = in rs_move_legacy_other()
1435 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1458 valid_tx_ant = in rs_move_legacy_other()
1459 first_antenna(priv->nvm_data->valid_tx_ant); in rs_move_legacy_other()
1486 if (rs_toggle_antenna(valid_tx_ant, in rs_move_legacy_other()
1523 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1543 if (!rs_is_valid_ant(valid_tx_ant, search_tbl->ant_type)) in rs_move_legacy_other()
1591 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; in rs_move_siso_to_other() local
[all …]
Dsta.c577 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << in iwl_sta_fill_lq()
584 first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
587 priv->nvm_data->valid_tx_ant & in iwl_sta_fill_lq()
588 ~first_antenna(priv->nvm_data->valid_tx_ant); in iwl_sta_fill_lq()
591 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { in iwl_sta_fill_lq()
593 priv->nvm_data->valid_tx_ant; in iwl_sta_fill_lq()
Dmain.c247 priv->nvm_data->valid_tx_ant); in iwlagn_send_beacon_cmd()
726 static int iwlagn_send_tx_ant_config(struct iwl_priv *priv, u8 valid_tx_ant) in iwlagn_send_tx_ant_config() argument
729 .valid = cpu_to_le32(valid_tx_ant), in iwlagn_send_tx_ant_config()
733 IWL_DEBUG_HC(priv, "select valid tx ant: %u\n", valid_tx_ant); in iwlagn_send_tx_ant_config()
831 iwlagn_send_tx_ant_config(priv, priv->nvm_data->valid_tx_ant); in iwl_alive_start()
1202 num_of_ant(data->valid_tx_ant); in iwl_eeprom_init_hw_params()
1210 data->valid_tx_ant, in iwl_eeprom_init_hw_params()
Dscan.c633 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()
Dcalib.c837 if (!(priv->nvm_data->valid_tx_ant & ant_msk)) in iwl_find_disconn_antenna()
851 find_first_chain(priv->nvm_data->valid_tx_ant); in iwl_find_disconn_antenna()
Dtx.c180 first_antenna(priv->nvm_data->valid_tx_ant)); in iwlagn_tx_cmd_build_rate()
184 priv->nvm_data->valid_tx_ant); in iwlagn_tx_cmd_build_rate()
Ddebugfs.c1276 if ((priv->nvm_data->valid_tx_ant & ANT_A) && in iwl_dbgfs_ucode_tx_stats_read()
1281 if ((priv->nvm_data->valid_tx_ant & ANT_B) && in iwl_dbgfs_ucode_tx_stats_read()
1286 if ((priv->nvm_data->valid_tx_ant & ANT_C) && in iwl_dbgfs_ucode_tx_stats_read()
/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c357 if (data->valid_tx_ant & ANT_A && txp->chain_a_max > result) in iwl_get_max_txpwr_half_dbm()
360 if (data->valid_tx_ant & ANT_B && txp->chain_b_max > result) in iwl_get_max_txpwr_half_dbm()
363 if (data->valid_tx_ant & ANT_C && txp->chain_c_max > result) in iwl_get_max_txpwr_half_dbm()
366 if ((data->valid_tx_ant == ANT_AB || in iwl_get_max_txpwr_half_dbm()
367 data->valid_tx_ant == ANT_BC || in iwl_get_max_txpwr_half_dbm()
368 data->valid_tx_ant == ANT_AC) && txp->mimo2_max > result) in iwl_get_max_txpwr_half_dbm()
371 if (data->valid_tx_ant == ANT_ABC && txp->mimo3_max > result) in iwl_get_max_txpwr_half_dbm()
826 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
835 data->valid_tx_ant, data->valid_rx_ant); in iwl_init_sbands()
897 data->valid_tx_ant = EEPROM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_parse_eeprom_data()
[all …]
Diwl-eeprom-parse.h94 u8 valid_tx_ant, valid_rx_ant; member
Diwl-nvm-parse.c775 data->valid_tx_ant = EXT_NVM_RF_CFG_TX_ANT_MSK(radio_cfg); in iwl_set_radio_cfg()
966 if (data->valid_tx_ant) in iwl_parse_nvm_data()
967 tx_chains &= data->valid_tx_ant; in iwl_parse_nvm_data()
1478 nvm->valid_tx_ant = (u8)le32_to_cpu(rsp->phy_sku.tx_chains); in iwl_get_nvm()
1492 nvm->valid_tx_ant & fw->valid_tx_ant, in iwl_get_nvm()
Diwl-config.h459 u8 valid_tx_ant; member
Diwl-drv.c833 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware()
/drivers/net/wireless/intel/iwlwifi/cfg/
D5000.c85 .valid_tx_ant = ANT_ABC, /* .cfg overwrite */
93 .valid_tx_ant = ANT_B, /* .cfg overwrite */
101 .valid_tx_ant = ANT_B, /* .cfg overwrite */
108 .valid_tx_ant = ANT_B, /* .cfg overwrite */
D6000.c268 .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \
301 .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \
/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.c866 u8 scan_tx_antennas = il->hw_params.valid_tx_ant; in il4965_request_scan()
1588 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_tx_cmd_build_rate()
3047 valid_tx_ant) << RATE_MCS_ANT_POS; in il4965_sta_alloc_lq()
3053 il4965_first_antenna(il->hw_params.valid_tx_ant); in il4965_sta_alloc_lq()
3056 il->hw_params.valid_tx_ant & ~il4965_first_antenna(il->hw_params. in il4965_sta_alloc_lq()
3057 valid_tx_ant); in il4965_sta_alloc_lq()
3060 } else if (il4965_num_of_ant(il->hw_params.valid_tx_ant) == 2) { in il4965_sta_alloc_lq()
3062 il->hw_params.valid_tx_ant; in il4965_sta_alloc_lq()
3826 il4965_toggle_tx_ant(il, &il->mgmt_tx_ant, il->hw_params.valid_tx_ant); in il4965_hw_get_beacon_cmd()
6465 il->hw_params.tx_chains_num = il4965_num_of_ant(il->cfg->valid_tx_ant); in il4965_set_hw_params()
[all …]
Dcommon.h815 u8 valid_tx_ant; member
1652 u8 valid_tx_ant; member
D4965.c1897 .valid_tx_ant = ANT_AB,
Dcommon.c1508 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1565 return mvm->nvm_data && mvm->nvm_data->valid_tx_ant ? in iwl_mvm_get_valid_tx_ant()
1566 mvm->fw->valid_tx_ant & mvm->nvm_data->valid_tx_ant : in iwl_mvm_get_valid_tx_ant()
1567 mvm->fw->valid_tx_ant; in iwl_mvm_get_valid_tx_ant()
1587 u32 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in iwl_mvm_get_phy_config() local
1589 phy_config |= valid_tx_ant << FW_PHY_CFG_TX_CHAIN_POS | in iwl_mvm_get_phy_config()
Drs.c2536 u8 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_get_initial_rate() local
2553 rate->ant = first_antenna(valid_tx_ant); in rs_get_initial_rate()
2701 rate->ant, lq_sta->pers.chains, mvm->fw->valid_tx_ant, in rs_initialize_lq()
2702 mvm->nvm_data ? mvm->nvm_data->valid_tx_ant : ANT_INVALID); in rs_initialize_lq()
3354 u8 valid_tx_ant, bool toggle_ant) in rs_fill_rates_for_column() argument
3369 rs_toggle_antenna(valid_tx_ant, rate); in rs_fill_rates_for_column()
3411 u8 valid_tx_ant = 0; in rs_build_rates_table() local
3418 valid_tx_ant = iwl_mvm_get_valid_tx_ant(mvm); in rs_build_rates_table()
3438 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
3457 num_rates, num_retries, valid_tx_ant, in rs_build_rates_table()
[all …]
Dfw.c92 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument
95 .valid = cpu_to_le32(valid_tx_ant), in iwl_send_tx_ant_cfg()
98 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg()
Dnvm.c336 mvm->fw->valid_tx_ant, mvm->fw->valid_rx_ant, in iwl_parse_nvm_sections()
/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h281 u8 valid_tx_ant; member