Hello Radxa Community Members,
I am working on a project to make a Radxa Rock 5a model into a wireless hotspot for various devices to connect to. But I’m running against a problem with the software. My current objective is to create a virtual interface which hostapd will use to host an access point. But when I try using the command:
‘sudo iw phy phy0 interface add test-hotspot type __ap’.
I get the following error message:
‘command failed: No such device (-19)’.
Which, in my opinion, is strange since all prerequisites should be fulfilled, which include:
- Installed module CFG80211. This is build-in.
- An phy0 with supported interface for AP.
Here are some solutions I tried before coming here:
- Disabling wlan0 and using the command, this was unsuccessful.
- Firmware installation. I’ve downloaded the zip file from the following location: https://wiki.radxa.com/RockpiX/downloads at the WiFi & BT Firmware. Installed it in right location which didn’t work.
- Set the interface names to their mac addresses which should prevent wrong names being used. This led nowhere.
I hope that someone has a solution to this. Here are my current configurations and hardware that I’m working with:
Model: Radxa ROCK 5 model A (with an Radxa Wireless A8 module that is connected to a Radxa RockPi_PT WiFi-antenne)
Installed Kernel version: 5.10.110-20-rockchip
Some information about the configuration that is currently in the device:
Installed Modules
Module Size Used by
rfcomm 57344 4
usb_f_ecm 20480 2
u_ether 20480 1 usb_f_ecm
algif_skcipher 16384 1
hmac 16384 0
bnep 20480 2
sha512_generic 16384 0
md4 16384 0
algif_hash 16384 1
af_alg 20480 6 algif_hash,algif_skcipher
zstd 16384 8
zstd_compress 167936 1 zstd
vfat 20480 1
fat 65536 1 vfat
zram 24576 1
8852be 4046848 0
pwm_fan 16384 0
bifrost_kbase 831488 0
snd_soc_es8316 36864 1
rtk_btusb 57344 0
bluetooth 471040 30 bnep,rtk_btusb,rfcomm
snd_soc_rockchip_hdmi 16384 2
dw_hdmi_qp_i2s_audio 16384 0
snd_soc_rockchip_i2s_tdm 28672 4
snd_soc_rockchip_spdif 16384 2
snd_soc_hdmi_codec 20480 2
snd_soc_rockchip_multicodecs 20480 3
ecdh_generic 16384 2 bluetooth
ecc 24576 1 ecdh_generic
snd_soc_core 172032 6 snd_soc_rockchip_i2s_tdm,snd_soc_hdmi_codec,snd_soc_rockchip_spdif,snd_soc_rockchip_multicodecs,snd_soc_es8316,snd_soc_rockchip_hdmi
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_pcm 94208 5 snd_soc_rockchip_i2s_tdm,snd_soc_hdmi_codec,snd_soc_rockchip_spdif,snd_soc_core,snd_pcm_dmaengine
snd_timer 28672 1 snd_pcm
snd 61440 14 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
soundcore 16384 1 snd
binfmt_misc 20480 1
sch_fq_codel 20480 11
ledtrig_timer 16384 0
ledtrig_pattern 16384 0
ledtrig_heartbeat 16384 0
ledtrig_default_on 16384 0
fuse 106496 1
ip_tables 24576 0
x_tables 28672 1 ip_tables
ipv6 413696 60
sdhci_of_dwcmshc 16384 0
Ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.80.224.55 netmask 255.255.255.0 broadcast 10.80.224.255
inet6 fe80::b427:82e7:9061:1596 prefixlen 64 scopeid 0x20
ether a6:ec:3c:a2:2b:ba txqueuelen 1000 (Ethernet)
RX packets 1575 bytes 108125 (108.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 185 bytes 37650 (37.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 74
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 18 bytes 3206 (3.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18 bytes 3206 (3.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlxbcfd0c549352: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.80.224.58 netmask 255.255.255.0 broadcast 10.80.224.255
inet6 fe80::66cd:959e:8aaa:7429 prefixlen 64 scopeid 0x20
ether bc:fd:0c:54:93:52 txqueuelen 1000 (Ethernet)
RX packets 1700 bytes 161547 (161.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 76 bytes 7951 (7.9 KB)
TX errors 0 dropped 3 overruns 0 carrier 0 collisions 0
wlxbefd0c549352: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether be:fd:0c:54:93:52 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
iw list
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CMAC (00-0f-ac:6)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
* CCMP-256 (00-0f-ac:10)
* GMAC-128 (00-0f-ac:11)
* GMAC-256 (00-0f-ac:12)
* CMAC-256 (00-0f-ac:13)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x19e3
RX LDPC
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
HE Iftypes: AP
HE MAC Capabilities (0x0001120a0060):
+HTC HE Supported
All Ack
BSR
OM Control
Maximum A-MPDU Length Exponent: 2
OPS
A-MSDU in A-MPDU
HE PHY Capabilities: (0x06701a580dc0270e91b900):
HE40/2.4GHz
HE40/HE80/5GHz
Device Class: 1
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
NDP with 4x HE-LTF and 3.2us GI
STBC Rx <= 80MHz
Doppler Tx
DCM Max Constellation Rx: 3
Rx HE MU PPDU from Non-AP STA
SU Beamformee
Beamformee STS <= 80Mhz: 3
Ng = 16 SU Feedback
Ng = 16 MU Feedback
Codebook Size SU Feedback
Codebook Size MU Feedback
Triggered SU Beamforming Feedback
Partial Bandwidth Extended Range
Power Boost Factor ar
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 1
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
DCM Max BW: 2
Longer Than 16HE SIG-B OFDM Symbols
RX 1024-QAM
RX Full BW SU Using HE MU PPDU with Compression SIGB
RX Full BW SU Using HE MU PPDU with Non-Compression SIGB
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE Iftypes: managed
HE MAC Capabilities (0x0801120a8060):
+HTC HE Supported
Trigger Frame MAC Padding Duration: 2
All Ack
BSR
OM Control
Maximum A-MPDU Length Exponent: 2
OPS
A-MSDU in A-MPDU
HE PHY Capabilities: (0x06701a1f0d00270e91bd00):
HE40/2.4GHz
HE40/HE80/5GHz
Device Class: 1
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
NDP with 4x HE-LTF and 3.2us GI
STBC Rx <= 80MHz
Doppler Tx
DCM Max Constellation: 3
DCM Max NSS Tx: 1
DCM Max Constellation Rx: 3
SU Beamformee
Beamformee STS <= 80Mhz: 3
Codebook Size SU Feedback
Codebook Size MU Feedback
Triggered SU Beamforming Feedback
Partial Bandwidth Extended Range
Power Boost Factor ar
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 1
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
DCM Max BW: 2
Longer Than 16HE SIG-B OFDM Symbols
TX 1024-QAM
RX 1024-QAM
RX Full BW SU Using HE MU PPDU with Compression SIGB
RX Full BW SU Using HE MU PPDU with Non-Compression SIGB
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (no IR)
* 2472 MHz [13] (20.0 dBm) (no IR)
* 2484 MHz [14] (disabled)
Band 2:
Capabilities: 0x19e3
RX LDPC
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x03c070b1):
Max MPDU length: 7991
Supported Channel Width: neither 160 nor 80+80
RX LDPC
short GI (80 MHz)
TX STBC
SU Beamformee
+HTC-VHT
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 780 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 780 Mbps
HE Iftypes: AP
HE MAC Capabilities (0x0001120a0060):
+HTC HE Supported
All Ack
BSR
OM Control
Maximum A-MPDU Length Exponent: 2
OPS
A-MSDU in A-MPDU
HE PHY Capabilities: (0x06701a580dc0270e91b900):
HE40/2.4GHz
HE40/HE80/5GHz
Device Class: 1
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
NDP with 4x HE-LTF and 3.2us GI
STBC Rx <= 80MHz
Doppler Tx
DCM Max Constellation Rx: 3
Rx HE MU PPDU from Non-AP STA
SU Beamformee
Beamformee STS <= 80Mhz: 3
Ng = 16 SU Feedback
Ng = 16 MU Feedback
Codebook Size SU Feedback
Codebook Size MU Feedback
Triggered SU Beamforming Feedback
Partial Bandwidth Extended Range
Power Boost Factor ar
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 1
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
DCM Max BW: 2
Longer Than 16HE SIG-B OFDM Symbols
RX 1024-QAM
RX Full BW SU Using HE MU PPDU with Compression SIGB
RX Full BW SU Using HE MU PPDU with Non-Compression SIGB
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE Iftypes: managed
HE MAC Capabilities (0x0801120a8060):
+HTC HE Supported
Trigger Frame MAC Padding Duration: 2
All Ack
BSR
OM Control
Maximum A-MPDU Length Exponent: 2
OPS
A-MSDU in A-MPDU
HE PHY Capabilities: (0x06701a1f0d00270e91bd00):
HE40/2.4GHz
HE40/HE80/5GHz
Device Class: 1
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
NDP with 4x HE-LTF and 3.2us GI
STBC Rx <= 80MHz
Doppler Tx
DCM Max Constellation: 3
DCM Max NSS Tx: 1
DCM Max Constellation Rx: 3
SU Beamformee
Beamformee STS <= 80Mhz: 3
Codebook Size SU Feedback
Codebook Size MU Feedback
Triggered SU Beamforming Feedback
Partial Bandwidth Extended Range
Power Boost Factor ar
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 1
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
DCM Max BW: 2
Longer Than 16HE SIG-B OFDM Symbols
TX 1024-QAM
RX 1024-QAM
RX Full BW SU Using HE MU PPDU with Compression SIGB
RX Full BW SU Using HE MU PPDU with Non-Compression SIGB
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm) (no IR)
* 5240 MHz [48] (20.0 dBm) (no IR)
* 5260 MHz [52] (20.0 dBm) (no IR)
* 5280 MHz [56] (20.0 dBm) (no IR)
* 5300 MHz [60] (20.0 dBm) (no IR)
* 5320 MHz [64] (20.0 dBm) (no IR)
* 5500 MHz [100] (20.0 dBm) (no IR)
* 5520 MHz [104] (20.0 dBm) (no IR)
* 5540 MHz [108] (20.0 dBm) (no IR)
* 5560 MHz [112] (20.0 dBm) (no IR)
* 5580 MHz [116] (20.0 dBm) (no IR)
* 5600 MHz [120] (20.0 dBm) (no IR)
* 5620 MHz [124] (20.0 dBm) (no IR)
* 5640 MHz [128] (20.0 dBm) (no IR)
* 5660 MHz [132] (20.0 dBm) (no IR)
* 5680 MHz [136] (20.0 dBm) (no IR)
* 5700 MHz [140] (20.0 dBm) (no IR)
* 5720 MHz [144] (20.0 dBm) (no IR)
* 5745 MHz [149] (20.0 dBm) (no IR)
* 5765 MHz [153] (20.0 dBm) (no IR)
* 5785 MHz [157] (20.0 dBm) (no IR)
* 5805 MHz [161] (20.0 dBm) (no IR)
* 5825 MHz [165] (20.0 dBm) (no IR)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
* 5885 MHz [177] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* connect
* disconnect
* channel_switch
WoWLAN support:
* wake up on anything (device continues operating normally)
software interface modes (can always be added):
valid interface combinations:
* #{ managed, P2P-client } <= 2, #{ AP, P2P-GO } <= 1,
total <= 2, #channels <= 1
Device supports SAE with AUTHENTICATE command
Device supports scan flush.
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xb0 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Supported extended features: