|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -145,6 +145,7 @@ 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 hlen, void *data, size_t dlen, void *tail,
|
|
size_t tlen);
|
|
size_t tlen);
|
|
|
|
|
|
|
|
+#ifdef WIFI_TARGET_TYPE_2_0
|
|
/**
|
|
/**
|
|
* cfr_wifi2_0_init_pdev() - Function to init legacy pdev
|
|
* cfr_wifi2_0_init_pdev() - Function to init legacy pdev
|
|
* @psoc: pointer to psoc object
|
|
* @psoc: pointer to psoc object
|
|
@@ -164,4 +165,20 @@ QDF_STATUS cfr_wifi2_0_init_pdev(struct wlan_objmgr_psoc *psoc,
|
|
*/
|
|
*/
|
|
QDF_STATUS cfr_wifi2_0_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
|
QDF_STATUS cfr_wifi2_0_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
|
struct wlan_objmgr_pdev *pdev);
|
|
struct wlan_objmgr_pdev *pdev);
|
|
|
|
+
|
|
|
|
+#else
|
|
|
|
+#ifndef CFR_USE_FIXED_FOLDER
|
|
|
|
+static QDF_STATUS cfr_wifi2_0_init_pdev(struct wlan_objmgr_psoc *psoc,
|
|
|
|
+ struct wlan_objmgr_pdev *pdev)
|
|
|
|
+{
|
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static QDF_STATUS cfr_wifi2_0_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
|
|
|
+ struct wlan_objmgr_pdev *pdev)
|
|
|
|
+{
|
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
#endif
|
|
#endif
|