hostapd/src/drivers
Mike Siedzik 2fc0675683 mka: Fix lowest acceptable Packet Number (LPN) calculation and use
The purpose of the Lowest Acceptable PN (lpn) parameters in the MACsec
SAK Use parameter set is to enforce delay protection. Per IEEE Std
802.1X-2010, Clause 9, "Each SecY uses MKA to communicate the lowest PN
used for transmission with the SAK within the last two seconds, allowing
receivers to bound transmission delays."

When encoding the SAK Use parameter set the KaY should set llpn and olpn
to the lowest PN transmitted by the latest SAK and oldest SAK (if
active) within the last two seconds. Because MKPDUs are transmitted
every 2 seconds (MKA_HELLO_TIME), the solution implemented here
calculates lpn based on the txsc->next_pn read during the previous MKPDU
transmit.

Upon receiving and decoding a SAK Use parameter set with delay
protection enabled, the KaY will update the SecY's lpn if the delay
protect lpn is greater than the SecY's current lpn (which is a product
of last PN received and replay protection and window size).

Signed-off-by: Michael Siedzik <msiedzik@extremenetworks.com>
2018-12-26 16:42:25 +02:00
..
.gitignore Force rebuilding of src/drivers between hostapd and wpa_supplicant 2009-08-14 20:40:37 +03:00
android_drv.h Remove obsolete license notifications 2013-12-24 22:59:52 +02:00
driver.h mka: Fix lowest acceptable Packet Number (LPN) calculation and use 2018-12-26 16:42:25 +02:00
driver_atheros.c Fix indentation level 2018-11-30 21:28:19 +02:00
driver_bsd.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
driver_common.c Add functions to convert channel bandwidth to an integer 2018-12-16 18:35:30 +02:00
driver_hostap.c driver: Make DFS domain information available to core 2017-05-13 20:01:44 +03:00
driver_hostap.h Use SSID_MAX_LEN define instead of value 32 when comparing SSID length 2015-04-22 11:44:18 +03:00
driver_macsec_linux.c mka: Fix lowest acceptable Packet Number (LPN) calculation and use 2018-12-26 16:42:25 +02:00
driver_macsec_qca.c macsec_qca: Mark macsec_qca_set_transmit_next_pn() static 2018-11-30 17:32:09 +02:00
driver_ndis.c driver: Move add_pmkid() and remove_pmkid() arguments into a struct 2017-04-07 17:03:35 +03:00
driver_ndis.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_ndis_.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
driver_nl80211.c nl80211: Add support for starting FTM responder 2018-12-21 11:22:35 +02:00
driver_nl80211.h nl80211: Fetch supported AKM list from the driver 2018-12-21 21:49:02 +02:00
driver_nl80211_android.c Android: Rename ANDROID_P2P_STUB to ANDROID_LIB_STUB 2015-06-26 22:46:16 +03:00
driver_nl80211_capa.c nl80211: Fetch supported AKM list from the driver 2018-12-21 21:49:02 +02:00
driver_nl80211_event.c Fix indentation level 2018-11-30 21:28:19 +02:00
driver_nl80211_monitor.c nl80211: Warn about interface name truncations 2018-10-16 12:53:15 +03:00
driver_nl80211_scan.c nl80211: Use netlink connect socket for disconnect (ext auth) 2018-11-26 19:24:31 +02:00
driver_none.c Remove unused send_eapol() driver op 2014-12-11 15:40:07 +02:00
driver_openbsd.c Add driver for OpenBSD net80211 layer 2013-02-03 21:16:29 +02:00
driver_privsep.c Remove all PeerKey functionality 2017-10-16 02:03:47 +03:00
driver_roboswitch.c roboswitch: Add support for BCM63xx 2016-08-08 00:25:31 +03:00
driver_wext.c Check snprintf result to avoid compiler warnings 2018-12-24 11:09:22 +02:00
driver_wext.h Android: Remove old WEXT extensions 2013-12-24 22:52:18 +02:00
driver_wired.c Fix indentation level 2018-11-30 21:28:19 +02:00
driver_wired_common.c wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
driver_wired_common.h wired: Mark some common helper functions static 2016-11-30 20:08:39 +02:00
drivers.c macsec_linux: Add a driver for macsec on Linux kernels 2016-11-30 20:08:36 +02:00
drivers.mak macsec_linux: Add a driver for macsec on Linux kernels 2016-11-30 20:08:36 +02:00
drivers.mk macsec_linux: Add a driver for macsec on Linux kernels 2016-11-30 20:08:36 +02:00
linux_defines.h nl80211: Move definitions into separate header files 2014-10-26 17:03:24 +02:00
linux_ioctl.c nl80211: Generic Linux master interface support for hostapd 2015-07-16 12:33:29 +03:00
linux_ioctl.h nl80211: Generic Linux master interface support for hostapd 2015-07-16 12:33:29 +03:00
linux_wext.h wext: Fix musl build error 2014-12-14 18:05:32 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
ndis_events.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
netlink.c netlink: Fix RTM_SETLINK padding at the end of the message 2014-10-12 19:27:16 +03:00
netlink.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
nl80211_copy.h Sync with mac80211-next.git include/uapi/linux/nl80211.h 2018-12-21 11:12:39 +02:00
priv_netlink.h netlink: Fix RTM_SETLINK padding at the end of the message 2014-10-12 19:27:16 +03:00
rfkill.c rfkill: Fix a memory leak 2016-02-16 00:14:47 +02:00
rfkill.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00