mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-23 05:44:40 +00:00
8812au fix: Use HAL methods to apply TX power settings
This commit is contained in:
parent
d2b8153730
commit
f2298e305f
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.3.4~20190406"
|
PACKAGE_VERSION="5.3.4~20190407"
|
||||||
CLEAN="'make' clean"
|
CLEAN="'make' clean"
|
||||||
BUILT_MODULE_NAME[0]=88XXau
|
BUILT_MODULE_NAME[0]=88XXau
|
||||||
PROCS_NUM=`nproc`
|
PROCS_NUM=`nproc`
|
||||||
|
@ -473,6 +473,8 @@ PHY_GetTxPowerLevel8812(
|
|||||||
OUT s32 *powerlevel
|
OUT s32 *powerlevel
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||||
|
*powerlevel = pHalData->CurrentTxPwrIdx;
|
||||||
#if 0
|
#if 0
|
||||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
|
||||||
PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo);
|
PMGNT_INFO pMgntInfo = &(Adapter->MgntInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user