hostap/src/p2p
Ahmad Kholaif 6cc364946c P2P: Process preferred frequency list as part of GO Neg Req/Resp
When processing a GO Negotiation Request and Response, if local driver
supports the preferred channel list extension, then:

- Check if peer's preference for operating channel is already included
  in our preferred channel list and if so, take the oper_channel as is.

- If peer's preference for operating channel is not in local device's
  preferred channel list and peer device has provided its preferred
  frequency list in the GO Negotiation Request/Response, then find a
  channel that is common for both preferred channel lists and use it
  for oper_channel.

- If peer's preference for operating channel is not in local device's
  preferred channel list and peer device doesn't use preferred channel
  list extension, i.e., no preferred channel list in GO Negotiation
  Request/Response, then look for a channel that is common for local
  device's preferred channel list and peer's list of supported channels
  and use it for oper_channel.

- In case no common channel is found, use the peer's preference for
  oper_channel as is.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-31 15:24:39 +03:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p.c P2P: Use preferred frequency list from the local driver 2015-07-30 22:13:48 +03:00
p2p.h P2P: Expose driver preferred frequency list fetch to P2P 2015-07-30 22:13:48 +03:00
p2p_build.c P2P: Add preferred frequency list extension to GO Neg Req 2015-07-30 22:13:48 +03:00
p2p_dev_disc.c P2PS: Refactor p2p_data::query_hash and p2p_data::query_count use 2015-06-15 17:30:01 +03:00
p2p_go_neg.c P2P: Process preferred frequency list as part of GO Neg Req/Resp 2015-07-31 15:24:39 +03:00
p2p_group.c P2PS: Process P2PS provisioning commands 2015-02-03 01:35:07 +02:00
p2p_i.h P2P: Parse preferred frequency list extension 2015-07-30 22:13:48 +03:00
p2p_invitation.c P2P: Add vendor elements into Invitation Response frames 2015-06-15 14:16:30 +03:00
p2p_parse.c P2P: Parse preferred frequency list extension 2015-07-30 22:13:48 +03:00
p2p_pd.c P2PS: Add feature capability to PD events 2015-07-27 00:47:19 +03:00
p2p_sd.c P2P: Limit number of SD retries during find 2014-10-23 21:51:48 +03:00
p2p_utils.c P2P: Add Operating class 125 for P2P supported channels 2015-06-12 20:39:49 +03:00