[PATCH 00/13] refactor wired drivers code and add macsec_linux driver
Sabrina Dubroca
sd at queasysnail.net
Sun Nov 27 11:08:43 PST 2016
This patchset refactors the common parts of wired drivers code into a
shared file, so that they can be reused by other drivers. The
macsec_qca driver already contains a lot of code duplication from the
wired driver, and the macsec_linux driver would do the same. A
structure to hold data common to all wired drivers is added and used
in all these drivers. This refactoring has been split into multiple
patches to make review a bit easier.
Then, the new macsec_linux driver is introduced.
The last patch is a small cleanup of the default configuration file.
Sabrina Dubroca (13):
drivers: move common definitions for wired drivers out
drivers: move wired_multicast_membership to common file
drivers: move driver_wired_multi to a common file
drivers: move driver_wired_get_ifflags to a common file
drivers: move driver_wired_set_ifflags to a common file
drivers: move driver_wired_get_ifstatus to a common file
drivers: move driver_wired_init_common to a common file
drivers: move driver_wired_deinit_common to a common file
drivers: move driver_wired_get_capa to a common file
drivers: move driver_wired_get_bssid to a common file
drivers: move driver_wired_get_ssid to a common file
drivers: macsec_linux: add driver for macsec on linux kernels
mka: remove references to macsec_qca from wpa_supplicant.conf
src/drivers/driver.h | 3 +
src/drivers/driver_macsec_linux.c | 1160 ++++++++++++++++++++++++++++++++++++
src/drivers/driver_macsec_qca.c | 298 +--------
src/drivers/driver_wired.c | 326 +---------
src/drivers/driver_wired_common.c | 307 ++++++++++
src/drivers/driver_wired_common.h | 39 ++
src/drivers/drivers.c | 3 +
src/drivers/drivers.mak | 13 +
src/pae/ieee802_1x_kay.c | 11 +
src/pae/ieee802_1x_kay.h | 2 +
wpa_supplicant/wpa_supplicant.conf | 10 +-
11 files changed, 1577 insertions(+), 595 deletions(-)
create mode 100644 src/drivers/driver_macsec_linux.c
create mode 100644 src/drivers/driver_wired_common.c
create mode 100644 src/drivers/driver_wired_common.h
--
2.10.2
More information about the Hostap
mailing list