pHalData = GET_HAL_DATA(padapter);
value32 = rtw_read32(padapter, REG_SYS_CFG);
- ChipVersion.chip_normal = ((value32 & RTL_ID) ? false : true);
+ pHalData->chip_normal = ((value32 & RTL_ID) ? false : true);
/* For regulator mode. by tynli. 2011.01.14 */
pHalData->RegulatorMode = ((value32 & SPS_SEL) ? RT_LDO_REGULATOR : RT_SWITCHING_REGULATOR);
/* ARFB table 9 for 11ac 5G 2SS */
rtw_write32(Adapter, REG_ARFR0_8723B, 0x00000010);
- if (pHalData->VersionID.chip_normal)
+ if (pHalData->chip_normal)
rtw_write32(Adapter, REG_ARFR0_8723B+4, 0xfffff000);
else
rtw_write32(Adapter, REG_ARFR0_8723B+4, 0x3e0ff000);
/* Interrupt related register information. */
u32 SysIntrStatus;
u32 SysIntrMask;
+
+ /* Chip version information */
+ bool chip_normal; /* true - normal chip, false - test chip */
};
#define GET_HAL_DATA(__padapter) ((struct hal_com_data *)((__padapter)->HalData))