1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 3 4 #include "../rtl8192ce/def.h" 5 6 /*------------------------------------------------------------------------- 7 * Chip specific 8 *-------------------------------------------------------------------------*/ 9 #define NORMAL_CHIP BIT(4) 10 #define CHIP_VENDOR_UMC BIT(5) 11 #define CHIP_VENDOR_UMC_B_CUT BIT(6) 12 13 #define IS_92C_1T2R(version) \ 14 (((version) & CHIP_92C) && ((version) & CHIP_92C_1T2R)) 15 16 #define IS_VENDOR_UMC(version) \ 17 (((version) & CHIP_VENDOR_UMC) ? true : false) 18 19 #define CHIP_BONDING_92C_1T2R 0x1 20 #define CHIP_BONDING_IDENTIFIER(_value) (((_value) >> 22) & 0x3)