1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Calculate signal quality in the monitor mode

This commit is contained in:
Sergei Makarenkov 2016-12-18 17:16:33 +03:00
parent 17b4c50866
commit b24c447387

View File

@ -1360,7 +1360,7 @@ odm_RxPhyStatusJaguarSeries_Parsing(
pPhyInfo->RecvSignalPower = rx_pwr_all; pPhyInfo->RecvSignalPower = rx_pwr_all;
#endif #endif
/*(3) Get Signal Quality (EVM)*/ /*(3) Get Signal Quality (EVM)*/
if (pPktinfo->bPacketMatchBSSID) { /*if (pPktinfo->bPacketMatchBSSID)*/ {
u1Byte SQ, SQ_rpt; u1Byte SQ, SQ_rpt;
if ((pDM_Odm->SupportPlatform == ODM_WIN) && if ((pDM_Odm->SupportPlatform == ODM_WIN) &&
@ -1500,7 +1500,7 @@ odm_RxPhyStatusJaguarSeries_Parsing(
else else
Max_spatial_stream = 1; Max_spatial_stream = 1;
if (pPktinfo->bPacketMatchBSSID) { /*if (pPktinfo->bPacketMatchBSSID)*/ {
/*DbgPrint("pPktinfo->DataRate = %d\n", pPktinfo->DataRate);*/ /*DbgPrint("pPktinfo->DataRate = %d\n", pPktinfo->DataRate);*/
for (i = 0; i < Max_spatial_stream; i++) { for (i = 0; i < Max_spatial_stream; i++) {
@ -1997,7 +1997,8 @@ ODM_PhyStatusQuery(
} }
// For future use. // For future use.
VOID ODM_MacStatusQuery( VOID
ODM_MacStatusQuery(
IN OUT PDM_ODM_T pDM_Odm, IN OUT PDM_ODM_T pDM_Odm,
IN pu1Byte pMacStatus, IN pu1Byte pMacStatus,
IN u1Byte MacID, IN u1Byte MacID,