mbox series

[RFC,0/3] Extended Key ID support

Message ID 20181111115441.15015-1-alexander.wetzel@web.de
Headers show
Series Extended Key ID support | expand

Message

Alexander Wetzel Nov. 11, 2018, 11:54 a.m. UTC
From: Alexander Wetzel <alexander@wetzel-home.de>

IEEE 802.11-2012 added support for Extended Key ID, allowing pairwise
keys to also use keyID 1 and moving group keys to IDs 2 and 3.

Support for Extended Key ID is working with these patches and has been
test with both hwsim and "on the air" with ath9k/iwldvm using software
encryption. It's sill WIP and only a snapshot of the current development
status.

A notable but kind of hidden change is, that the code no longer will
install PTK keys as default key, assuming the previous behavior was a
bug.

The APIs are all still in flux and any suggestions how this can be
improved are highly welcome.

If someone knows about any other implementation please drop me a note.
As far as I was able to determine there are no other implementations
to test interoperability against available, yet.

Alexander Wetzel (3):
  Update API and drivers for extended Key ID
  hostapd support for Extended Key ID
  wpa_supplicant support for Extended Key ID

 hostapd/config_file.c             |   2 +
 hostapd/hostapd.conf              |   9 ++
 src/ap/ap_config.c                |   1 +
 src/ap/ap_config.h                |   1 +
 src/ap/ap_drv_ops.c               |   4 +-
 src/ap/wpa_auth.c                 |  84 +++++++++++++-----
 src/ap/wpa_auth.h                 |   5 +-
 src/ap/wpa_auth_ft.c              |   6 +-
 src/ap/wpa_auth_glue.c            |  13 ++-
 src/ap/wpa_auth_i.h               |   2 +
 src/ap/wpa_auth_ie.c              |   7 ++
 src/common/wpa_common.h           |   4 +
 src/drivers/driver.h              |  20 ++++-
 src/drivers/driver_atheros.c      |   8 +-
 src/drivers/driver_bsd.c          |  10 +--
 src/drivers/driver_hostap.c       |   5 +-
 src/drivers/driver_ndis.c         |  10 +--
 src/drivers/driver_nl80211.c      |  30 +++++--
 src/drivers/driver_nl80211_capa.c |   4 +
 src/drivers/driver_openbsd.c      |   2 +-
 src/drivers/driver_privsep.c      |   8 +-
 src/drivers/driver_wext.c         |  19 ++--
 src/drivers/nl80211_copy.h        | 139 ++++++++++++++++++++++++++++++
 src/rsn_supp/wpa.c                |  67 ++++++++++++--
 src/rsn_supp/wpa.h                |   4 +-
 src/rsn_supp/wpa_i.h              |   3 +
 src/rsn_supp/wpa_ie.c             |  11 +++
 src/rsn_supp/wpa_ie.h             |   1 +
 wpa_supplicant/config.c           |   2 +
 wpa_supplicant/config_file.c      |   1 +
 wpa_supplicant/config_ssid.h      |  11 +++
 wpa_supplicant/ibss_rsn.c         |  11 +--
 wpa_supplicant/mesh_rsn.c         |   3 +-
 wpa_supplicant/wpa_supplicant.c   |   6 ++
 wpa_supplicant/wpas_glue.c        |   1 +
 35 files changed, 429 insertions(+), 85 deletions(-)