WEP fails with Unsupported authentication algorithm (7820)

Yegor Yefremov yegorslists at googlemail.com
Thu Aug 6 11:44:08 EDT 2020


Hi Sergey,

On Thu, Aug 6, 2020 at 10:12 AM Sergey Matyukevich <geomatsi at gmail.com> wrote:
>
> Hi Yegor,
>
> > During the transition from wpa_supplicant v2.4 to v2.9 on a legacy
> > project I get the following message:
> >
> > mgmt::auth
> > authentication: STA=7c:dd:90:44:a5:83 auth_alg=7820
> > auth_transaction=112 status_code=31962 wep=1 seq_ctrl=0x60a0
> > Unsupported authentication algorithm (7820)
> > authentication reply: STA=7c:dd:90:44:a5:83 auth_alg=7820
> > auth_transaction=113 resp=13 (IE len=0) (dbg=handle-auth)
> >
> > My conf file looks like this:
> >
> > ctrl_interface=/var/run/wpa_supplicant
> > ap_scan=1
> >
> > network={
> >         ssid="myssid"
> >         mode=2
> >         frequency=2447
> >         key_mgmt=NONE
> >         wep_key0="passw"
> >         wep_tx_keyidx=0
> > }
> >
> > This configuration was working in v2.4. I tried v2.6, v2.8, v2.9 and
> > master. The same error.
> >
> > Any idea?
>
> That looks weird. In this case wpa_supplicant runs in AP mode using WEP
> security. However it looks like AUTH frame passed to the function
> handle_auth (src/ap/ieee802_11.c) is completely broken.

Yes, wpa_supplicant runs in AP mode using WEP security.

> Could you please provide some details about the platform in use, at least
> hardware architecture and kernel version is use ? Maybe this is some kind
> of endianness issue. Full wpa_supplicant verbose log would be useful
> as well.

The system is ARM am335x running 5.4.8 kernel. The WLAN hw is wl18xx:

# ethtool -i wlan0
driver: wl18xx_driver
version: 5.4.8
firmware-version: Rev 8.9.0.0.79
expansion-rom-version:
bus-info: wl18xx.0.auto
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Embedded Linux distro is Buildroot (commit
208d3eb045551976dbaf507506b7048382e19b1f). Compiler GCC 9.3.0,
binutils 2.34.

The old working rootfs had wpa_supplicant 2.4 but I have also tested
it with the same kernel version 5.4.8. wpa_supplicant 2.10 has no
problem with WPA/WPA2 and no encryption. The only problem so far is
WEP.

Log attached.

Best regards,
Yegor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wep.log
Type: application/octet-stream
Size: 77773 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20200806/2ff40107/attachment-0001.obj>


More information about the Hostap mailing list