aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-03-11 22:38:04 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-12 17:24:11 (GMT)
commitf9561868ecbad5acdd992fe2d1ba264071133542 (patch)
tree2b96d9c8eacd33057515038dfa290385df204ba8 /src
parenta1ea1b4522fbb2550d2981fcf6f782b402e077e3 (diff)
downloadhostap-f9561868ecbad5acdd992fe2d1ba264071133542.zip
hostap-f9561868ecbad5acdd992fe2d1ba264071133542.tar.gz
hostap-f9561868ecbad5acdd992fe2d1ba264071133542.tar.bz2
OWE: Add driver capability flag for OWE AKM
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver.h1
-rw-r--r--src/drivers/driver_nl80211_capa.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 3dc4827..fc2593e 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -1330,6 +1330,7 @@ struct wpa_driver_capa {
#define WPA_DRIVER_CAPA_KEY_MGMT_WAPI_PSK 0x00000080
#define WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B 0x00000100
#define WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192 0x00000200
+#define WPA_DRIVER_CAPA_KEY_MGMT_OWE 0x00000400
/** Bitfield of supported key management suites */
unsigned int key_mgmt;
diff --git a/src/drivers/driver_nl80211_capa.c b/src/drivers/driver_nl80211_capa.c
index 4053c21..f67ad21 100644
--- a/src/drivers/driver_nl80211_capa.c
+++ b/src/drivers/driver_nl80211_capa.c
@@ -1129,7 +1129,8 @@ int wpa_driver_nl80211_capa(struct wpa_driver_nl80211_data *drv)
WPA_DRIVER_CAPA_KEY_MGMT_WPA2 |
WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK |
WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B |
- WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192;
+ WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192 |
+ WPA_DRIVER_CAPA_KEY_MGMT_OWE;
drv->capa.auth = WPA_DRIVER_AUTH_OPEN |
WPA_DRIVER_AUTH_SHARED |
WPA_DRIVER_AUTH_LEAP;