diff options
author | Pierre Vandwalle <vandwalle@google.com> | 2015-02-06 14:39:22 -0800 |
---|---|---|
committer | Pierre Vandwalle <vandwalle@google.com> | 2015-02-06 22:41:25 +0000 |
commit | 323ab030f90627abb812650b4e518a2c90450b73 (patch) | |
tree | 38fdc38b28873e8fef5b1bf75b9b0ede1d3522e6 /include | |
parent | 73212d153fe67a85189b30e2cc1d1c2918e4938e (diff) | |
download | hardware_libhardware_legacy-323ab030f90627abb812650b4e518a2c90450b73.zip hardware_libhardware_legacy-323ab030f90627abb812650b4e518a2c90450b73.tar.gz hardware_libhardware_legacy-323ab030f90627abb812650b4e518a2c90450b73.tar.bz2 |
add wifi_config.h file
Change-Id: I0e4a54baeb2f7fb4aef58d4804c6c411c1213f09
Diffstat (limited to 'include')
-rw-r--r-- | include/hardware_legacy/wifi_config.h | 28 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_config.h b/include/hardware_legacy/wifi_config.h new file mode 100644 index 0000000..486f40a --- /dev/null +++ b/include/hardware_legacy/wifi_config.h @@ -0,0 +1,28 @@ +#include "wifi_hal.h"
+
+#ifndef __WIFI_HAL_CONFIG_H
+#define __WIFI_HAL_CONFIG_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+#define CONFIG_MAJOR_VERSION 1
+#define CONFIG_MINOR_VERSION 0
+#define CONFIG_MICRO_VERSION 0
+
+typedef int wifi_radio;
+
+// whether the wifi chipset wakes at every dtim beacon or a multiple of the dtim period
+wifi_error wifi_extended_dtim_config_set(wifi_request_id id,
+ wifi_interface_handle iface, int extended_dtim);
+
+
+#ifdef __cplusplus
+}
+
+#endif /* __cplusplus */
+
+#endif /*__WIFI_HAL_STATS_ */
+
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index bb890a5..c4e31e8 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -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 |