Selaa lähdekoodia

qcacmn: Rename dfs_ioctl.h as wlan_dfs_ioctl.h

Rename dfs_ioctl.h file as wlan_dfs_ioctl.h and
move it from cmn_services directory to dfs dispatcher.

Change-Id: I75e0337bd84b71cf77975656423f78f9b016285f
CRs-Fixed: 2127833
Shashikala Prabhu 7 vuotta sitten
vanhempi
sitoutus
2a9f2a0525

+ 2 - 2
umac/dfs/core/src/dfs.h

@@ -30,7 +30,7 @@
 #include <qdf_time.h>
 #include <qdf_timer.h>
 
-#include <dfs_ioctl.h>
+#include <wlan_dfs_ioctl.h>
 #include "dfs_structs.h"
 #include "dfs_channel.h"
 #include "dfs_ioctl_private.h"
@@ -923,7 +923,7 @@ struct wlan_dfs {
 	int wlan_dfs_nol_timeout;
 	bool update_nol;
 	uint32_t dfs_seq_num;
-	int dfs_nol_event[IEEE80211_CHAN_MAX];
+	int dfs_nol_event[DFS_CHAN_MAX];
 	os_timer_t dfs_nol_timer;
 	os_timer_t dfs_cac_timer;
 	os_timer_t dfs_cac_valid_timer;

+ 0 - 1
umac/dfs/core/src/misc/dfs.c

@@ -27,7 +27,6 @@
 #include "wlan_dfs_mlme_api.h"
 #include "wlan_dfs_tgt_api.h"
 #include "../dfs_internal.h"
-#include <dfs_ioctl.h>
 
 /*
  * Channel switch announcement (CSA)

+ 0 - 1
umac/dfs/core/src/misc/dfs_nol.c

@@ -34,7 +34,6 @@
 #include <wlan_dfs_mlme_api.h>
 #include <wlan_dfs_utils_api.h>
 #include <wlan_reg_services_api.h>
-#include <dfs_ioctl.h>
 
 /**
  * dfs_nol_timeout() - NOL timeout function.

+ 3 - 3
umac/cmn_services/dfs/inc/dfs_ioctl.h → umac/dfs/dispatcher/inc/wlan_dfs_ioctl.h

@@ -59,8 +59,8 @@
  */
 #define DFS_LAST_IOCTL 26
 
-#ifndef IEEE80211_CHAN_MAX
-#define IEEE80211_CHAN_MAX 1023
+#ifndef DFS_CHAN_MAX
+#define DFS_CHAN_MAX 1023
 #endif
 
 /**
@@ -80,7 +80,7 @@ struct dfsreq_nolelem {
 
 struct dfsreq_nolinfo {
 	uint32_t  dfs_ch_nchans;
-	struct dfsreq_nolelem dfs_nol[IEEE80211_CHAN_MAX];
+	struct dfsreq_nolelem dfs_nol[DFS_CHAN_MAX];
 };
 
 /*

+ 1 - 0
umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

@@ -47,6 +47,7 @@
 #endif
 
 #include <wlan_dfs_tgt_api.h>
+#include <wlan_dfs_ioctl.h>
 
 /* Number of dev type: Direct attach and Offload */
 #define MAX_DEV_TYPE 2