[PATCH V2 00/23] P2P: support nl80211 P2P_DEVICE interface

Arend van Spriel arend at broadcom.com
Wed May 29 05:07:47 EDT 2013

This patch series adds support for the nl80211 P2P_DEVICE interface
concept. It is based upon and including the 18 reworked patches from
the devel branch. The code changes has been tested with one peer
supporting P2P_DEVICE and one peer with a so-called dummy net device,
ie. p2p0. Peers found each other using p2p_find and connection was
established with p2p_connect using pbc method.

Also ran the hwsim tests 'test_p2p_*.py' with some modifications,
because P2P events are now sent to a different control interface.

The series is based on master branch and applies on commit

commit 9b1693a162d0c31752098d54181d2ef7631c6135
Author: Jouni Malinen <j at w1.fi>
Date:   Tue May 28 00:35:47 2013 +0300

    WPS: Allow Device Password Id changes between PIN methods

Cc: johannes at sipsolutions.net
Cc: david.spinadel at intel.com

Arend van Spriel (17):
  nl80211: Handle creation of P2P Device interface
  nl80211: Fix P2P Device interface initialization
  nl80211: Remove P2P Device interface upon .deinit()
  nl80211: Introduce i802_set_iface_flags()
  nl80211: Rework setting interface mode
  nl80211: Add .get_mac_addr() callback for P2P Device
  nl80211: Use wdev id to obtain P2P Device scan results
  nl80211: Use wdev_id in nl80211_create_iface_once()
  nl80211: Fix P2P group interface creating using P2P Device
  P2P: Remove a call to wpas_p2p_deinit_global()
  P2P: Create P2P Device interface if supported
  P2P: Derive group interface name bit more sensibly
  nl80211: fix nl80211_get_wiphy_index() for P2P Device
  nl80211: fix determining phy name for P2P Device
  nl80211: verify P2P-GO/CLIENT address with all interface addresses
  nl80211: use wdev id when cancelling wait for action frame using
  P2P: ignore p2p_no_group_iface when driver advertizes P2P_DEVICE

David Spinadel (4):
  nl80211: Rename is_p2p_interface
  nl80211: Hold wdev identification for P2P Device
  nl80211: Add a handler to create_interface
  nl80211: Add support for P2P Device in add interface

Johannes Berg (1):
  nl80211: Allow Android P2P functionality

Nirav Shah (1):
  nl80211: Identify if nl80211 is capable of P2P Device abstraction

 src/drivers/driver.h              |   12 +-
 src/drivers/driver_nl80211.c      |  486 ++++++++++++++++++++++++++++---------
 wpa_supplicant/main.c             |   13 +-
 wpa_supplicant/p2p_supplicant.c   |   73 +++++-
 wpa_supplicant/p2p_supplicant.h   |    2 +
 wpa_supplicant/wpa_supplicant.c   |   27 ++-
 wpa_supplicant/wpa_supplicant_i.h |   11 +
 7 files changed, 493 insertions(+), 131 deletions(-)


More information about the HostAP mailing list