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

Commit a02797c1 authored by Sara Sharon's avatar Sara Sharon Committed by Luca Coelho
Browse files

iwlwifi: add dbgc_supported to transport configuration



Use transport configuration to determine DBGC support
instead of relying on device family.

Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 8b4d6495
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -164,7 +164,8 @@ static const struct iwl_tt_params iwl8000_tt_params = {
	.default_nvm_file_C_step = DEFAULT_NVM_FILE_FAMILY_8000C,	\
	.default_nvm_file_C_step = DEFAULT_NVM_FILE_FAMILY_8000C,	\
	.thermal_params = &iwl8000_tt_params,				\
	.thermal_params = &iwl8000_tt_params,				\
	.apmg_not_supported = true,					\
	.apmg_not_supported = true,					\
	.ext_nvm = true
	.ext_nvm = true,						\
	.dbgc_supported = true


#define IWL_DEVICE_8000							\
#define IWL_DEVICE_8000							\
	IWL_DEVICE_8000_COMMON,						\
	IWL_DEVICE_8000_COMMON,						\
+2 −1
Original line number Original line Diff line number Diff line
@@ -148,7 +148,8 @@ static const struct iwl_tt_params iwl9000_tt_params = {
	.vht_mu_mimo_supported = true,					\
	.vht_mu_mimo_supported = true,					\
	.mac_addr_from_csr = true,					\
	.mac_addr_from_csr = true,					\
	.rf_id = true,							\
	.rf_id = true,							\
	.ext_nvm = true
	.ext_nvm = true,						\
	.dbgc_supported = true


const struct iwl_cfg iwl9160_2ac_cfg = {
const struct iwl_cfg iwl9160_2ac_cfg = {
	.name = "Intel(R) Dual Band Wireless AC 9160",
	.name = "Intel(R) Dual Band Wireless AC 9160",
+2 −1
Original line number Original line Diff line number Diff line
@@ -124,7 +124,8 @@ static const struct iwl_ht_params iwl_a000_ht_params = {
	.use_tfh = true,						\
	.use_tfh = true,						\
	.rf_id = true,							\
	.rf_id = true,							\
	.gen2 = true,							\
	.gen2 = true,							\
	.ext_nvm = true
	.ext_nvm = true,						\
	.dbgc_supported = true


const struct iwl_cfg iwla000_2ac_cfg_hr = {
const struct iwl_cfg iwla000_2ac_cfg_hr = {
		.name = "Intel(R) Dual Band Wireless AC a000",
		.name = "Intel(R) Dual Band Wireless AC a000",
+2 −1
Original line number Original line Diff line number Diff line
@@ -366,7 +366,8 @@ struct iwl_cfg {
	    use_tfh:1,
	    use_tfh:1,
	    gen2:1,
	    gen2:1,
	    cdb:1,
	    cdb:1,
	    ext_nvm:1;
	    ext_nvm:1,
	    dbgc_supported:1;
	u8 valid_tx_ant;
	u8 valid_tx_ant;
	u8 valid_rx_ant;
	u8 valid_rx_ant;
	u8 non_shared_ant;
	u8 non_shared_ant;