Просмотр исходного кода

qcacmn: Bypass management Rx reorder if the number of MLO vdevs is zero

Bypass management Rx reorder if the number of MLO vdevs the
given pdev is zero.

CRs-Fixed: 3194267
Change-Id: Ia286999fdf99bb2b77008c31dfb3a52731cd5167
Edayilliam Jayadev 3 лет назад
Родитель
Сommit
2da6d3df11
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      umac/cmn_services/mgmt_txrx/core/src/wlan_mgmt_txrx_rx_reo_i.h

+ 4 - 4
umac/cmn_services/mgmt_txrx/core/src/wlan_mgmt_txrx_rx_reo_i.h

@@ -1019,11 +1019,11 @@ static inline bool is_mgmt_rx_reo_required(
 			struct mgmt_rx_reo_frame_descriptor *desc)
 {
 	/**
-	 * NOTE: Implementing a simple policy based on INI and WMI serive bit
-	 * for now. Finer policies like checking whether this pdev has
-	 * any MLO VAPs or checking the frame type can be implemented later.
+	 * NOTE: Implementing a simple policy based on INI, WMI serive bit
+	 * and the number of MLO vdevs in the given pdev.
 	 */
-	return wlan_mgmt_rx_reo_is_feature_enabled_at_pdev(pdev);
+	return wlan_mgmt_rx_reo_is_feature_enabled_at_pdev(pdev) &&
+	       wlan_pdev_get_mlo_vdev_count(pdev);
 }
 
 /**