]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Add driver capability flag for CAN_REPLACE_PTK0
authorAlexander Wetzel <alexander@wetzel-home.de>
Sat, 4 Jan 2020 22:10:00 +0000 (23:10 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2020 10:00:23 +0000 (12:00 +0200)
commit35da7c20acec5d0c447d2f3eb219f4fb2a2683d9
treefef0a43c9c92c7077d8581c160fed65bf26bce1b
parent7b26238d460d1e2daaa8e5e5eaf0d1b64aaef6b4
nl80211: Add driver capability flag for CAN_REPLACE_PTK0

The CAN_REPLACE_PTK0 flag provided by nl80211 can be used to detect if
the card/driver is explicitly indicating capability to rekey STA PTK
keys using only keyid 0 correctly.

Check if the card/driver supports it and make the status available as a
driver flag.

Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
src/drivers/driver.h
src/drivers/driver_nl80211_capa.c