Searched refs:ant_idx (Results 1 – 3 of 3) sorted by relevance
187 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant_idx, u8 valid);293 static inline u32 iwl_ant_idx_to_flags(u8 ant_idx) in iwl_ant_idx_to_flags() argument295 return BIT(ant_idx) << RATE_MCS_ANT_POS; in iwl_ant_idx_to_flags()
947 u8 ant_idx = fls(hw_params(priv).valid_tx_ant) - 1; in iwl_init_scan_params() local949 priv->scan_tx_ant[IEEE80211_BAND_5GHZ] = ant_idx; in iwl_init_scan_params()951 priv->scan_tx_ant[IEEE80211_BAND_2GHZ] = ant_idx; in iwl_init_scan_params()
1470 u8 ant_idx = fls(il->hw_params.valid_tx_ant) - 1; in il_init_scan_params() local1472 il->scan_tx_ant[IEEE80211_BAND_5GHZ] = ant_idx; in il_init_scan_params()1474 il->scan_tx_ant[IEEE80211_BAND_2GHZ] = ant_idx; in il_init_scan_params()