Home
last modified time | relevance | path

Searched refs:active_rx_cnt (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c777 u8 idle_rx_cnt, active_rx_cnt, valid_rx_cnt; in iwlagn_set_rxon_chain() local
804 active_rx_cnt = iwl_get_active_rx_chain_count(priv); in iwlagn_set_rxon_chain()
805 idle_rx_cnt = iwl_get_idle_rx_chain_count(priv, active_rx_cnt); in iwlagn_set_rxon_chain()
812 if (valid_rx_cnt < active_rx_cnt) in iwlagn_set_rxon_chain()
813 active_rx_cnt = valid_rx_cnt; in iwlagn_set_rxon_chain()
818 rx_chain |= active_rx_cnt << RXON_RX_CHAIN_MIMO_CNT_POS; in iwlagn_set_rxon_chain()
823 if (!is_single && (active_rx_cnt >= IWL_NUM_RX_CHAINS_SINGLE) && is_cam) in iwlagn_set_rxon_chain()
830 active_rx_cnt, idle_rx_cnt); in iwlagn_set_rxon_chain()
832 WARN_ON(active_rx_cnt == 0 || idle_rx_cnt == 0 || in iwlagn_set_rxon_chain()
833 active_rx_cnt < idle_rx_cnt); in iwlagn_set_rxon_chain()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c1142 u8 idle_rx_cnt, active_rx_cnt, valid_rx_cnt; in il4965_set_rxon_chain() local
1158 active_rx_cnt = il4965_get_active_rx_chain_count(il); in il4965_set_rxon_chain()
1159 idle_rx_cnt = il4965_get_idle_rx_chain_count(il, active_rx_cnt); in il4965_set_rxon_chain()
1165 if (valid_rx_cnt < active_rx_cnt) in il4965_set_rxon_chain()
1166 active_rx_cnt = valid_rx_cnt; in il4965_set_rxon_chain()
1171 rx_chain |= active_rx_cnt << RXON_RX_CHAIN_MIMO_CNT_POS; in il4965_set_rxon_chain()
1176 if (!is_single && active_rx_cnt >= IL_NUM_RX_CHAINS_SINGLE && is_cam) in il4965_set_rxon_chain()
1182 active_rx_cnt, idle_rx_cnt); in il4965_set_rxon_chain()
1184 WARN_ON(active_rx_cnt == 0 || idle_rx_cnt == 0 || in il4965_set_rxon_chain()
1185 active_rx_cnt < idle_rx_cnt); in il4965_set_rxon_chain()