aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorArend van Spriel <arend.vanspriel@broadcom.com>2019-01-07 11:14:40 (GMT)
committerJouni Malinen <j@w1.fi>2019-01-07 23:12:02 (GMT)
commit436ee2fd9330111da9c53f9c6d02242a9197593e (patch)
tree26bbfad583eff295f295ba8c3710d4bc09a04791 /src/drivers/driver_common.c
parent78a9ba72d04b6a0b51e4ed9120ad886e4dce3207 (diff)
downloadhostap-436ee2fd9330111da9c53f9c6d02242a9197593e.zip
hostap-436ee2fd9330111da9c53f9c6d02242a9197593e.tar.gz
hostap-436ee2fd9330111da9c53f9c6d02242a9197593e.tar.bz2
drivers: Add separate driver flags for 802.1X and PSK 4-way HS offloads
Allow drivers to indicate support for offloading 4-way handshake for either IEEE 802.1X (WPA2-Enterprise; EAP) and/or WPA/WPA2-PSK (WPA2-Personal) by splitting the WPA_DRIVER_FLAGS_4WAY_HANDSHAKE flag into two separate flags. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index 1b92e86..e55e6cd 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -253,7 +253,8 @@ const char * driver_flag_to_string(u64 flag)
DF2S(DRIVER_IE);
DF2S(SET_KEYS_AFTER_ASSOC);
DF2S(DFS_OFFLOAD);
- DF2S(4WAY_HANDSHAKE);
+ DF2S(4WAY_HANDSHAKE_PSK);
+ DF2S(4WAY_HANDSHAKE_8021X);
DF2S(WIRED);
DF2S(SME);
DF2S(AP);