Searched refs:ant_idx (Results 1 – 4 of 4) sorted by relevance
187 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);320 static inline u32 iwl_ant_idx_to_flags(u8 ant_idx) in iwl_ant_idx_to_flags() argument322 return BIT(ant_idx) << RATE_MCS_ANT_POS; in iwl_ant_idx_to_flags()
908 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params() local910 priv->scan_tx_ant[NL80211_BAND_5GHZ] = ant_idx; in iwl_init_scan_params()912 priv->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
49 u8 ant_idx; /* Only 0 is valid */ in mt7915_tm_set_tx_power() member
1506 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params() local1508 il->scan_tx_ant[NL80211_BAND_5GHZ] = ant_idx; in il_init_scan_params()1510 il->scan_tx_ant[NL80211_BAND_2GHZ] = ant_idx; in il_init_scan_params()