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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 6, 2021 at 11:03 AM Jouni Malinen <j@xxxxx> 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ł

Attachment: dpp-auth-offchan-gas-failure.tar.gz
Description: application/gzip

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux