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

Commit a6127b44 authored by Kalle Valo's avatar Kalle Valo
Browse files

Merge tag 'iwlwifi-for-kalle-2017-10-06' of...

Merge tag 'iwlwifi-for-kalle-2017-10-06' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes

Second set of iwlwifi fixes for 4.14

* Fix support for 3168 device series;
* Fix a potential crash when using FW debugging recording;
* Improve channel flags parsing to avoid warnings on too long traces;
* Return -ENODATA when the temperature is not available, since the
  -EIO we were returning was causing fatal errors in userspace;
* Avoid printing too many messages in dmesg when using monitor mode,
  since this can become very noisy and completely flood the logs;
parents c503dd38 44fd09da
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ const struct iwl_cfg iwl3168_2ac_cfg = {
	.nvm_calib_ver = IWL3168_TX_POWER_VERSION,
	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
	.dccm_len = IWL7265_DCCM_LEN,
	.nvm_type = IWL_NVM_SDP,
};

const struct iwl_cfg iwl7265_2ac_cfg = {
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static const struct iwl_tt_params iwl8000_tt_params = {
	.default_nvm_file_C_step = DEFAULT_NVM_FILE_FAMILY_8000C,	\
	.thermal_params = &iwl8000_tt_params,				\
	.apmg_not_supported = true,					\
	.ext_nvm = true,						\
	.nvm_type = IWL_NVM_EXT,					\
	.dbgc_supported = true

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

const struct iwl_cfg iwl9160_2ac_cfg = {
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ static const struct iwl_ht_params iwl_a000_ht_params = {
	.use_tfh = true,						\
	.rf_id = true,							\
	.gen2 = true,							\
	.ext_nvm = true,						\
	.nvm_type = IWL_NVM_EXT,					\
	.dbgc_supported = true

const struct iwl_cfg iwla000_2ac_cfg_hr = {
+2 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ enum iwl_nvm_access_target {
 * @NVM_SECTION_TYPE_REGULATORY: regulatory section
 * @NVM_SECTION_TYPE_CALIBRATION: calibration section
 * @NVM_SECTION_TYPE_PRODUCTION: production section
 * @NVM_SECTION_TYPE_REGULATORY_SDP: regulatory section used by 3168 series
 * @NVM_SECTION_TYPE_MAC_OVERRIDE: MAC override section
 * @NVM_SECTION_TYPE_PHY_SKU: PHY SKU section
 * @NVM_MAX_NUM_SECTIONS: number of sections
@@ -117,6 +118,7 @@ enum iwl_nvm_section_type {
	NVM_SECTION_TYPE_REGULATORY = 3,
	NVM_SECTION_TYPE_CALIBRATION = 4,
	NVM_SECTION_TYPE_PRODUCTION = 5,
	NVM_SECTION_TYPE_REGULATORY_SDP = 8,
	NVM_SECTION_TYPE_MAC_OVERRIDE = 11,
	NVM_SECTION_TYPE_PHY_SKU = 12,
	NVM_MAX_NUM_SECTIONS = 13,
Loading