mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Fix most sparse warnings other than endedness problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
925510ff1a
commit
327817d32a
47 changed files with 667 additions and 1771 deletions
|
@ -488,19 +488,6 @@ void Hal_SetTxPower(PADAPTER pAdapter)
|
|||
// SetOFDMTxPower(pAdapter, TxPower);
|
||||
}
|
||||
|
||||
void Hal_SetTxAGCOffset(PADAPTER pAdapter, u32 ulTxAGCOffset)
|
||||
{
|
||||
u32 TxAGCOffset_B, TxAGCOffset_C, TxAGCOffset_D,tmpAGC;
|
||||
|
||||
TxAGCOffset_B = (ulTxAGCOffset&0x000000ff);
|
||||
TxAGCOffset_C = ((ulTxAGCOffset&0x0000ff00)>>8);
|
||||
TxAGCOffset_D = ((ulTxAGCOffset&0x00ff0000)>>16);
|
||||
|
||||
tmpAGC = (TxAGCOffset_D<<8 | TxAGCOffset_C<<4 | TxAGCOffset_B);
|
||||
write_bbreg(pAdapter, rFPGA0_TxGainStage,
|
||||
(bXBTxAGC|bXCTxAGC|bXDTxAGC), tmpAGC);
|
||||
}
|
||||
|
||||
void Hal_SetDataRate(PADAPTER pAdapter)
|
||||
{
|
||||
Hal_mpt_SwitchRfSetting(pAdapter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue