Searched refs:active_rx_cnt (Results 1 – 2 of 2) sorted by relevance
782 u8 idle_rx_cnt, active_rx_cnt, valid_rx_cnt; in iwlagn_set_rxon_chain() local809 active_rx_cnt = iwl_get_active_rx_chain_count(priv); in iwlagn_set_rxon_chain()810 idle_rx_cnt = iwl_get_idle_rx_chain_count(priv, active_rx_cnt); in iwlagn_set_rxon_chain()817 if (valid_rx_cnt < active_rx_cnt) in iwlagn_set_rxon_chain()818 active_rx_cnt = valid_rx_cnt; in iwlagn_set_rxon_chain()823 rx_chain |= active_rx_cnt << RXON_RX_CHAIN_MIMO_CNT_POS; in iwlagn_set_rxon_chain()828 if (!is_single && (active_rx_cnt >= IWL_NUM_RX_CHAINS_SINGLE) && is_cam) in iwlagn_set_rxon_chain()835 active_rx_cnt, idle_rx_cnt); in iwlagn_set_rxon_chain()837 WARN_ON(active_rx_cnt == 0 || idle_rx_cnt == 0 || in iwlagn_set_rxon_chain()838 active_rx_cnt < idle_rx_cnt); in iwlagn_set_rxon_chain()
1141 u8 idle_rx_cnt, active_rx_cnt, valid_rx_cnt; in il4965_set_rxon_chain() local1157 active_rx_cnt = il4965_get_active_rx_chain_count(il); in il4965_set_rxon_chain()1158 idle_rx_cnt = il4965_get_idle_rx_chain_count(il, active_rx_cnt); in il4965_set_rxon_chain()1164 if (valid_rx_cnt < active_rx_cnt) in il4965_set_rxon_chain()1165 active_rx_cnt = valid_rx_cnt; in il4965_set_rxon_chain()1170 rx_chain |= active_rx_cnt << RXON_RX_CHAIN_MIMO_CNT_POS; in il4965_set_rxon_chain()1175 if (!is_single && active_rx_cnt >= IL_NUM_RX_CHAINS_SINGLE && is_cam) in il4965_set_rxon_chain()1181 active_rx_cnt, idle_rx_cnt); in il4965_set_rxon_chain()1183 WARN_ON(active_rx_cnt == 0 || idle_rx_cnt == 0 || in il4965_set_rxon_chain()1184 active_rx_cnt < idle_rx_cnt); in il4965_set_rxon_chain()