diff options
author | Pontus Fuchs <pontus.fuchs@gmail.com> | 2014-02-12 19:04:45 +0000 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-13 15:20:17 -0500 |
commit | f2ed5d2499b550917c7f5e50476e39548de68092 (patch) | |
tree | 725122899f2a0e45720640b0c00beb7dd6445b5d /drivers/net/wireless/ath/wcn36xx/wcn36xx.h | |
parent | 2be6636a9610ca3924ac3ee1f4a49eced912297b (diff) | |
download | talos-obmc-linux-f2ed5d2499b550917c7f5e50476e39548de68092.tar.gz talos-obmc-linux-f2ed5d2499b550917c7f5e50476e39548de68092.zip |
wcn36xx: Add support for 3680
3680 has a few registers on other addresses.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/wcn36xx.h')
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h index 0c5413f2c2e0..b4dc85b45910 100644 --- a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h +++ b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h @@ -178,6 +178,7 @@ struct wcn36xx { u8 fw_minor; u8 fw_major; u32 fw_feat_caps[WCN36XX_HAL_CAPS_SIZE]; + u32 chip_version; /* extra byte for the NULL termination */ u8 crm_version[WCN36XX_HAL_VERSION_LENGTH + 1]; @@ -225,6 +226,9 @@ struct wcn36xx { }; +#define WCN36XX_CHIP_3660 0 +#define WCN36XX_CHIP_3680 1 + static inline bool wcn36xx_is_fw_version(struct wcn36xx *wcn, u8 major, u8 minor, |