Browse Source

qcacld-3.0: Update HDD to use FISA API's

Make changes in HDD to use updated DP component FISA API's.

Change-Id: Ifb90b60386c9d8459008a8cb5df3cdaf33d7ee6a
CRs-Fixed: 3243909
Azmath Mohammed 2 years ago
parent
commit
d696636552
2 changed files with 2 additions and 24 deletions
  1. 2 19
      core/hdd/src/wlan_hdd_sysfs_dp_aggregation.c
  2. 0 5
      core/hdd/src/wlan_hdd_tx_rx.c

+ 2 - 19
core/hdd/src/wlan_hdd_sysfs_dp_aggregation.c

@@ -27,24 +27,8 @@
 #include "osif_psoc_sync.h"
 #include <wlan_hdd_sysfs.h>
 #include <wlan_hdd_sysfs_dp_aggregation.h>
-#if defined(WLAN_SUPPORT_RX_FISA)
-#include "dp_fisa_rx.h"
-#endif
 #include "wlan_dp_ucfg_api.h"
 
-#if defined(WLAN_SUPPORT_RX_FISA)
-static inline
-void hdd_rx_skip_fisa(ol_txrx_soc_handle dp_soc, uint32_t value)
-{
-	dp_rx_skip_fisa(dp_soc, value);
-}
-#else
-static inline
-void hdd_rx_skip_fisa(ol_txrx_soc_handle dp_soc, uint32_t value)
-{
-}
-#endif
-
 static ssize_t
 __hdd_sysfs_dp_aggregation_show(struct hdd_context *hdd_ctx,
 				struct kobj_attribute *attr, char *buf)
@@ -92,9 +76,8 @@ __hdd_sysfs_dp_aggregation_store(struct hdd_context *hdd_ctx,
 	char *sptr, *token;
 	uint32_t value;
 	int ret;
-	ol_txrx_soc_handle dp_soc = cds_get_context(QDF_MODULE_ID_SOC);
 
-	if (!wlan_hdd_validate_modules_state(hdd_ctx) || !dp_soc)
+	if (!wlan_hdd_validate_modules_state(hdd_ctx))
 		return -EINVAL;
 
 	ret = hdd_sysfs_validate_and_copy_buf(buf_local, sizeof(buf_local),
@@ -114,7 +97,7 @@ __hdd_sysfs_dp_aggregation_store(struct hdd_context *hdd_ctx,
 
 	hdd_debug("dp_aggregation: %d", value);
 
-	hdd_rx_skip_fisa(dp_soc, value);
+	ucfg_dp_rx_skip_fisa(value);
 	ucfg_dp_set_rx_aggregation_val(hdd_ctx->psoc, !!value);
 
 	return count;

+ 0 - 5
core/hdd/src/wlan_hdd_tx_rx.c

@@ -51,11 +51,6 @@
 #include <net/tcp.h>
 
 #include "dp_txrx.h"
-#if defined(WLAN_SUPPORT_RX_FISA)
-#include "dp_fisa_rx.h"
-#else
-#include <net/ieee80211_radiotap.h>
-#endif
 #include <ol_defines.h>
 #include "cfg_ucfg_api.h"
 #include "target_type.h"