NanoPi R5C - Rockchip RK3568B2 - 2 PCIe 2.5Gbps

looks like a cheaper alternative to r4s with a lower power consumption (if that matters to anyone) but we would need some tests with sqm

Yes. Does absolutely nothing as far as I can tell

Without SQM (with software offloading): https://www.waveform.com/tools/bufferbloat?test-id=2c385db9-9df6-43af-88c8-c882c5308fb4
With SQM (1780000 download ingress, 1020000 upload ingress). Tested with and without software offloading. Without offloading worked marginally better: https://www.waveform.com/tools/bufferbloat?test-id=7e019766-3517-48dd-a3d9-7a5d5b06f8b7
Hope this helps. As suspected it can't handle >1gbps with SQM . If it is possible and I can figure out a way to improve the load imbalance on the cores, I will update the results.

3 Likes

Does packet steering helps sqm throughput?

Above tests are with packet steering enabled. I disabled it and got pretty much identical results as before for SQM

1 Like

One thing to keep in mind, there are two versions but they don't make it clear.
One has fixed MAC addresses (enterprise) and the other does not so the MAC is constantly changing unless you add them to the network file.

Is this still the case a year later? Any of these 6E cards provide AP in the 6 GHz band?

  • AX210
  • MT7922
  • NFA765

Perhaps WNFQ-268AXI(BT) for at least two concurrent modes (TBDC)..

No price listed, which isn't very promising (I would expect >250 USD).
No public data sheet (so no idea about the current draw).
We don't have very good feedback about ath11k M.2/ PCIe cards (very much to the contrary though).
"Tri-Band Dual Concurrent Design", so no - nothing new about that card - it can either do 2.4+5 GHz XOR 2.4+6 GHz, it can not do 2.4+5+6 GHz at the same time, so you still need at least two cards (and 2x2 wouldn't really convince me for a high-end AP of this price class either).

A quick search returned a couple options for $52.

But you're right, you'd have to sacrifice 5 GHz to get the 6 GHz along with the 2.4 GHz :pensive:

.. then throw in the cost of a power cable, ethernet cable, and $28/$30 - $70 for a couple decent antennas and you're pushing up against commercial options like the $199 TP-Link Archer AXE75 or eero Pro that give you all three bands concurrently.. It becomes apparent the value just isn't there (other than the thrill of DIY, of course :grin: )

For Intel cards, probably will be same after 10 years, so you can forget about it.

How about Mediatek? Is their $40 TBDC 6E solution any good? https://asiarf.com/product/wi-fi-6e-m-2-ae-key-module-mt7916-aw7916-aed/

looks like similar to QCNFA765
Recommend to use this card due to low cost & stability.
Required installed openwrt packages: kmod-ath11k kmod-ath11k-pci ath11k-firmware-wcn6855

root@OpenWrt:~# ubus call system board
{
        "kernel": "6.1.79",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 0",
        "model": "FriendlyElec NanoPi R5C",
        "board_name": "friendlyarm,nanopi-r5c",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r25332-611a9894b2",
                "target": "rockchip/armv8",
                "description": "OpenWrt SNAPSHOT r25332-611a9894b2"
        }
}
root@OpenWrt:~# dmesg | grep ath11
[   16.667101] ath11k_pci 0000:01:00.0: BAR 0: assigned [mem 0xf4200000-0xf43fffff 64bit]
[   16.667879] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   16.669595] ath11k_pci 0000:01:00.0: MSI vectors: 1
[   16.670055] ath11k_pci 0000:01:00.0: wcn6855 hw2.0
[   16.670481] ath11k_pci 0000:01:00.0: FW memory mode: 0
[   17.890311] ath11k_pci 0000:01:00.0: chip_id 0x2 chip_family 0xb board_id 0xff soc_id 0x400c0200
[   17.891114] ath11k_pci 0000:01:00.0: fw_version 0x110b196e fw_build_timestamp 2022-12-22 12:54 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
[   18.017014] ath11k_pci 0000:01:00.0: leaving PCI ASPM disabled to avoid MHI M2 problems
root@OpenWrt:~#
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path '3c0000000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'HE160'
        option country 'GB'
        option cell_density '3'
        list hostapd_options 'unsol_bcast_probe_resp_interval=20'
        option mu_beamformer '1'
        option band '6g'
        option channel '5'
        option txpower '20'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'SSID_6G'
        option encryption 'sae'
        option ifname 'wlan0'
        option key 'password'
        option disassoc_low_ack '0'

root@OpenWrt:~# iwinfo
wlan0     ESSID: "SSID_6G"
          Access Point: B4:B5:B6:86:A2:FB
          Mode: Master  Channel: 5 (5.975 GHz)  HT Mode: HE160
          Center Channel 1: 15 2: unknown
          Tx-Power: 17 dBm  Link Quality: 53/70
          Signal: -57 dBm  Noise: unknown
          Bit Rate: 2161.3 MBit/s
          Encryption: WPA3 SAE (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/b/g/n
          Hardware: 17CB:1103 105B:E0BB [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy0

root@OpenWrt:~#
root@OpenWrt:~# iw dev wlan0 station dump
Station 04:7b:cb:b2:2d:28 (on wlan0)
        inactive time:  0 ms
        rx bytes:       369758
        rx packets:     3105
        tx bytes:       1429134
        tx packets:     3963
        tx retries:     90
        tx failed:      0
        rx drop misc:   0
        signal:         -58 [-61, -61] dBm
        signal avg:     104 dBm
        tx bitrate:     1921.5 MBit/s 160MHz HE-MCS 9 HE-NSS 2 HE-GI 0 HE-DCM 0
        tx duration:    0 us
        rx bitrate:     1921.5 MBit/s 160MHz HE-MCS 9 HE-NSS 2 HE-GI 0 HE-DCM 0
        rx duration:    176173 us
        last ack signal:108 dBm
        avg ack signal: 94 dBm
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            yes
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short slot time:yes
        connected time: 375 seconds
        associated at [boottime]:       3370.585s
        associated at:  1708992889289 ms
        current time:   1708993263738 ms
root@OpenWrt:~#
root@OpenWrt:~# iperf3 -c 192.168.1.233
Connecting to host 192.168.1.233, port 5201
[  5] local 192.168.1.253 port 56782 connected to 192.168.1.233 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  85.0 MBytes   712 Mbits/sec    0   1.01 MBytes
[  5]   1.00-2.00   sec  82.2 MBytes   690 Mbits/sec    0   1.06 MBytes
[  5]   2.00-3.00   sec  81.5 MBytes   684 Mbits/sec    0   1.18 MBytes
[  5]   3.00-4.00   sec  82.0 MBytes   688 Mbits/sec    0   1.18 MBytes
[  5]   4.00-5.00   sec  80.2 MBytes   673 Mbits/sec    0   1.26 MBytes
[  5]   5.00-6.00   sec  80.6 MBytes   676 Mbits/sec    0   1.26 MBytes
[  5]   6.00-7.00   sec  81.1 MBytes   681 Mbits/sec    0   1.35 MBytes
[  5]   7.00-8.00   sec  82.6 MBytes   693 Mbits/sec    0   1.35 MBytes
[  5]   8.00-9.00   sec  80.9 MBytes   678 Mbits/sec    0   1.35 MBytes
[  5]   9.00-10.00  sec  82.5 MBytes   691 Mbits/sec    0   1.35 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   819 MBytes   687 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   816 MBytes   684 Mbits/sec                  receiver

iperf Done.
root@OpenWrt:~# iperf3 -c 192.168.1.233 -P2
Connecting to host 192.168.1.233, port 5201
[  5] local 192.168.1.253 port 52876 connected to 192.168.1.233 port 5201
[  7] local 192.168.1.253 port 52878 connected to 192.168.1.233 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  49.0 MBytes   411 Mbits/sec    0    936 KBytes
[  7]   0.00-1.00   sec  64.2 MBytes   538 Mbits/sec    0   1022 KBytes
[SUM]   0.00-1.00   sec   113 MBytes   949 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  46.1 MBytes   387 Mbits/sec    0    936 KBytes
[  7]   1.00-2.00   sec  62.1 MBytes   521 Mbits/sec    0   1.05 MBytes
[SUM]   1.00-2.00   sec   108 MBytes   908 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  43.5 MBytes   365 Mbits/sec    0    936 KBytes
[  7]   2.00-3.00   sec  62.4 MBytes   523 Mbits/sec    0   1.12 MBytes
[SUM]   2.00-3.00   sec   106 MBytes   888 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  44.6 MBytes   374 Mbits/sec    0    994 KBytes
[  7]   3.00-4.00   sec  61.2 MBytes   514 Mbits/sec    0   1.19 MBytes
[SUM]   3.00-4.00   sec   106 MBytes   888 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  47.1 MBytes   395 Mbits/sec    0   1.03 MBytes
[  7]   4.00-5.00   sec  61.4 MBytes   514 Mbits/sec    0   1.25 MBytes
[SUM]   4.00-5.00   sec   108 MBytes   910 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  43.4 MBytes   364 Mbits/sec    0   1.09 MBytes
[  7]   5.00-6.00   sec  61.0 MBytes   511 Mbits/sec    0   1.32 MBytes
[SUM]   5.00-6.00   sec   104 MBytes   876 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  46.1 MBytes   387 Mbits/sec    0   1.09 MBytes
[  7]   6.00-7.00   sec  59.9 MBytes   503 Mbits/sec    0   1.32 MBytes
[SUM]   6.00-7.00   sec   106 MBytes   889 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  45.5 MBytes   382 Mbits/sec    0   1.09 MBytes
[  7]   7.00-8.00   sec  59.8 MBytes   501 Mbits/sec    0   1.32 MBytes
[SUM]   7.00-8.00   sec   105 MBytes   883 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  46.9 MBytes   393 Mbits/sec    0   1.09 MBytes
[  7]   8.00-9.00   sec  61.1 MBytes   513 Mbits/sec    0   1.32 MBytes
[SUM]   8.00-9.00   sec   108 MBytes   906 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.01  sec  44.5 MBytes   371 Mbits/sec    0   1.09 MBytes
[  7]   9.00-10.01  sec  61.6 MBytes   514 Mbits/sec    0   1.32 MBytes
[SUM]   9.00-10.01  sec   106 MBytes   886 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   457 MBytes   383 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   455 MBytes   381 Mbits/sec                  receiver
[  7]   0.00-10.01  sec   615 MBytes   515 Mbits/sec    0             sender
[  7]   0.00-10.01  sec   612 MBytes   512 Mbits/sec                  receiver
[SUM]   0.00-10.01  sec  1.05 GBytes   898 Mbits/sec    0             sender
[SUM]   0.00-10.01  sec  1.04 GBytes   893 Mbits/sec                  receiver

iperf Done.
root@OpenWrt:~# iperf3 -c 192.168.1.233 -P2 -R
Connecting to host 192.168.1.233, port 5201
Reverse mode, remote host 192.168.1.233 is sending
[  5] local 192.168.1.253 port 39364 connected to 192.168.1.233 port 5201
[  7] local 192.168.1.253 port 39378 connected to 192.168.1.233 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  83.0 MBytes   696 Mbits/sec
[  7]   0.00-1.00   sec  76.8 MBytes   643 Mbits/sec
[SUM]   0.00-1.00   sec   160 MBytes  1.34 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  84.0 MBytes   705 Mbits/sec
[  7]   1.00-2.00   sec  82.8 MBytes   694 Mbits/sec
[SUM]   1.00-2.00   sec   167 MBytes  1.40 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  82.1 MBytes   689 Mbits/sec
[  7]   2.00-3.00   sec  84.6 MBytes   710 Mbits/sec
[SUM]   2.00-3.00   sec   167 MBytes  1.40 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  82.6 MBytes   693 Mbits/sec
[  7]   3.00-4.00   sec  82.6 MBytes   693 Mbits/sec
[SUM]   3.00-4.00   sec   165 MBytes  1.39 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  81.9 MBytes   687 Mbits/sec
[  7]   4.00-5.00   sec  81.9 MBytes   687 Mbits/sec
[SUM]   4.00-5.00   sec   164 MBytes  1.37 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  81.9 MBytes   687 Mbits/sec
[  7]   5.00-6.00   sec  81.9 MBytes   687 Mbits/sec
[SUM]   5.00-6.00   sec   164 MBytes  1.37 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  82.4 MBytes   691 Mbits/sec
[  7]   6.00-7.00   sec  82.4 MBytes   691 Mbits/sec
[SUM]   6.00-7.00   sec   165 MBytes  1.38 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  82.2 MBytes   690 Mbits/sec
[  7]   7.00-8.00   sec  82.2 MBytes   690 Mbits/sec
[SUM]   7.00-8.00   sec   164 MBytes  1.38 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  82.5 MBytes   692 Mbits/sec
[  7]   8.00-9.00   sec  82.5 MBytes   692 Mbits/sec
[SUM]   8.00-9.00   sec   165 MBytes  1.38 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  54.4 MBytes   456 Mbits/sec
[  7]   9.00-10.00  sec  55.2 MBytes   464 Mbits/sec
[SUM]   9.00-10.00  sec   110 MBytes   920 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec   801 MBytes   671 Mbits/sec                  sender
[  5]   0.00-10.00  sec   797 MBytes   669 Mbits/sec                  receiver
[  7]   0.00-10.01  sec   797 MBytes   668 Mbits/sec                  sender
[  7]   0.00-10.00  sec   793 MBytes   665 Mbits/sec                  receiver
[SUM]   0.00-10.01  sec  1.56 GBytes  1.34 Gbits/sec                  sender
[SUM]   0.00-10.00  sec  1.55 GBytes  1.33 Gbits/sec                  receiver

iperf Done.

1 Like

Hello. I have the same unity, but have not set it up yet. I wonder if you have successfully reached advertised speeds with latest firmware imgs released this year.

Update: doesn't physically fit in the R5C.

aside from installing those packages, is there anything else you have to do to get it working?

Despite showing up on lspci, can't seem to get ath11 even loading, doesn't show up in system logs