Преглед на файлове

qcacmn: dfs_ioctl header file is moved to common services

dfs_ioctl header file is used by both mlme and dfs module.

Change-Id: Iafe0e38a97454418444e6489439f375d26928fe2
CRs-Fixed: 2001106
Abhijit Pradhan преди 8 години
родител
ревизия
32eb664610
променени са 5 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 3 0
      umac/cmn_services/dfs/inc/dfs_ioctl.h
  2. 1 1
      umac/dfs/core/src/dfs.h
  3. 0 4
      umac/dfs/core/src/dfs_zero_cac.h
  4. 1 0
      umac/dfs/core/src/misc/dfs.c
  5. 1 1
      umac/dfs/core/src/misc/dfs_nol.c

+ 3 - 0
umac/dfs/core/src/dfs_ioctl.h → umac/cmn_services/dfs/inc/dfs_ioctl.h

@@ -48,6 +48,9 @@
 #define DFS_GET_CAC_VALID_TIME   20
 #define DFS_SET_CAC_VALID_TIME   21
 #define DFS_SHOW_NOLHISTORY      22
+#define DFS_SECOND_SEGMENT_BANGRADAR  23
+#define DFS_SHOW_PRECAC_LISTS    24
+#define DFS_RESET_PRECAC_LISTS   25
 
 /*
  * Spectral IOCTLs use DFS_LAST_IOCTL as the base.

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

@@ -30,9 +30,9 @@
 #include <qdf_time.h>
 #include <qdf_timer.h>
 
+#include <dfs_ioctl.h>
 #include "dfs_structs.h"
 #include "dfs_channel.h"
-#include "dfs_ioctl.h"
 #include "dfs_ioctl_private.h"
 #include <i_qdf_types.h>     /* For qdf_packed*/
 #include <queue.h>           /* For STAILQ_ENTRY */

+ 0 - 4
umac/dfs/core/src/dfs_zero_cac.h

@@ -33,10 +33,6 @@
 
 #include "dfs.h"
 
-#define DFS_SECOND_SEGMENT_BANGRADAR  23
-#define DFS_SHOW_PRECAC_LISTS         24
-#define DFS_RESET_PRECAC_LISTS        25
-
 #define VHT160_IEEE_FREQ_DIFF 16
 #define TARGET_TYPE_AR900B    9
 #define TARGET_TYPE_QCA9984   10

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

@@ -22,6 +22,7 @@
  * various ioctls to set and get radar detection thresholds.
  */
 
+#include <dfs_ioctl.h>
 #include "../dfs_zero_cac.h"
 #include "wlan_dfs_lmac_api.h"
 #include "wlan_dfs_mlme_api.h"

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

@@ -26,9 +26,9 @@
  * NOL when its time is up.
  */
 
+#include <dfs_ioctl.h>
 #include "../dfs.h"
 #include "../dfs_channel.h"
-#include "../dfs_ioctl.h"
 #include "../dfs_ioctl_private.h"
 #include "qdf_time.h"
 #include "wlan_dfs_mlme_api.h"