mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
remove HAL_{BB,MAC,RF,FW}_ENABLE macros
remove HAL_{BB,MAC,RF,FW}_ENABLE macros.
They are used to turn on/off by hand some core
capabilities we want to be always 'on'.
port bb1c456d7f88b60b28b9f51e28031fc67cdb8d7b
port b4e1882d750facd317ac2572d6bf36a05b0b0c36
Link: https://lore.kernel.org/r/04248acbd22f9be30d21891926e134490b34036a.1623756906.git.fabioaiuto83@gmail.com
This commit is contained in:
@@ -51,10 +51,6 @@ PHY_QueryBBReg8192E(
|
||||
{
|
||||
u32 ReturnValue = 0, OriginalValue, BitShift;
|
||||
|
||||
#if (DISABLE_BB_RF == 1)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
/* RTW_INFO("--->PHY_QueryBBReg8812(): RegAddr(%#x), BitMask(%#x)\n", RegAddr, BitMask); */
|
||||
|
||||
|
||||
@@ -77,10 +73,6 @@ PHY_SetBBReg8192E(
|
||||
{
|
||||
u4Byte OriginalValue, BitShift;
|
||||
|
||||
#if (DISABLE_BB_RF == 1)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (BitMask != bMaskDWord) {
|
||||
/* if not "double word" write */
|
||||
OriginalValue = rtw_read32(Adapter, RegAddr);
|
||||
@@ -230,10 +222,6 @@ PHY_QueryRFReg8192E(
|
||||
{
|
||||
u32 Original_Value, Readback_Value, BitShift;
|
||||
|
||||
#if (DISABLE_BB_RF == 1)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
Original_Value = phy_RFSerialRead(Adapter, eRFPath, RegAddr);
|
||||
|
||||
BitShift = PHY_CalculateBitShift(BitMask);
|
||||
@@ -252,9 +240,6 @@ PHY_SetRFReg8192E(
|
||||
)
|
||||
{
|
||||
u32 Original_Value, BitShift;
|
||||
#if (DISABLE_BB_RF == 1)
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (BitMask == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user