Browse Source

qcacmn: Added support to get the status of mgmt rx reo sim feature

Add support to get the status mgmt rx reo sim feature

cfg80211tool wifiX g_mgmt_rx_reo_simulation

Change-Id: Ia60cd25c0b044484b3e6a44ebc536ac1cf0c3804
CRs-Fixed: 3154130
Shubham Pawar 3 years ago
parent
commit
ee9cd039b3

+ 9 - 0
umac/cmn_services/mgmt_txrx/dispatcher/inc/wlan_mgmt_txrx_rx_reo_ucfg_api.h

@@ -50,6 +50,15 @@ ucfg_wlan_mgmt_rx_reo_sim_start(void);
 QDF_STATUS
 ucfg_wlan_mgmt_rx_reo_sim_stop(void);
 
+/**
+ * ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress() - API to check whether
+ * simulation is in progress
+ *
+ * Return: true if simulation is in progress, else false
+ */
+bool
+ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress(void);
+
 #else
 /**
  * ucfg_wlan_mgmt_rx_reo_sim_start() - Helper API to start mgmt rx

+ 8 - 0
umac/cmn_services/mgmt_txrx/dispatcher/src/wlan_mgmt_txrx_rx_reo_ucfg_api.c

@@ -63,3 +63,11 @@ ucfg_wlan_mgmt_rx_reo_sim_stop(void)
 }
 
 qdf_export_symbol(ucfg_wlan_mgmt_rx_reo_sim_stop);
+
+bool
+ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress(void)
+{
+	return wlan_mgmt_rx_reo_is_simulation_in_progress();
+}
+
+qdf_export_symbol(ucfg_wlan_mgmt_rx_reo_is_simulation_in_progress);