summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-10-06 15:13:16 -0700
committerDmitry Shmidt <dimitrysh@google.com>2014-10-06 15:13:16 -0700
commit9dd37a671485efd40db73335ba2f0f5a87555e46 (patch)
tree3598975ba9c1ea8c2c2fb6c7fe8f30f471d7fed4
parent8ddf81e20fd514907de51ec82a617143d2e35276 (diff)
downloadhardware_libhardware_legacy-9dd37a671485efd40db73335ba2f0f5a87555e46.zip
hardware_libhardware_legacy-9dd37a671485efd40db73335ba2f0f5a87555e46.tar.gz
hardware_libhardware_legacy-9dd37a671485efd40db73335ba2f0f5a87555e46.tar.bz2
wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17)
Bug: 17882233 Change-Id: I32d93380f6fb80409e45e6ec9983bb2f381c2319 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--include/hardware_legacy/driver_nl80211.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/hardware_legacy/driver_nl80211.h b/include/hardware_legacy/driver_nl80211.h
index 40c941a..d9a9c81 100644
--- a/include/hardware_legacy/driver_nl80211.h
+++ b/include/hardware_legacy/driver_nl80211.h
@@ -22,6 +22,9 @@
#include <netlink/genl/genl.h>
#include <netlink/genl/family.h>
#include <netlink/genl/ctrl.h>
+#ifdef CONFIG_LIBNL3_ROUTE
+#include <netlink/route/neighbour.h>
+#endif /* CONFIG_LIBNL3_ROUTE */
#include <linux/rtnetlink.h>
#include <netpacket/packet.h>
#include <linux/filter.h>
@@ -123,6 +126,7 @@ struct wpa_driver_nl80211_data {
struct dl_list list;
struct dl_list wiphy_list;
char phyname[32];
+ u8 perm_addr[ETH_ALEN];
void *ctx;
int ifindex;
int if_removed;
@@ -177,8 +181,11 @@ struct wpa_driver_nl80211_data {
unsigned int start_iface_up:1;
unsigned int test_use_roc_tx:1;
unsigned int ignore_deauth_event:1;
+ unsigned int roaming_vendor_cmd_avail:1;
unsigned int dfs_vendor_cmd_avail:1;
unsigned int have_low_prio_scan:1;
+ unsigned int force_connect_cmd:1;
+ unsigned int addr_changed:1;
u64 remain_on_chan_cookie;
u64 send_action_cookie;
@@ -194,6 +201,8 @@ struct wpa_driver_nl80211_data {
int eapol_sock; /* socket for EAPOL frames */
+ struct nl_sock *rtnl_sk; /* nl_sock for NETLINK_ROUTE */
+
int default_if_indices[16];
int *if_indices;
int num_if_indices;