Searched refs:ant_idx (Results 1 – 3 of 3) sorted by relevance
240 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);373 static inline u32 iwl_ant_idx_to_flags(u8 ant_idx) in iwl_ant_idx_to_flags() argument375 return BIT(ant_idx) << RATE_MCS_ANT_POS; in iwl_ant_idx_to_flags()
912 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params() local914 priv->scan_tx_ant[NL80211_BAND_5GHZ] = ant_idx; in iwl_init_scan_params()916 priv->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
1508 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params() local1510 il->scan_tx_ant[NL80211_BAND_5GHZ] = ant_idx; in il_init_scan_params()1512 il->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in il_init_scan_params()