[PATCH] DPP: respond to GAS on the same channel it was received on

Michal Kazior michal at plume.com
Mon Mar 8 08:45:19 GMT 2021


On Sat, Mar 6, 2021 at 11:03 AM Jouni Malinen <j at w1.fi> wrote:
>
> On Wed, Mar 03, 2021 at 09:53:33AM +0000, Michal Kazior wrote:
> > When I was testing dpp_auth_init on an AP with
> > Enrollee on a different channel from the AP I was
> > getting failures. This happened on hwsim in UML
> > with time-travel for me. I don't recall seeing
> > this with real devices, presumably because of lax
> > offchan implementation.
>
> Is this with a hwsim test case that already exists in hostap.git?

No. It's part of my test script that I hacked up. I'm testing a bit
more than just raw wpa_s/hostapd.


> Does it fail every time in your test setup?

Yes, it fails every time.


> > The AP reported the following logs (grepped):
> >
> > > 1614762426.860212: RX_ACTION category 4 action 10 sa 02:00:00:00:01:00 da 02:00:00:00:00:00 len 227 freq 2412
> > > 1614762426.860212: wlan0: GAS: GAS Initial Request from 02:00:00:00:01:00 (dialog token 239)
> > > 1614762426.860233: DPP: Wait for Configuration Result
> > > 1614762426.860234: nl80211: Send Action frame (ifindex=5, freq=2462 MHz wait=0 ms no_cck=0 offchanok=0)
> > > 1614762428.861186: DPP: Timeout while waiting for Configuration Result
> > > 1614762428.861186: wlan0: DPP-CONF-FAILED
>
> Can you please share the full debug log for this? I'd like to understand
> what exactly happened with the channel negotiation here.

Attaching tarball with logs. I reworked the test script to just
exercise wpa_s/hostapd. It's in the tarball as well. Just run
./run-it.


Michał
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dpp-auth-offchan-gas-failure.tar.gz
Type: application/gzip
Size: 29174 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20210308/a43b90d2/attachment-0001.gz>


More information about the Hostap mailing list