This is a resend of some patches previously part of this set: http://lists.infradead.org/pipermail/hostap/2016-September/036265.html Patch 1-2 changes macsec driver ops to take structures instead of individual arguments. Patch 3 moves some macsec_qca-specific code away from the core MKA implementation, and into the driver itself. Patch 4 adds a new op for macsec drivers (->macsec_get_capability), that driver can use to advertise whether they support optional features of MACsec like integrity-only or confidentiality offsets. Sabrina Dubroca (4): mka: pass full structures down to macsec drivers' transmit SC ops mka: pass full structures down to macsec drivers' receive SC ops mka: remove "channel" hacks from the stack and the macsec_qca driver mka: add driver op to get macsec capabilities src/drivers/driver.h | 49 ++++------ src/drivers/driver_macsec_qca.c | 195 +++++++++++++++++++++++++++++++++------- src/pae/ieee802_1x_kay.c | 59 ++++++------ src/pae/ieee802_1x_kay.h | 18 ++-- src/pae/ieee802_1x_secy_ops.c | 68 +++++--------- src/pae/ieee802_1x_secy_ops.h | 1 + wpa_supplicant/driver_i.h | 49 ++++------ wpa_supplicant/wpas_kay.c | 42 ++++----- 8 files changed, 273 insertions(+), 208 deletions(-) -- 2.10.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap