[PATCH 0/4] Add support for creating a new AP interface

Ilan Peer ilan.peer at intel.com
Tue Nov 3 06:30:08 PST 2015


Some devices support only a single station interface. Trying to
create a new AP interface through the wpa_supplicant would fail
on such devices, as the new interface is always created and
setup as a station interface before changing it to an AP interface.

This patch set adds the support for creating a new AP interface
without first setting up a station interface.

Avraham Stern (3):
  driver: Make setting up AP optional when creating AP interface
  ctrl_iface: add an option to create interface of a certain type
  wpa_cli: Add an option to set created interface type

Ilan Peer (1):
  tests: wpa_supplicant interface creation in AP mode

 src/ap/ap_drv_ops.c           |  2 +-
 src/drivers/driver.h          |  3 ++-
 src/drivers/driver_nl80211.c  |  5 +++--
 tests/hwsim/test_wpas_ctrl.py | 32 ++++++++++++++++++++++++++++++++
 tests/hwsim/wpasupplicant.py  |  4 +++-
 wpa_supplicant/ctrl_iface.c   | 30 ++++++++++++++++++++++++++----
 wpa_supplicant/driver_i.h     |  2 +-
 wpa_supplicant/wpa_cli.c      | 12 +++++++-----
 8 files changed, 75 insertions(+), 15 deletions(-)

-- 
1.9.1




More information about the Hostap mailing list