qcacmn: CFR Feature support
Add CFR component specific Rx-Ops callbacks
Change-Id: Ic1e89ca2ba049f9579964de50d7285cd40a0d3a7
CRs-Fixed: 2397716
diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h
index a7d32c8..71d0bcc 100644
--- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h
+++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h
@@ -1141,6 +1141,21 @@
};
#endif
+#ifdef WLAN_CFR_ENABLE
+
+/**
+ * struct wlan_lmac_if_cfr_rx_ops - CFR south bound rx function pointers
+ * @cfr_support_set: Set the CFR support based on FW advert
+ * @cfr_info_send: Send cfr info to upper layers
+ */
+struct wlan_lmac_if_cfr_rx_ops {
+ void (*cfr_support_set)(struct wlan_objmgr_psoc *psoc, uint32_t value);
+ uint32_t (*cfr_info_send)(struct wlan_objmgr_pdev *pdev, void *head,
+ size_t hlen, void *data, size_t dlen,
+ void *tail, size_t tlen);
+};
+#endif
+
#ifdef WLAN_CONV_SPECTRAL_ENABLE
/**
* struct wlan_lmac_if_sptrl_rx_ops - Spectral south bound Rx operations
@@ -1447,6 +1462,7 @@
* @scan: scan rx ops
* @dfs_rx_ops: dfs rx ops.
* @cp_stats_rx_ops: cp stats rx ops
+ * @cfr_rx_ops: cfr rx ops
*
* Callback function tabled to be registered with lmac/wmi.
* lmac will use the functional table to send events/frames to umac
@@ -1473,6 +1489,10 @@
struct wlan_lmac_if_sa_api_rx_ops sa_api_rx_ops;
#endif
+#ifdef WLAN_CFR_ENABLE
+ struct wlan_lmac_if_cfr_rx_ops cfr_rx_ops;
+#endif
+
#ifdef WLAN_CONV_SPECTRAL_ENABLE
struct wlan_lmac_if_sptrl_rx_ops sptrl_rx_ops;
#endif