Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f137c097 authored by Golan Ben Ami's avatar Golan Ben Ami Committed by Luca Coelho
Browse files

iwlwifi: hard code power save mode to CAM for 22560 devices



Balanced power save mode isn't supported in the fw for 22560 devices
yet.  Configure the power save mode to CAM until it gets implemented.

Signed-off-by: default avatarGolan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 07fb3299
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -709,10 +709,13 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
	}
	}


	/* the hardware splits the A-MSDU */
	/* the hardware splits the A-MSDU */
	if (mvm->trans->cfg->device_family >= IWL_DEVICE_FAMILY_22560)
	if (mvm->trans->cfg->device_family >= IWL_DEVICE_FAMILY_22560) {
		trans_cfg.rx_buf_size = IWL_AMSDU_2K;
		trans_cfg.rx_buf_size = IWL_AMSDU_2K;
	else if (mvm->cfg->mq_rx_supported)
		/* TODO: remove when balanced power mode is fw supported */
		iwlmvm_mod_params.power_scheme = IWL_POWER_SCHEME_CAM;
	} else if (mvm->cfg->mq_rx_supported) {
		trans_cfg.rx_buf_size = IWL_AMSDU_4K;
		trans_cfg.rx_buf_size = IWL_AMSDU_4K;
	}


	trans->wide_cmd_header = true;
	trans->wide_cmd_header = true;
	trans_cfg.bc_table_dword =
	trans_cfg.bc_table_dword =