diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-03-14 22:10:17 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-03-14 22:10:17 -0700 |
commit | 8e2b4a3e673b4e75564737ae27a5023abdc7e32c (patch) | |
tree | 4f7c87818e0dda4b375ee3064243aaca78970d10 /include | |
parent | 2e2afb1f0a8e6525c572f006172b4796c3e9d0a9 (diff) | |
parent | 323ab030f90627abb812650b4e518a2c90450b73 (diff) | |
download | hardware_libhardware_legacy-8e2b4a3e673b4e75564737ae27a5023abdc7e32c.zip hardware_libhardware_legacy-8e2b4a3e673b4e75564737ae27a5023abdc7e32c.tar.gz hardware_libhardware_legacy-8e2b4a3e673b4e75564737ae27a5023abdc7e32c.tar.bz2 |
am "add wifi_config.h file"
merged from goog/mirror-m-wireless-internal-release
323ab03 add wifi_config.h file
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 5e445ae..51bb1a5 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -130,6 +130,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" #ifdef __cplusplus } |