P2P: Add rx_freq parameter to Probe Request frame handler
authorMax Stepanov <Max.Stepanov@intel.com>
Wed, 10 Jun 2015 08:43:31 +0000 (11:43 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 20:16:55 +0000 (23:16 +0300)
commit734ddf6125ccd911ad87814234d1fbed5410847b
tree22b671e80c7697b969b59c5a435720ca52793bb9
parente6012e839d4cf77413e0f4cf35cbfd9f71291632
P2P: Add rx_freq parameter to Probe Request frame handler

In some cases, Probe Request frames can be received by a peer not only
on a listen channel. In this case an additional rx_freq parameter
explitly contains a Probe Request frame RX frequency. In case rx_freq is
set to 0, a Probe Request frame RX channel is assumed to be our own
listen channel (p2p->cfg->channel).

Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/ap.c
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h