Hi Christine,
Thank you for telling us how to adjust the socket buffer size on the wifi side.
Now the problem we encounter is mainly that the 5Ghz wifi DL tput can't go up and can only reach about 520Mb. We use iperf for UDP testing, the environment and cmd are as follows:
Router <- WIFI wireless -> Client PC
Server iperf CMD: iperf -s -u -i1
Client iperf CMD:iperf -i1 -c 192.168.1.139 -u -b1000M -l1472 -p4110 -P30 -t30
We have adjusted the buffer size according to your suggestion, and the test results of adjusting the buffer size are as follows:
1-set up max_tx_buf_size = 2048
->hostapd Setup failed
2-set up max_tx_buf_size = 4096
-> default value, Max. DL tput about 550Mbps
3- set up max_tx_buf_size = 8192
-> Max. DL tput about 450-500Mbps
It has been confirmed that the data sent from the kernel side can reach 650mbps, but the data sent from uap0 on the wifi side is only 520mbps.
In addition to the buffer size of wifi, is there any other reason that will cause the wifi DL tput to be limited (the maximum is 520~550Mbps)?
Thank you