mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
Removed some spacing
This commit is contained in:
parent
650a632c96
commit
8c6bb81767
14
hal/hal_mp.c
14
hal/hal_mp.c
@ -52,7 +52,6 @@
|
||||
#endif
|
||||
#endif /* !RTW_HALMAC */
|
||||
|
||||
|
||||
u8 MgntQuery_NssTxRate(u16 Rate)
|
||||
{
|
||||
u8 NssNum = RF_TX_NUM_NONIMPLEMENT;
|
||||
@ -112,7 +111,6 @@ s32 hal_mpt_SetPowerTracking(PADAPTER padapter, u8 enable)
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
PDM_ODM_T pDM_Odm = &(pHalData->odmpriv);
|
||||
|
||||
|
||||
if (!netif_running(padapter->pnetdev)) {
|
||||
return _FAIL;
|
||||
}
|
||||
@ -137,7 +135,6 @@ void hal_mpt_GetPowerTracking(PADAPTER padapter, u8 *enable)
|
||||
*enable = pDM_Odm->RFCalibrateInfo.TxPowerTrackControl;
|
||||
}
|
||||
|
||||
|
||||
void hal_mpt_CCKTxPowerAdjust(PADAPTER Adapter, BOOLEAN bInCH14)
|
||||
{
|
||||
u32 TempVal = 0, TempVal2 = 0, TempVal3 = 0;
|
||||
@ -1299,7 +1296,6 @@ void mpt_SetRFPath_8723D(PADAPTER pAdapter)
|
||||
PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x51,
|
||||
bRFRegOffsetMask, 0x6B04E);
|
||||
|
||||
|
||||
for (i = 0; i < 3; ++i) {
|
||||
/* <20130603, Kordan> Because BB suppors only 1T1R,
|
||||
we restore IQC to S1 instead of S0.*/
|
||||
@ -1468,7 +1464,6 @@ VOID mpt_SetRFPath_819X(PADAPTER pAdapter)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (chgTx && chgRx) {
|
||||
switch (pHalData->rf_chip) {
|
||||
case RF_8225:
|
||||
@ -1493,7 +1488,6 @@ VOID mpt_SetRFPath_819X(PADAPTER pAdapter)
|
||||
}
|
||||
} /* MPT_ProSetRFPath */
|
||||
|
||||
|
||||
void hal_mpt_SetAntenna(PADAPTER pAdapter)
|
||||
|
||||
{
|
||||
@ -1560,12 +1554,10 @@ s32 hal_mpt_SetThermalMeter(PADAPTER pAdapter, u8 target_ther)
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
||||
if (check_fwstate(&pAdapter->mlmepriv, WIFI_MP_STATE) == _FALSE) {
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
|
||||
target_ther &= 0xff;
|
||||
if (target_ther < 0x07)
|
||||
target_ther = 0x07;
|
||||
@ -1577,14 +1569,12 @@ s32 hal_mpt_SetThermalMeter(PADAPTER pAdapter, u8 target_ther)
|
||||
return _SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
void hal_mpt_TriggerRFThermalMeter(PADAPTER pAdapter)
|
||||
{
|
||||
PHY_SetRFReg(pAdapter, ODM_RF_PATH_A, 0x42, BIT17 | BIT16, 0x03);
|
||||
|
||||
}
|
||||
|
||||
|
||||
u8 hal_mpt_ReadRFThermalMeter(PADAPTER pAdapter)
|
||||
|
||||
{
|
||||
@ -1595,7 +1585,6 @@ u8 hal_mpt_ReadRFThermalMeter(PADAPTER pAdapter)
|
||||
|
||||
}
|
||||
|
||||
|
||||
void hal_mpt_GetThermalMeter(PADAPTER pAdapter, u8 *value)
|
||||
{
|
||||
#if 0
|
||||
@ -1611,7 +1600,6 @@ void hal_mpt_GetThermalMeter(PADAPTER pAdapter, u8 *value)
|
||||
|
||||
}
|
||||
|
||||
|
||||
void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
@ -1656,7 +1644,6 @@ void hal_mpt_SetSingleCarrierTx(PADAPTER pAdapter, u8 bStart)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void hal_mpt_SetSingleToneTx(PADAPTER pAdapter, u8 bStart)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(pAdapter);
|
||||
@ -2071,7 +2058,6 @@ static VOID mpt_StopCckContTx(
|
||||
|
||||
} /* mpt_StopCckContTx */
|
||||
|
||||
|
||||
static VOID mpt_StopOfdmContTx(
|
||||
PADAPTER pAdapter
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user