ath9k: Identify CUS252 cards
These cards are based on WB335/AR9565. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
1823a4212b
commit
10631336eb
|
@ -628,9 +628,10 @@ void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs);
|
|||
#define ATH9K_PCI_CUS198 0x0001
|
||||
#define ATH9K_PCI_CUS230 0x0002
|
||||
#define ATH9K_PCI_CUS217 0x0004
|
||||
#define ATH9K_PCI_WOW 0x0008
|
||||
#define ATH9K_PCI_BT_ANT_DIV 0x0010
|
||||
#define ATH9K_PCI_D3_L1_WAR 0x0020
|
||||
#define ATH9K_PCI_CUS252 0x0008
|
||||
#define ATH9K_PCI_WOW 0x0010
|
||||
#define ATH9K_PCI_BT_ANT_DIV 0x0020
|
||||
#define ATH9K_PCI_D3_L1_WAR 0x0040
|
||||
|
||||
/*
|
||||
* Default cache line size, in bytes.
|
||||
|
|
|
@ -547,6 +547,9 @@ static void ath9k_init_platform(struct ath_softc *sc)
|
|||
if (sc->driver_data & ATH9K_PCI_CUS217)
|
||||
ath_info(common, "CUS217 card detected\n");
|
||||
|
||||
if (sc->driver_data & ATH9K_PCI_CUS252)
|
||||
ath_info(common, "CUS252 card detected\n");
|
||||
|
||||
if (sc->driver_data & ATH9K_PCI_BT_ANT_DIV) {
|
||||
pCap->hw_caps |= ATH9K_HW_CAP_BT_ANT_DIV;
|
||||
ath_info(common, "Set BT/WLAN RX diversity capability\n");
|
||||
|
|
|
@ -270,6 +270,18 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_id_table) = {
|
|||
{ PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
|
||||
{ PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
|
||||
|
||||
/* CUS252 */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
|
||||
0x0036,
|
||||
PCI_VENDOR_ID_ATHEROS,
|
||||
0x3028),
|
||||
.driver_data = ATH9K_PCI_CUS252 | ATH9K_PCI_BT_ANT_DIV },
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ATHEROS,
|
||||
0x0036,
|
||||
PCI_VENDOR_ID_AZWAVE,
|
||||
0x2176),
|
||||
.driver_data = ATH9K_PCI_CUS252 | ATH9K_PCI_BT_ANT_DIV },
|
||||
|
||||
/* PCI-E AR9565 (WB335) */
|
||||
{ PCI_VDEVICE(ATHEROS, 0x0036),
|
||||
.driver_data = ATH9K_PCI_BT_ANT_DIV },
|
||||
|
|
Loading…
Reference in New Issue