1 /* 2 * Copyright (c) 2012-2018, 2020-2021 The Linux Foundation. All rights reserved. 3 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for 6 * any purpose with or without fee is hereby granted, provided that the 7 * above copyright notice and this permission notice appear in all 8 * copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 * PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20 #ifndef HIF_HW_VERSION_H 21 #define HIF_HW_VERSION_H 22 23 #define AR6004_VERSION_REV1_3 0x31c8088a 24 #define AR9888_REV2_VERSION 0x4100016c 25 #define AR9887_REV1_VERSION 0x4100016d 26 #define AR6320_REV1_VERSION 0x5000000 27 #define AR6320_REV1_1_VERSION 0x5000001 28 #define AR6320_REV1_3_VERSION 0x5000003 29 #define AR6320_REV2_1_VERSION 0x5010000 30 #define AR6320_REV3_VERSION 0x5020000 31 #define AR6320_REV3_2_VERSION 0x5030000 32 #define QCA9379_REV1_VERSION 0x5040000 33 #define AR6320_DEV_VERSION 0x1000000 34 #define QCA9377_REV1_1_VERSION 0x5020001 35 #define QCA6390_V1 0x50040000 36 #define QCA6490_V1 0x50060000 37 #define WCN3990_v1 0x40000000 38 #define WCN3990_v2 0x40010000 39 #define WCN3990_v2_1 0x40010002 40 #define WCN3998 0x40030001 41 #define AR900B_REV_2 0x1 42 #define MANGO_V1 0xDEADBEEF // TODO Define this 43 #define KIWI_V1 0x40170100 44 #define KIWI_V2 0x40170200 45 #define QCA6490_v2_1 0x400c1211 46 #define QCA6490_v2 0x400c0200 47 #define WCN3990_v2_2 0x400f0000 48 #define WCN6750_V1 0x40140110 49 50 struct qwlan_hw { 51 u32 id; 52 u32 subid; 53 const char *name; 54 }; 55 56 #endif /* HIF_HW_VERSION_H */ 57