As already mentioned in https://forum.caninosloucos.org.br/t/frq-no-firewall-on-labrador-64bit-possible-nftable-and-iptable-missing, the Labrador can at the moment not be used as accesspoint with hostapd. I am using the create_ap (https://github.com/oblique/create_ap) script that uses hostapd, iptables, and dnsmasq - I assume using network manager to create a wifi wpa share should show the same results as it also uses hostapd and dnsmasq.
Following error occurs (dmesg):
55.214462] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 55.562303] RTL8723BS: rtw_cmd_thread(wlan0) pcmd->sctx
[ 55.562331] RTL8723BS: assoc success
[ 55.562391] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 55.563529] RTL8723BS: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:TKIP
[ 59.633874] RTL8723BS: ap recv deauth reason code(3) sta:80:7d:3a:3c:0f:a0
[ 59.636257] ------------[ cut here ]------------
[ 59.636263] kernel BUG at mm/slub.c:3904!
[ 59.636269] Internal error: Oops - BUG: 0 [#1] SMP
[ 59.636274] Modules linked in: xt_tcpudp nft_counter ipt_MASQUERADE nft_compat nft_chain_route_ipv4 nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink ch341 usbserial bnep hci_uart bluetooth ecdh_generic realtek r8723bs(C) cfg80211 dwmac_caninos stmmac_platform stmmac of_mdio fixed_phy libphy aotg ip_tables x_tables
[ 59.636339] Process RTW_CMD_THREAD (pid: 820, stack limit = 0x00000000d5c30618)
[ 59.636347] CPU: 3 PID: 820 Comm: RTW_CMD_THREAD Tainted: G C 4.19.37 #2
[ 59.636349] Hardware name: Caninos Labrador 7 (DT)
[ 59.636354] pstate: 40400005 (nZcv daif +PAN -UAO)
[ 59.636366] pc : kfree+0x1a8/0x1b0
[ 59.636498] lr : nl80211_send_station.isra.0+0x370/0xa58 [cfg80211]
[ 59.636501] sp : ffffff800a4ebb80
[ 59.636503] x29: ffffff800a4ebb80 x28: 00000000000005d8
[ 59.636509] x27: 0000000000000168 x26: ffffffc0795c1000
[ 59.636514] x25: 0000000000000030 x24: ffffff800a4ebcc8
[ 59.636519] x23: 0000000000000164 x22: 0000000000000000
[ 59.636524] x21: ffffff8008dc8688 x20: ffffff8000a2dfd8
[ 59.636529] x19: ffffff8009ca6344 x18: 0000000000000000
[ 59.636534] x17: 0000000000000000 x16: 0000000000000000
[ 59.636539] x15: 0000000000000400 x14: 0104ac0f00000102
[ 59.636545] x13: ac0f000001143060 x12: 30180c8482968b08
[ 59.636550] x11: 01657269706d6574 x10: 6f69090000640031
[ 59.636555] x9 : 6940d4567d9c6b14 x8 : 0104ac0f00000102
[ 59.636560] x7 : ac0f000001143060 x6 : ffffffbf00272980
[ 59.636565] x5 : 00000000000001d0 x4 : ffffff8008e84340
[ 59.636570] x3 : 0000000000000048 x2 : 000000000000002d
[ 59.636574] x1 : ffffffbf00272980 x0 : ffffffbf00272988
[ 59.636579] Call trace:
[ 59.636586] kfree+0x1a8/0x1b0
[ 59.636665] nl80211_send_station.isra.0+0x370/0xa58 [cfg80211]
[ 59.636736] cfg80211_new_sta+0x88/0x158 [cfg80211]
[ 59.636820] rtw_cfg80211_indicate_sta_assoc+0x70/0x90 [r8723bs]
[ 59.636875] rtw_stassoc_event_callback+0x280/0x2c8 [r8723bs]
[ 59.636930] mlme_evt_hdl+0x74/0xa0 [r8723bs]
[ 59.636980] rtw_cmd_thread+0x160/0x358 [r8723bs]
[ 59.636987] kthread+0x100/0x130
[ 59.636993] ret_from_fork+0x10/0x1c
[ 59.637001] Code: 17ffffd0 f94004c0 3707fde0 f90013f5 (d4210000)
[ 59.637008] ---[ end trace 152bfd6882a11665 ]---
[ 69.639249] RTL8723BS: ap recv disassoc reason code(8) sta:80:7d:3a:3c:0f:a0
Any idea how this could be fixed? It doesn’t look to me like a missing module, but maybe someone here can make a bit more sense of this dump.