hostap/src/p2p
Jouni Malinen a406244395 P2PS: Do not reply to ProbeReq on another channel when starting Listen
It was possible for the P2PS Probe Response frame to go out on the
channel on which a Probe Request frame was reported even when we are
just about to start Listen mode on another channel. This could result in
the peer device using incorrect channel for us. Fix this by skipping the
response in this special case while waiting for Listen mode to start.

This showed up as a hwsim test failure with test sequence "gas_fragment
p2ps_connect_display_method_nonautoaccept" in cases where the dev[0]
Listen channel was not same as the AP operating frequency in the GAS
test.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-06-27 17:10:19 +03:00
..
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
p2p.c P2PS: Do not reply to ProbeReq on another channel when starting Listen 2015-06-27 17:10:19 +03:00
p2p.h P2P: Specify frequency when sending Probe Response frame 2015-06-14 23:16:55 +03:00
p2p_build.c P2PS: Fix Probe Response frame building in error cases 2015-06-18 18:14:04 +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: Add Operating class 125 for P2P supported channels 2015-06-12 20:39:49 +03:00
p2p_group.c P2PS: Process P2PS provisioning commands 2015-02-03 01:35:07 +02:00
p2p_i.h P2PS: Refactor p2p_data::query_hash and p2p_data::query_count use 2015-06-15 17:30:01 +03:00
p2p_invitation.c P2P: Add vendor elements into Invitation Response frames 2015-06-15 14:16:30 +03:00
p2p_parse.c Simplify DSSS Parameter Set element parsing 2015-04-22 22:05:11 +03:00
p2p_pd.c P2PS: Add a function to free a PD context 2015-06-14 23:16:55 +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