Power & Source of Big Ideas

Ubuntu 18.04.6 LTS Bionic: WLAN1 Access Point does not work.

Moderators: chensy, FATechsupport

Hello,
i found a problem with latest original image 'rk3399-eflasher-friendlydesktop-bionic-4.4-arm64-20210617.img'.

I want to enable the WiFi access point, but the hostapd process terminates with error:
>> nl80211: Beacon set failed: -19 (No such device)
>> Failed to set beacon parameters

The kernel reports:
[79878.664488] [dhd][wlan1] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[79878.693136] [dhd][wlan1] wl_cfg80211_set_channel : netdev_ifidx(4), chan_type(1) target channel(6)
[79878.697655] [dhd][wlan1] wl_cfg80211_add_del_bss : wl bss 3 bssidx:1
[79878.700726] [dhd][wlan1] wl_cfg80211_bcn_bringup_ap : Creating AP with sec=wpapsk/mfpn/tkip
[79888.739524] [dhd] CFG80211-ERROR) wl_cfg80211_bcn_bringup_ap : Link up didn't come for AP interface. AP/GO creation failed!
[79888.739548] [dhd] dhd_query_bus_erros: iface_op_failed, cannot proceed
[79888.739554] [dhd] [Repeats 1 times]
[79888.739562] [dhd] CFG80211-ERROR) wl_cfg80211_start_ap : Beacon bring up AP/GO failed
[79888.739568] [dhd] CFG80211-ERROR) wl_cfg80211_start_ap : ADD/SET beacon failed

Solution is: Enable missing kernel configuration parameter:
CONFIG_IEEE80211R=y

Please create new image for Ubuntu Bionic and if possible with same kernel version 4.4.179 for Ubuntu Focal - Thanks:

Linux SOM-RK3399 4.4.179 #1 SMP Fri Jun 4 16:55:47 CST 2021 aarch64 aarch64 aarch64 GNU/Linux

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"

PS: Please let me know if image ready for download and if you have tested with a SOM-RK3399 board.

PS: With the kernel build 'Linux SOM-RK3399v2 4.4.179 #1 SMP Tue Sep 15 15:56:24 CST 2020' the WiFi access point works.
I have the same problem, and I don't think I'm the only one. I can't solve it, so I'm waiting for some smart heads to help.
Update:
with latest latest image:
rk3399-eflasher-friendlycore-bionic-4.4-arm64-20210929.img

The following is report for WiFi Access Point with wlan1:
hostapd ->>>>
nl80211: ssid - hexdump_ascii(len=9):
45 6f 46 2d 4d 43 2d 56 31 EoF-MC-V1
* beacon_int=100
* dtim_period=2
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x1
nl80211: wpa_version=0x3
nl80211: key_mgmt_suites=0x182
nl80211: pairwise_ciphers=0x8
nl80211: group_cipher=0x8
nl80211: beacon_ies - hexdump(len=6): 7f 04 04 00 00 02
nl80211: proberesp_ies - hexdump(len=6): 7f 04 04 00 00 02
nl80211: assocresp_ies - hexdump(len=6): 7f 04 04 00 00 02
nl80211: Beacon set failed: -19 (No such device)
Failed to set beacon parameters
wlan1: Flushing old station entries
nl80211: flush -> DEL_STATION wlan1 (all)
wlan1: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION wlan1 ff:ff:ff:ff:ff:ff --> 0 (Success)
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0

Kernel ->>>>>
[ 6483.242327] cfg80211: Regulatory domain changed to country: DE
[ 6483.242362] cfg80211: DFS Master region: ETSI
[ 6483.242370] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 6483.242382] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 6483.242389] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2301 mBm), (N/A)
[ 6483.242397] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 6483.242405] cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
[ 6483.242412] cfg80211: (5725000 KHz - 5875000 KHz @ 80000 KHz), (N/A, 1397 mBm), (N/A)
[ 6483.242419] cfg80211: (5945000 KHz - 6425000 KHz @ 160000 KHz, 480000 KHz AUTO), (N/A, 2301 mBm), (N/A)
[ 6483.242426] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 6483.244899] [dhd][wlan1] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[ 6483.278347] [dhd][wlan1] wl_cfg80211_set_channel : netdev_ifidx(5), chan_type(1) target channel(6)
[ 6483.288909] [dhd][wlan1] wl_cfg80211_add_del_bss : wl bss 3 bssidx:1
[ 6483.297666] [dhd][wlan1] wl_cfg80211_bcn_bringup_ap : Creating AP with sec=wpapsk/mfpn/tkip
[ 6493.338253] [dhd] CFG80211-ERROR) wl_cfg80211_bcn_bringup_ap : Link up didn't come for AP interface. AP/GO creation failed!
[ 6493.343171] [dhd] Dump dongle memory
[ 6493.420974] [dhd] -------- memdump: buf(va)=ffffffc00f100000, buf(pa)=f100000, bufsize=786432
[ 6493.421005] [dhd] -------- dlb_buf[0]: buf(va)=ffffff8000e262d8, buf(pa)=fffffffff90262d8, bufsize=1048576
[ 6493.421015] [dhd] -------- dlb_buf[0] buffer: buf(va)=ffffffc074400000, buf(pa)=74400000, bufsize=123338
[ 6493.421026] [dhd] -------- dlb_buf[0] present: buf(va)=ffffffc07441e29a, buf(pa)=7441e29a, bufsize=123338
[ 6493.421036] [dhd] -------- dlb_buf[0] front: buf(va)=ffffffc074400000, buf(pa)=74400000, bufsize=123338
[ 6493.421046] [dhd] -------- dlb_buf[1]: buf(va)=ffffff8000e26328, buf(pa)=fffffffff9026328, bufsize=524288
[ 6493.421104] [dhd] -------- dlb_buf[1] buffer: buf(va)=ffffffc074500000, buf(pa)=74500000, bufsize=0
[ 6493.421116] [dhd] -------- dlb_buf[1] present: buf(va)=ffffffc074500000, buf(pa)=74500000, bufsize=0
[ 6493.421126] [dhd] -------- dlb_buf[1] front: buf(va)=ffffffc074500000, buf(pa)=74500000, bufsize=0
[ 6493.421136] [dhd] -------- dlb_buf[2]: buf(va)=ffffff8000e26378, buf(pa)=fffffffff9026378, bufsize=8192
[ 6493.421147] [dhd] -------- dlb_buf[2] buffer: buf(va)=ffffffc077254000, buf(pa)=77254000, bufsize=0
[ 6493.421156] [dhd] -------- dlb_buf[2] present: buf(va)=ffffffc077254000, buf(pa)=77254000, bufsize=0
[ 6493.421166] [dhd] -------- dlb_buf[2] front: buf(va)=ffffffc077254000, buf(pa)=77254000, bufsize=0
[ 6493.421175] [dhd] -------- concise_dbg_buf: buf(va)=ffffffc0776fc000, buf(pa)=776fc000, bufsize=16384
[ 6493.421186] [dhd] dhd_schedule_memdump: scheduling mem dump..
[ 6493.421210] [dhd] CFG80211-ERROR) wl_cfg80211_start_ap : Beacon bring up AP/GO failed
[ 6493.421222] [dhd] CFG80211-ERROR) wl_cfg80211_start_ap : ADD/SET beacon failed
[ 6493.421837] [dhd] dhd_mem_dump: ENTER, memdump type 11
[ 6493.421861] [dhd] dhd_mem_dump: memdump type 11
[ 6493.421871] [dhd] Driver: 100.10.545.19 (r826445-20210310-3)
Firmware: wl0: Apr 18 2017 13:54:43 version 7.35.184.1.r5 (A2 Station/P2P) FWID 01-efd4ca0d
CLM: 7.10.16 (2014-02-13 17:00:38)
Chip: 4354 Rev 2
[ 6493.421883] [dhd] MAC d4:12:43:95:68:32
[ 6493.421888] [dhd] dhd_mem_dump: call BUG_ON
[ 6493.421896] [dhd] dhd_mem_dump: No BUG ON, memdump type 11
[ 6493.421906] [dhd] dhd_mem_dump: EXIT
[ 6493.430882] [dhd][wlan1] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[ 6493.480868] [dhd][wlan1] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[ 6493.498437] [dhd][wlan1] wl_cfg80211_add_del_bss : wl bss 2 bssidx:1
neven1 wrote:
Hey, is there a solution for this issue, please ?


You can try https://imola.armbian.com/dl/fe-som-rk3399/archive/

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 4 guests