From 9dd37a671485efd40db73335ba2f0f5a87555e46 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Mon, 6 Oct 2014 15:13:16 -0700 Subject: wifi: Sync with wpa_supplicant commit 661b4f7 (a313d17) Bug: 17882233 Change-Id: I32d93380f6fb80409e45e6ec9983bb2f381c2319 Signed-off-by: Dmitry Shmidt --- include/hardware_legacy/driver_nl80211.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 #include #include +#ifdef CONFIG_LIBNL3_ROUTE +#include +#endif /* CONFIG_LIBNL3_ROUTE */ #include #include #include @@ -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; -- cgit v1.1