[PATCH 00/17] Re-post of "Support for new regulatory flags and P2P

Ilan Peer ilan.peer
Mon Jul 27 12:24:17 PDT 2015


This patch set is based on the series posted in
http://w1.fi/p/p2p-go-regulatory/ which originated
from the "Support for new regulatory flags and P2P
GO Channel". This includes:

1. Removed support for Indoor indication based P2P Device type.
   If needed this support can be added in the future.
2. Fixes for the original patch set.
3. Fixes for failures in hwsim testing, mostly for the case of
   multi channel support.
4. Additional tests for the P2P GO channel changes support.

Hwsim test results:

1. Single channel + long: No issues, including long.
2. Multi channel + long : couple of P2PS tests are failing due to
   "no common channels". I'm currently WIP adding support for channel
   handling for P2PS use cases, and will handle this failures.

I intend to follow-up on this patch set, by also adding P2P GO
CSA support and support for ECSA.

Andrei Otcheretianski (1):
  Share freq-to-channel conversion function

Arik Nemtsov (1):
  wpa_supplicant: refactor channel list update event

Ilan Peer (15):
  P2P: Move a GO from its operating frequency
  P2P: Add a function to compute the group common freqs
  P2P: Move a GO to a frequency that is also supported by the client
  P2P: Remove GO handling in avoid frequency event
  P2P: Modify wpas_p2p_init_go_params()
  P2P: Consider channel optimizations for additional cases
  P2P: Disallow GO CS immediately after GoN or invitation
  P2P: Do not perform P2P GO CS in some cases
  P2P: Allow additional operating channels for P2P GO and client
  P2P: Do not allow GO Concurrent relaxation
  P2P: Fix P2P_FLUSH clearing of p2p_go_avoid_freq
  tests: Properly pass the num of channels to start.sh
  tests: Skip some test cases when MCC is enabled
  tests: Increase timeouts when MCC is enabled
  tests: Add P2P GO frequency change policy tests

 src/ap/hw_features.c                |  11 +-
 src/common/ieee802_11_common.c      | 135 +++++-
 src/common/ieee802_11_common.h      |   3 +
 src/p2p/p2p.h                       |  10 +
 src/p2p/p2p_group.c                 |  40 ++
 src/p2p/p2p_utils.c                 |  57 +--
 tests/hwsim/run-all.sh              |   2 +-
 tests/hwsim/test_p2p_channel.py     | 236 +++++++++++
 tests/hwsim/test_p2p_concurrency.py |   4 +
 tests/hwsim/test_p2p_messages.py    |  22 +-
 wpa_supplicant/config.c             |   2 +
 wpa_supplicant/config.h             |  28 ++
 wpa_supplicant/config_file.c        |   3 +
 wpa_supplicant/ctrl_iface.c         |   3 +-
 wpa_supplicant/events.c             |  57 +--
 wpa_supplicant/p2p_supplicant.c     | 818 ++++++++++++++++++++++++++++--------
 wpa_supplicant/p2p_supplicant.h     |  14 +-
 17 files changed, 1146 insertions(+), 299 deletions(-)

-- 
1.9.1




More information about the Hostap mailing list