diff options
author | Antonio Quartulli <ordex@autistici.org> | 2012-02-12 18:08:34 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-02-12 21:12:22 +0200 |
commit | e640888c5e6a9931c6785648714da4dffe48ab52 (patch) | |
tree | 7bf88c3c184566710d1f9308c2109609df34bbf1 /src/drivers/driver_nl80211.c | |
parent | 2df4c4ef2f7330caddd874e930aa7826e1e2be62 (diff) | |
download | external_wpa_supplicant_8_ti-e640888c5e6a9931c6785648714da4dffe48ab52.zip external_wpa_supplicant_8_ti-e640888c5e6a9931c6785648714da4dffe48ab52.tar.gz external_wpa_supplicant_8_ti-e640888c5e6a9931c6785648714da4dffe48ab52.tar.bz2 |
IBSS RSN: Support authorization
In IBSS RSN cfg80211/mac80211 now waits for userspace to authorize new
stations. This patch makes wpa_supplicant notify the driver when a
station can be considered authorized.
Signed-hostap: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'src/drivers/driver_nl80211.c')
-rw-r--r-- | src/drivers/driver_nl80211.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 07f92b8..4425a03 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6421,6 +6421,14 @@ retry: NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, params->bssid); } + if (params->key_mgmt_suite == KEY_MGMT_802_1X || + params->key_mgmt_suite == KEY_MGMT_PSK || + params->key_mgmt_suite == KEY_MGMT_802_1X_SHA256 || + params->key_mgmt_suite == KEY_MGMT_PSK_SHA256) { + wpa_printf(MSG_DEBUG, " * control port"); + NLA_PUT_FLAG(msg, NL80211_ATTR_CONTROL_PORT); + } + if (params->wpa_ie) { wpa_hexdump(MSG_DEBUG, " * Extra IEs for Beacon/Probe Response frames", |