iperf3 imx8 tcp bandrate not stable while udp is good.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iperf3 imx8 tcp bandrate not stable while udp is good.

720 Views
Brady
Contributor I

Hi Developer,

we are developing an product based on imx8mm and Android9.0 and now is pass the wifi certificate. we have failure on the throughout test case. 

we test with iperf3 and found:

- if with use -u(udp) it can stable run at 210M, good.

- if use tcp some times we can get 180m(good) but most time it only range in 20m ~ 50m. 

- the test wifi setup in shield room and RF performance have been checked is ok. 

we suspect some thing from the tcp application bring in the limits. and want to compelete disable the throttle method on tcp. or any advise please share with us. 

Thanks very much and this is a little urgent. 

mmexport1671514458269(1).jpg

0 Kudos
4 Replies

626 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Brady  @Zhiming_Liu ,

 

关于Qualcomn QCA1023 chip 的吞吐量的疑问,最好联系Qualcomn做进一步的support,可以从询问是否可以调整TX power的角度了解。

我们这边很难对其有更多的支持。毕竟原厂的support更加专业。

 

Regards,

weidong

 

0 Kudos

701 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @Brady ,

 

您提到的现象是正常的。

--UDP属于不可靠连接。不要求双方始终处于link状态,发送端只管发,而不考虑误码率问题。

--TCP属于可靠连接,双方必须时刻保持link状态。如果因为信号弱,link不稳定时,速率也会不稳定。

所以在距离远的时候,速率会发生波动。

由于各个国家对无线信号功率都有限制,我们不建议客户提高功率而实现更远距离传输的目的。

另外,您可以试试这个方式:

在我们的wifi driver编译完成后,在conf目录中有一个配置文件:txpowerlimit_cfg.conf,这个配置输出功率的配置,它是这样使用的,先把它转变成.bin文件,然后加载driver的时候,作为参数传尽wifi模块中。

# mlanutl wlan0 hostcmd txpowerlimit_cfg.conf generate_raw txpowerlimit_cfg.bin

# insmod moal.ko '...... txpwrlimit_cfg=txpowerlimit_cfg.bin'

 

Regards,

weidong

0 Kudos

704 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Brady 

Please share your model about your wifi

0 Kudos

653 Views
Brady
Contributor I

Hi Qmiller,

sorry for late reply.

It's 欧智通8223A-SR that used Qualcomn QCA1023 chip.

0 Kudos