From: Bryan O'Donoghue Date: Sat, 29 Aug 2020 03:38:37 +0000 (+0100) Subject: wcn36xx: Add a chip identifier for WCN3680 X-Git-Tag: io_uring-5.10-2020-10-20~32^2~309^2^2~21 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=034f0befc1ff4115bf59d31a2ac5156f031991fa;p=linux-2.6-block.git wcn36xx: Add a chip identifier for WCN3680 The WCN3680 has some specific behaviours that we want to capture to distinguish it from the WCN3620 and WCN3660 respectively. Add an identifier for this purpose. Signed-off-by: Bryan O'Donoghue Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20200829033846.2167619-2-bryan.odonoghue@linaro.org --- diff --git a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h index 719a6daf9298..342ca0ae7e28 100644 --- a/drivers/net/wireless/ath/wcn36xx/wcn36xx.h +++ b/drivers/net/wireless/ath/wcn36xx/wcn36xx.h @@ -92,6 +92,7 @@ enum wcn36xx_ampdu_state { #define RF_UNKNOWN 0x0000 #define RF_IRIS_WCN3620 0x3620 +#define RF_IRIS_WCN3680 0x3680 static inline void buff_to_be(u32 *buf, size_t len) {