[PATCH 00/13] refactor wired drivers code and add macsec_linux driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux