Browse Source

qcacmn: Clear number of users per ppdu in monitor mode

Currently, when a new ppdu is received, num_users per ppdu is
not getting cleared after every ppdu is processed. Hence, in OFDMA
cases the number of users increments for each ppdu and asserts when
number of users exceed the OFDMA_NUM_USERS.
To fix this, clear num_users when the ppdu is processed from status
ring in monitor mode.

Change-Id: If2598486338650342b83d65f2d5410a73c38c006
CRs-Fixed: 3664999
Ananya Gupta 1 năm trước cách đây
mục cha
commit
789b303c02
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      dp/wifi3.0/monitor/dp_mon.h

+ 1 - 0
dp/wifi3.0/monitor/dp_mon.h

@@ -4966,6 +4966,7 @@ static inline void
 dp_mon_rx_ppdu_status_reset(struct dp_mon_pdev *mon_pdev)
 {
 	mon_pdev->mon_ppdu_status = DP_PPDU_STATUS_START;
+	mon_pdev->ppdu_info.com_info.num_users = 0;
 	qdf_mem_zero(&mon_pdev->ppdu_info.rx_status,
 		     sizeof(mon_pdev->ppdu_info.rx_status));
 }