From 70aca315ac3fdfde4ea3d39405fcd9248fe95e89 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 28 Nov 2015 00:27:16 +0000 Subject: [PATCH] * Add device string for QCA955x (scorpion); * Add device ID and device string for QCA953x (honeybee). --- sys/dev/ath/ath_hal/ah.c | 6 ++++++ sys/dev/ath/ath_hal/ah_devid.h | 1 + 2 files changed, 7 insertions(+) diff --git a/sys/dev/ath/ath_hal/ah.c b/sys/dev/ath/ath_hal/ah.c index 4eb7fb65ae24..5d6c27d99d1c 100644 --- a/sys/dev/ath/ath_hal/ah.c +++ b/sys/dev/ath/ath_hal/ah.c @@ -145,6 +145,12 @@ ath_hal_mac_name(struct ath_hal *ah) case AR_SREV_VERSION_QCA9565: /* XXX should say QCA, not AR */ return "9565"; + case AR9300_DEVID_QCA955X: + /* XXX should say QCA, not AR */ + return "9550"; + case AR9300_DEVID_QCA953X: + /* XXX should say QCA, not AR */ + return "9530"; } return "????"; } diff --git a/sys/dev/ath/ath_hal/ah_devid.h b/sys/dev/ath/ath_hal/ah_devid.h index 1e4d47307258..a5006a04554b 100644 --- a/sys/dev/ath/ath_hal/ah_devid.h +++ b/sys/dev/ath/ath_hal/ah_devid.h @@ -94,6 +94,7 @@ #define AR9300_DEVID_QCA9565 0x0036 #define AR9300_DEVID_AR1111_PCIE 0x0037 #define AR9300_DEVID_QCA955X 0x0039 +#define AR9300_DEVID_QCA953X 0x003d /* Honey Bee */ #define AR_SUBVENDOR_ID_NOG 0x0e11 /* No 11G subvendor ID */ #define AR_SUBVENDOR_ID_NEW_A 0x7065 /* Update device to new RD */