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

Commit 63f231fe authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: remove support for deprecated RF



One of the RF modules we support has been deprecated and never
released publicly.  Remove support for this module.

Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent ddef2f98
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -74,13 +74,10 @@

#define  IWL9000_FW_PRE "iwlwifi-9000-pu-a0-jf-a0-"
#define  IWL9260_FW_PRE "iwlwifi-9260-th-a0-jf-a0-"
#define  IWL9000LC_FW_PRE "iwlwifi-9000-pu-a0-lc-a0-"
#define IWL9000_MODULE_FIRMWARE(api) \
	IWL9000_FW_PRE "-" __stringify(api) ".ucode"
#define IWL9260_MODULE_FIRMWARE(api) \
	IWL9260_FW_PRE "-" __stringify(api) ".ucode"
#define IWL9000LC_MODULE_FIRMWARE(api) \
	IWL9000LC_FW_PRE "-" __stringify(api) ".ucode"

#define NVM_HW_SECTION_NUM_FAMILY_9000		10

@@ -198,21 +195,5 @@ const struct iwl_cfg iwl9560_2ac_cfg = {
	.integrated = true,
};

/*
 * TODO the struct below is for internal testing only this should be
 * removed by EO 2016~
 */
const struct iwl_cfg iwl9000lc_2ac_cfg = {
	.name = "Intel(R) Dual Band Wireless AC 9000",
	.fw_name_pre = IWL9000LC_FW_PRE,
	IWL_DEVICE_9000,
	.ht_params = &iwl9000_ht_params,
	.nvm_ver = IWL9000_NVM_VERSION,
	.nvm_calib_ver = IWL9000_TX_POWER_VERSION,
	.max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K,
	.integrated = true,
};

MODULE_FIRMWARE(IWL9000_MODULE_FIRMWARE(IWL9000_UCODE_API_MAX));
MODULE_FIRMWARE(IWL9260_MODULE_FIRMWARE(IWL9000_UCODE_API_MAX));
MODULE_FIRMWARE(IWL9000LC_MODULE_FIRMWARE(IWL9000_UCODE_API_MAX));
+0 −1
Original line number Diff line number Diff line
@@ -449,7 +449,6 @@ extern const struct iwl_cfg iwl4165_2ac_cfg;
extern const struct iwl_cfg iwl8260_2ac_sdio_cfg;
extern const struct iwl_cfg iwl8265_2ac_sdio_cfg;
extern const struct iwl_cfg iwl4165_2ac_sdio_cfg;
extern const struct iwl_cfg iwl9000lc_2ac_cfg;
extern const struct iwl_cfg iwl9160_2ac_cfg;
extern const struct iwl_cfg iwl9260_2ac_cfg;
extern const struct iwl_cfg iwl9270_2ac_cfg;
+0 −1
Original line number Diff line number Diff line
@@ -348,7 +348,6 @@ enum {

/* RF_ID value */
#define CSR_HW_RF_ID_TYPE_JF		(0x00105000)
#define CSR_HW_RF_ID_TYPE_LC		(0x00101000)
#define CSR_HW_RF_ID_TYPE_HR		(0x00109000)

/* EEPROM REG */
+5 −12
Original line number Diff line number Diff line
@@ -667,19 +667,12 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
		iwl_trans->cfg = cfg_7265d;
	}

	if (iwl_trans->cfg->rf_id) {
		if (cfg == &iwl9460_2ac_cfg &&
		    iwl_trans->hw_rf_id == CSR_HW_RF_ID_TYPE_LC) {
			cfg = &iwl9000lc_2ac_cfg;
			iwl_trans->cfg = cfg;
		}

		if (cfg == &iwla000_2ac_cfg_hr &&
		    iwl_trans->hw_rf_id == CSR_HW_RF_ID_TYPE_JF) {
	if (iwl_trans->cfg->rf_id &&
	    (cfg == &iwla000_2ac_cfg_hr &&
	     iwl_trans->hw_rf_id == CSR_HW_RF_ID_TYPE_JF)) {
		cfg = &iwla000_2ac_cfg_jf;
		iwl_trans->cfg = cfg;
	}
	}
#endif

	pci_set_drvdata(pdev, iwl_trans);