[PATCH 0/6] Add common code for ctrl inteface

Janusz Dziedzic janusz.dziedzic
Fri Sep 25 04:31:18 PDT 2015


Add ctrl_iface_common.c[h] files and use it from
wpa_supplicant and hostapd ctrl interface code.

This patches base on patchet I sent before:
[PATCH 0/9] Refactor CTRL UDP (remote) path

Please review.

Janusz Dziedzic (6):
  wpa_supplicant: add AF_UNIX to sockaddr_compare
  wpa_supplicant: add sockaddr_print function
  wpa_supplicant: use dl_list for UDP ctrl iface
  wpa_supplicant: remove not needed casts in ctrl UDP
  add ctrl_iface_common.c/h files
  hostapd: use common ctrl iface

 hostapd/Makefile                 |   1 +
 hostapd/ctrl_iface.c             | 164 ++++++----------------------------
 hostapd/main.c                   |   2 +-
 src/ap/hostapd.h                 |   4 +-
 src/common/ctrl_iface_common.c   | 141 ++++++++++++++++++++++++++++++
 src/common/ctrl_iface_common.h   |  36 ++++++++
 wpa_supplicant/Makefile          |   4 +
 wpa_supplicant/ctrl_iface_udp.c  | 184 +++++++--------------------------------
 wpa_supplicant/ctrl_iface_unix.c |  98 +++------------------
 9 files changed, 259 insertions(+), 375 deletions(-)
 create mode 100644 src/common/ctrl_iface_common.c
 create mode 100644 src/common/ctrl_iface_common.h

-- 
1.9.1




More information about the Hostap mailing list