Jelajahi Sumber

qcacmn: Set 'en' bit to true in full monitor mode register

As per MAC team's suggestion, While disbaling full monitor mode,
Set 'en' bit to true in full monitor mode register.

CRs-Fixed: 2722950
Change-Id: Idc891efde5f1fa625d59b7a193deeb38dca33e23
Amir 5 tahun lalu
induk
melakukan
990bafdd4d
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      dp/wifi3.0/dp_htt.c

+ 4 - 1
dp/wifi3.0/dp_htt.c

@@ -1103,7 +1103,10 @@ int htt_h2t_full_mon_cfg(struct htt_soc *htt_soc,
 		HTT_RX_FULL_MONITOR_MODE_NON_ZERO_MPDU_SET(*msg_word, true);
 		HTT_RX_FULL_MONITOR_MODE_RELEASE_RINGS_SET(*msg_word, 0x2);
 	} else if (config == DP_FULL_MON_DISABLE) {
-		HTT_RX_FULL_MONITOR_MODE_ENABLE_SET(*msg_word, false);
+		/* As per MAC team's suggestion, While disbaling full monitor
+		 * mode, Set 'en' bit to true in full monitor mode register.
+		 */
+		HTT_RX_FULL_MONITOR_MODE_ENABLE_SET(*msg_word, true);
 		HTT_RX_FULL_MONITOR_MODE_ZERO_MPDU_SET(*msg_word, false);
 		HTT_RX_FULL_MONITOR_MODE_NON_ZERO_MPDU_SET(*msg_word, false);
 		HTT_RX_FULL_MONITOR_MODE_RELEASE_RINGS_SET(*msg_word, 0x2);