Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] [ROC-RK3568-PC][Wifi] Bandwith limited to 20MHz

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39

【Linux】 [ROC-RK3568-PC][Wifi] Bandwith limited to 20MHz

Posted at 2/5/2022 01:06:16      View:2676 | Replies:8        Print     [Copy Link] 1#
I have the following issue with the wifi module AP6275S: I am trying to run an access point in wifi ac mode but I when running iperf I saw the throughput is always around 125mbps. When running iw list I saw that in the capabilities only 20MHz bandwith is supported, which I think it may explain the issue:

iw list
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Device supports T-DLS.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 1:
                Capabilities: 0x1020
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT RX MCS rate indexes supported: 0-7
                HT TX MCS rate indexes are undefined
                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)
                        * 2472 MHz [13] (20.0 dBm)
        Band 2:
                Capabilities: 0x1020
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT RX MCS rate indexes supported: 0-7
                HT TX MCS rate indexes are undefined
                VHT Capabilities (0x0f815832):
                        Max MPDU length: 11454
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        SU Beamformer
                        SU Beamformee
                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: 0 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: 0 Mbps
                Frequencies:
                        * 5180 MHz [36] (0.0 dBm)
                        * 5200 MHz [40] (0.0 dBm)
                        * 5220 MHz [44] (0.0 dBm)
                        * 5240 MHz [48] (0.0 dBm)
                        * 5260 MHz [52] (0.0 dBm)
                        * 5280 MHz [56] (0.0 dBm)
                        * 5300 MHz [60] (0.0 dBm)
                        * 5320 MHz [64] (0.0 dBm)
                        * 5745 MHz [149] (0.0 dBm)
                        * 5765 MHz [153] (0.0 dBm)
                        * 5785 MHz [157] (0.0 dBm)
                        * 5805 MHz [161] (0.0 dBm)
                        * 5825 MHz [165] (0.0 dBm)
        valid interface combinations:
                 * #{ AP } <= 2, #{ managed } <= 4, #{ P2P-client, P2P-GO } <= 2, #{ P2P-device } <= 1, #{
IBSS } <= 1,
                   total <= 5, #channels <= 2
        Supported extended features:
                * [ LOW_SPAN_SCAN ]: low span scan
                * [ LOW_POWER_SCAN ]: low power scan
                * [ HIGH_ACCURACY_SCAN ]: high accuracy scan

Is this expected? I would expect to see at least HT20/HT40. Of course I set hw_mode=1 in hostapd but had no success.

I saw the following kernel messages during boot:
[   17.291957] [dhd] dhd_conf_set_path_params : Final fw_path=/vendor/etc/firmware/fw_bcm43752a2_ag.bin
[   17.292008] [dhd] dhd_conf_set_path_params : Final clm_path=/vendor/etc/firmware/clm_bcm43752a2_ag.blob
[   17.293991] dhd_os_open_image1: /vendor/etc/firmware/fw_bcm43752a2_ag.bin (743607 bytes) open success
[   17.490209] dhd_os_open_image1: /vendor/etc/firmware/clm_bcm43752a2_ag.blob (28865 bytes) open success

Is the bandwith limited because of loading this firmware? Should I update my kernel to a one containing this patch https://patchwork.kernel.org/pro ... 9-2-angus@akkea.ca/ to be able to increase wifi's throughput?

Thanks in advance.

Valentin
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 2/10/2022 17:45:38      2#
Hi Javier,

I also tried openwrt image (Station_P2_OpenWRT_GPT_20211123_1812.img), however 'iw list' still only shows HT20 in capabilities. I am not trying to do wifi g but wifi ac, which is supposed to be supported.

Also patched 4.19 kernel to use dhd driver in wifi5 instead of wifi6 but capabilities are the same, I guess the issue comes from  fw_bcm43752a2_ag.bin but no one has confirmed it yet.
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 3/3/2022 16:55:42      3#
I've just flashed ROC-RK3568-PC-UBUNTU18.04-GPT-20220222-1540.img:
root@firefly:~# uname -a
Linux firefly 4.19.219 #370 SMP Tue Feb 22 15:35:10 CST 2022 aarch64 aarch64 aarch64 GNU/Linux

However I still see the same output of iw list:

Band 1:
                Capabilities: 0x1020
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
...
...
...
Band 2:
                Capabilities: 0x1020
                        HT20
                        Static SM Power Save
                        RX HT20 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40

I would expect at least HT20/HT40
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 3/3/2022 18:40:19      4#
Thanks, it is better, around ~240mbps, however I'm still limited because of supported bandwidth. I cannot setup HT40+ in hostapd.conf because the capability is not supported
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list