Add support for the Intel Centrino Wireless-N 135 chipset.

MFC after:	2 weeks
This commit is contained in:
Gavin Atkinson 2014-01-08 13:59:33 +00:00
parent 8a0a7e75c1
commit e4b141d4eb
2 changed files with 36 additions and 0 deletions

View file

@ -108,6 +108,8 @@ static const struct iwn_ident iwn_ident_table[] = {
{ 0x8086, IWN_DID_130_2, "Intel Centrino Wireless-N 130" },
{ 0x8086, IWN_DID_100_1, "Intel Centrino Wireless-N 100" },
{ 0x8086, IWN_DID_100_2, "Intel Centrino Wireless-N 100" },
{ 0x8086, IWN_DID_135_1, "Intel Centrino Wireless-N 135" },
{ 0x8086, IWN_DID_135_2, "Intel Centrino Wireless-N 135" },
{ 0x8086, IWN_DID_4965_1, "Intel Wireless WiFi Link 4965" },
{ 0x8086, IWN_DID_6x00_1, "Intel Centrino Ultimate-N 6300" },
{ 0x8086, IWN_DID_6x00_2, "Intel Centrino Advanced-N 6200" },
@ -966,6 +968,28 @@ iwn_config_specific(struct iwn_softc *sc, uint16_t pid)
}
break;
/* 135 Series */
/* XXX: This series will need adjustment for rate.
* see rx_with_siso_diversity in linux kernel
*/
case IWN_DID_135_1:
case IWN_DID_135_2:
switch(sc->subdevice_id) {
case IWN_SDID_135_1:
case IWN_SDID_135_2:
case IWN_SDID_135_3:
sc->limits = &iwn2030_sensitivity_limits;
sc->base_params = &iwn2030_base_params;
sc->fwname = "iwn135fw";
break;
default:
device_printf(sc->sc_dev, "adapter type id : 0x%04x sub id :"
"0x%04x rev %d not supported (subdevice)\n", pid,
sc->subdevice_id,sc->hw_type);
return ENOTSUP;
}
break;
/* 2x00 Series */
case IWN_DID_2x00_1:
case IWN_DID_2x00_2:

View file

@ -226,6 +226,18 @@
#define IWN_SDID_100_5 0x1025
#define IWN_SDID_100_6 0x1027
/*
* --------------------------------------------------------------------------
* Device ID for 135 Series
* --------------------------------------------------------------------------
*/
#define IWN_DID_135_1 0x0892
#define IWN_DID_135_2 0x0893
/* SubDevice ID */
#define IWN_SDID_135_1 0x0062
#define IWN_SDID_135_2 0x0262
#define IWN_SDID_135_3 0x0462
/*
* --------------------------------------------------------------------------
* Device ID for 5x00 Series