]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Send response frame on channel where the request is received
authorQiwei Cai <quic_qcai@quicinc.com>
Wed, 5 Jan 2022 05:04:24 +0000 (13:04 +0800)
committerJouni Malinen <j@w1.fi>
Mon, 17 Jan 2022 18:27:37 +0000 (20:27 +0200)
commitf32f99df11ce2bde0039edc003098ee50bb588d4
tree3f2a4724a4f0b26fbd2f2823a38a7342436171d1
parentb678a3aa32e2d3f11d6aa952880130d1b78ccd06
P2P: Send response frame on channel where the request is received

The rx_freq of Public Action frame was not maintained by the GO and the
GO always sent the response on the operating channel. This causes
provision discovery failure when a P2P Device is sending a PD Request on
a 2.4 GHz social channel and the GO is responding on a 5 GHz operating
channel.

Save the rx_freq and use it for GO to sent the response. This extends
commit c5cc7a59acb2 ("Report offchannel RX frame frequency to hostapd")
to cover additional frame types.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/ieee802_11.c
wpa_supplicant/ap.c