Răsfoiți Sursa

qcacmn: Fix the detection of non-ofdma packets from USIG header

Currently the detection logic for non-ofdma packets based
on the ppdu_type_comp_mode and ul_dl is incorrect.

Fix the logic to detect non-ofdma packets from USIG header.

Change-Id: Ic029a2fea948595157146e4105337d02d2e5ed43
CRs-Fixed: 3143088
Rakesh Pillai 3 ani în urmă
părinte
comite
00dcb987ed
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      hal/wifi3.0/be/hal_be_api_mon.h

+ 2 - 2
hal/wifi3.0/be/hal_be_api_mon.h

@@ -1289,8 +1289,8 @@ static inline bool hal_rx_is_non_ofdma(struct hal_soc *hal_soc,
 				ppdu_info->u_sig_info.ppdu_type_comp_mode;
 	uint32_t ul_dl = ppdu_info->u_sig_info.ul_dl;
 
-	if ((ppdu_type_comp_mode == 0 && ul_dl == 1) ||
-	    (ppdu_type_comp_mode == 0 && ul_dl == 2) ||
+	if ((ppdu_type_comp_mode == 1 && ul_dl == 0) ||
+	    (ppdu_type_comp_mode == 2 && ul_dl == 0) ||
 	    (ppdu_type_comp_mode == 1 && ul_dl == 1))
 		return true;