|
@@ -509,6 +509,44 @@ void target_if_cfr_set_cfr_support(struct wlan_objmgr_psoc *psoc,
|
|
|
rx_ops->cfr_rx_ops.cfr_support_set(psoc, value);
|
|
|
}
|
|
|
|
|
|
+QDF_STATUS
|
|
|
+target_if_cfr_set_capture_count_support(struct wlan_objmgr_psoc *psoc,
|
|
|
+ uint8_t value)
|
|
|
+{
|
|
|
+ struct wlan_lmac_if_rx_ops *rx_ops;
|
|
|
+
|
|
|
+ rx_ops = wlan_psoc_get_lmac_if_rxops(psoc);
|
|
|
+ if (!rx_ops) {
|
|
|
+ cfr_err("rx_ops is NULL");
|
|
|
+ return QDF_STATUS_E_INVAL;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (rx_ops->cfr_rx_ops.cfr_capture_count_support_set)
|
|
|
+ return rx_ops->cfr_rx_ops.cfr_capture_count_support_set(
|
|
|
+ psoc, value);
|
|
|
+
|
|
|
+ return QDF_STATUS_E_INVAL;
|
|
|
+}
|
|
|
+
|
|
|
+QDF_STATUS
|
|
|
+target_if_cfr_set_mo_marking_support(struct wlan_objmgr_psoc *psoc,
|
|
|
+ uint8_t value)
|
|
|
+{
|
|
|
+ struct wlan_lmac_if_rx_ops *rx_ops;
|
|
|
+
|
|
|
+ rx_ops = wlan_psoc_get_lmac_if_rxops(psoc);
|
|
|
+ if (!rx_ops) {
|
|
|
+ cfr_err("rx_ops is NULL");
|
|
|
+ return QDF_STATUS_E_INVAL;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (rx_ops->cfr_rx_ops.cfr_mo_marking_support_set)
|
|
|
+ return rx_ops->cfr_rx_ops.cfr_mo_marking_support_set(
|
|
|
+ psoc, value);
|
|
|
+
|
|
|
+ return QDF_STATUS_E_INVAL;
|
|
|
+}
|
|
|
+
|
|
|
void target_if_cfr_info_send(struct wlan_objmgr_pdev *pdev, void *head,
|
|
|
size_t hlen, void *data, size_t dlen, void *tail,
|
|
|
size_t tlen)
|