OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by txt.file - 28.10.2019

FS#2571 - WPA3 secured 802.11s results in kernel call trace

Supply the following if possible:
- Device problem occurs on
tested on VoCore2, Netgear wndr3700, SamKnows WhiteBox8

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt master branch as of d22c1755fcb45a7509629c3f769a2da204d6b0b0

- Steps to reproduce

  1. compile OpenWrt with “wpad-wolfssl” instead of “wpad”
  2. setup WPA3 secured 802.11s wireless
  3. get attached kernel call trace
txt.file commented on 30.10.2019 09:15

I updated wolfssl from 4.1.0 to 4.2.0 (0001-wolfssl-update-to-4.2.0.patch) and tested again. Still the same.

If there is another 802.11s partner in reach I get the output in command-line-output.txt
If there is no other 802.11s partner in reach no error is shown.

My /etc/config/wireless is attached. On one of the two VoCore2 I set network.lan.ipaddr='192.168.1.2'. I have not changed anything else.

txt.file commented on 30.10.2019 10:23

I tested with wpad-openssl on one VoCore2 and wpad-wolfssl on the other. wpad-openssl shows WPA3 as encryption while wpad-wolfssl tells "none". Unencrypted mesh is working between both devices.

wpad-openssl:

root@OpenWrt:/# iwinfo
wlan0     ESSID: "test"
          Access Point: B8:D8:12:67:1F:77
          Mode: Mesh Point  Channel: 1 (2.412 GHz)
          Tx-Power: 20 dBm  Link Quality: 70/70
          Signal: -25 dBm  Noise: unknown
          Bit Rate: 1.0 MBit/s
          Encryption: WPA3 SAE (CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 14C3:7628 14C3:0004 [MediaTek MT76x8]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:/# 

wpad-wolfssl:

root@OpenWrt:/# iwinfo
wlan0     ESSID: "test"
          Access Point: 00:0C:43:E1:76:28
          Mode: Mesh Point  Channel: 1 (2.412 GHz)
[   99.507757] ------------[ cut here ]------------
[   99.512633] WARNING: CPU: 0 PID: 1543 at backports-5.4-rc2-1/net/mac80211/mesh_hwmp.c:345 airtime_link_metric_get+0x64/0x644 [mac80211]
[   99.525063] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xtn
[   99.596314] CPU: 0 PID: 1543 Comm: iwinfo Not tainted 4.14.149 #0
[   99.602625] Stack : 804e0000 80491298 00000000 00000000 804691d8 872d3984 87d6ecbc 804bba07
[   99.611158]         804651ac 00000607 80613660 00000159 8753cbc0 00000001 872d3938 080e11ee
[   99.619657]         00000000 00000000 80610000 80617e68 00000000 000000b9 00000007 00000000
[   99.628156]         00000000 00000000 0009195a ffffffff 80000000 00000009 00000000 875dc398
[   99.636655]         875efe64 00000159 8753cbc0 00010000 00000000 80236b30 00000000 80610000
[   99.645154]         ...
[   99.647638] Call Trace:
[   99.650143] [<8000ad84>] show_stack+0x58/0x100
[   99.654671] [<80027290>] __warn+0xe4/0x144
[   99.658826] [<80026f3c>] warn_slowpath_null+0x1c/0x30
[   99.664079] [<875dc398>] airtime_link_metric_get+0x64/0x644 [mac80211]
[   99.670827] [<875888a0>] sta_set_sinfo+0xacc/0xc98 [mac80211]
[   99.676778] [<8759f714>] ieee80211_nan_func_match+0x15ac/0x449c [mac80211]
[   99.683822] ---[ end trace 898f64222355242a ]---
          Tx-Pow[   99.875310] ------------[ cut here ]------------
er: 20 dBm  Link[   99.881232] WARNING: CPU: 0 PID: 1543 at backports-5.4-rc2-1/net/mac80211/mesh_hwmp.c:345 airtime_link_metric_get+0x64/0x644 [mac80211]
[   99.894879] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xtn

[   99.967398] CPU: 0 PID: 1543 Comm: iwinfo Tainted: G        W       4.14.149 #0
[   99.974846] Stack : 804e0000 80491298 00000000 00000000 804691d8 872d3984 87d6ecbc 804bba07
[   99.983334]         804651ac 00000607 80613660 00000159 8753cbc0 00000001 872d3938 080e11ee
[   99.991829]         00000000 00000000 80610000 80617e68 00000000 000000cb 00000007 00000000
[  100.000329]         00000000 00000000 000ec2e6 ffffffff 80000000 00000009 00000000 875dc398
[  100.008924]         875efe64 00000159 8753cbc0 00010000 00000002 80236b30 00000000 80610000
[  100.017490]         ...
[  100.019975] Call Trace:
[  100.022480] [<8000ad84>] show_stack+0x58/0x100
[  100.027016] [<80027290>] __warn+0xe4/0x144
[  100.031172] [<80026f3c>] warn_slowpath_null+0x1c/0x30
[  100.036444] [<875dc398>] airtime_link_metric_get+0x64/0x644 [mac80211]
[  100.043183] [<875888a0>] sta_set_sinfo+0xacc/0xc98 [mac80211]
[  100.049136] [<8759f714>] ieee80211_nan_func_match+0x15ac/0x449c [mac80211]
[  100.056213] ---[ end trace 898f64222355242b ]---
          Signal[  100.255747] ------------[ cut here ]------------
: -25 dBm  Noise[  100.261691] WARNING: CPU: 0 PID: 1543 at backports-5.4-rc2-1/net/mac80211/mesh_hwmp.c:345 airtime_link_metric_get+0x64/0x644 [mac80211]
: unknown
[  100.275346] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xtn
[  100.347407] CPU: 0 PID: 1543 Comm: iwinfo Tainted: G        W       4.14.149 #0
[  100.354851] Stack : 804e0000 80491298 00000000 00000000 804691d8 872d3984 87d6ecbc 804bba07
[  100.363339]         804651ac 00000607 80613660 00000159 8753cbc0 00000001 872d3938 080e11ee
[  100.371838]         00000000 00000000 80610000 80617e68 00000000 000000dd 00000007 00000000
[  100.380336]         00000000 00000000 00054d0f ffffffff 80000000 00000009 00000000 875dc398
[  100.388834]         875efe64 00000159 8753cbc0 00010000 00000002 80236b30 00000000 80610000
[  100.397333]         ...
[  100.399817] Call Trace:
[  100.402321] [<8000ad84>] show_stack+0x58/0x100
[  100.406849] [<80027290>] __warn+0xe4/0x144
[  100.411005] [<80026f3c>] warn_slowpath_null+0x1c/0x30
[  100.416394] [<875dc398>] airtime_link_metric_get+0x64/0x644 [mac80211]
[  100.423162] [<875888a0>] sta_set_sinfo+0xacc/0xc98 [mac80211]
[  100.429142] [<8759f714>] ieee80211_nan_func_match+0x15ac/0x449c [mac80211]
[  100.436219] ---[ end trace 898f64222355242c ]---
          Bit Rate: 1.0 MBit/s
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 14C3:7628 14C3:0004 [MediaTek MT76x8]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:/# 

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing