aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-01 14:14:07 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-20 09:11:14 (GMT)
commit86441a0b8a62f5ea18abcf46244c533396436ce6 (patch)
tree53bdb4dbd6bcaba2d86c47444a6aa39dabccaae9
parent1d779732670112f852b6e028f62613d9ff0120a5 (diff)
downloadhostap-06-86441a0b8a62f5ea18abcf46244c533396436ce6.zip
hostap-06-86441a0b8a62f5ea18abcf46244c533396436ce6.tar.gz
hostap-06-86441a0b8a62f5ea18abcf46244c533396436ce6.tar.bz2
nl80211: Add IGTK (AES-128-CMAC) configuration
This was somehow forgotten from IEEE 802.11w/MFP patches from wpa_supplicant -Dnl80211. (cherry picked from commit 2e24a366ea1a26a93d121ef97dc2bf5ed8ff3edd)
-rw-r--r--src/drivers/driver_nl80211.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index dd07ce6..cf80c46 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1907,6 +1907,11 @@ static int wpa_driver_nl80211_set_key(void *priv, wpa_alg alg,
case WPA_ALG_CCMP:
NLA_PUT_U32(msg, NL80211_ATTR_KEY_CIPHER, 0x000FAC04);
break;
+#ifdef CONFIG_IEEE80211W
+ case WPA_ALG_IGTK:
+ NLA_PUT_U32(msg, NL80211_ATTR_KEY_CIPHER, 0x000FAC06);
+ break;
+#endif /* CONFIG_IEEE80211W */
default:
nlmsg_free(msg);
return -1;