OSDN Git Service

add wifi_config.h file
authorPierre Vandwalle <vandwalle@google.com>
Fri, 6 Feb 2015 22:39:22 +0000 (14:39 -0800)
committerPierre Vandwalle <vandwalle@google.com>
Fri, 6 Feb 2015 22:41:25 +0000 (22:41 +0000)
Change-Id: I0e4a54baeb2f7fb4aef58d4804c6c411c1213f09

include/hardware_legacy/wifi_config.h [new file with mode: 0644]
include/hardware_legacy/wifi_hal.h

diff --git a/include/hardware_legacy/wifi_config.h b/include/hardware_legacy/wifi_config.h
new file mode 100644 (file)
index 0000000..486f40a
--- /dev/null
@@ -0,0 +1,28 @@
+#include "wifi_hal.h"\r
+\r
+#ifndef __WIFI_HAL_CONFIG_H\r
+#define __WIFI_HAL_CONFIG_H\r
+\r
+#ifdef __cplusplus\r
+extern "C"\r
+{\r
+#endif /* __cplusplus */\r
+\r
+#define CONFIG_MAJOR_VERSION      1\r
+#define CONFIG_MINOR_VERSION      0\r
+#define CONFIG_MICRO_VERSION      0\r
+\r
+typedef int wifi_radio;\r
+\r
+// whether the wifi chipset wakes at every dtim beacon or a multiple of the dtim period\r
+wifi_error wifi_extended_dtim_config_set(wifi_request_id id,\r
+        wifi_interface_handle iface, int extended_dtim);\r
+\r
+\r
+#ifdef __cplusplus\r
+}\r
+\r
+#endif /* __cplusplus */\r
+\r
+#endif /*__WIFI_HAL_STATS_ */\r
+\r
index bb890a5..c4e31e8 100644 (file)
@@ -128,6 +128,7 @@ wifi_error wifi_set_nodfs_flag(wifi_interface_handle handle, u32 nodfs);
 #include "rtt.h"
 #include "tdls.h"
 #include "wifi_logger.h"
+#include "wifi_config.h"
 
 #endif