当前位置: 首页 > article >正文

20241102在荣品PRO-RK3566开发板使用荣品预编译的buildroot通过iperf2测试AP6256的WIFI网速

20241102在荣品PRO-RK3566开发板使用荣品预编译的buildroot通过iperf2测试AP6256的WIFI网速
2024/11/2 14:18


客户端:荣耀手机HONOR 70【iPerf2 for Android】
服务器端:荣品PRO-RK3566开发板
预编译固件:update-pro-rk3566-buildroot-hdmi-20231130-034633.img
AP:由于公司的WIFI的SSID带中文和空格,Android可以直接连接,buildroot就使用 荣耀手机HONOR 70 虚拟了一个热点了!^_

实测WIFI的平均值为:45.5 Mbits/sec


【服务器端】荣品PRO-RK3566开发板的详细LOG:
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# [   36.157414] vcc3v3_lcd0_n: disabling
[   36.157460] vcc3v3_lcd1_n: disabling

root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# ifconfig
dummy0    Link encap:Ethernet  HWaddr F6:8B:7A:E4:6A:4A  
          inet addr:169.254.3.210  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::8d8c:203a:96bc:a184/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2514 (2.4 KiB)

eth0      Link encap:Ethernet  HWaddr 1A:5B:D2:85:72:77  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:46 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 70:F7:54:9A:5F:9A  
          inet addr:169.254.110.181  Bcast:169.254.255.255  Mask:255.255.0.0

          inet6 addr: fe80::5285:b130:8cb8:521/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2094 (2.0 KiB)

root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# cd /etc/
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# ls -l
total 324
drwxr-xr-x 3 root root   4096 Nov 29  2023 alsa
-rw-r--r-- 1 root root   2319 Nov 29  2023 bash.bashrc
drwxr-xr-x 2 root root   4096 Nov 30  2023 bash_completion.d
-rw-r--r-- 1 root root    535 Nov 29  2023 bindresvport.blacklist
drwxr-xr-x 3 root root   4096 Nov 29  2023 dbus-1
-rw-r--r-- 1 root root   2922 Nov 29  2023 deviceTest.ini
-rw-r--r-- 1 root root   1429 Nov 29  2023 dhcpcd.conf
-rw-r--r-- 1 root root    101 Nov 30  2023 dnsmasq.conf
drwxr-xr-x 2 root root   4096 Jan  1 21:15 dropbear
drwxr-xr-x 3 root root   4096 Nov 29  2023 fonts
-rw-r--r-- 1 root root    589 Nov 30  2023 fstab
-rw-r--r-- 1 root root    424 Nov 30  2023 group
-rw-r--r-- 1 root root 113611 Nov 29  2023 hostapd.conf
-rw-r--r-- 1 root root     17 Nov 30  2023 hostname
-rw-r--r-- 1 root root     47 Nov 30  2023 hosts
drwxr-xr-x 2 root root   4096 Nov 30  2023 init.d
-rw-r--r-- 1 root root   1302 Nov 30  2023 inittab
-rw-r--r-- 1 root root    215 Nov 29  2023 input-event-daemon.conf
drwxr-xr-x 2 root root   4096 Nov 30  2023 input-event-daemon.conf.d
-rw-r--r-- 1 root root   1180 Nov 29  2023 inputrc
drwxr-xr-x 2 root root   4096 Nov 29  2023 iproute2
-rw-r--r-- 1 root root      0 Nov 29  2023 iptables.conf
drwxr-xr-x 2 root root   4096 Nov 29  2023 iqfiles
-rw-r--r-- 1 root root     35 Nov 30  2023 issue
drwxr-xr-x 2 root root   4096 Nov 29  2023 libinput
drwxr-xr-x 2 root root   4096 Nov 29  2023 libnl
-rw-r--r-- 1 root root    782 Nov 29  2023 mke2fs.conf
-rwxr-xr-x 1 root root   2234 Nov 28  2023 mount-M2.sh
lrwxrwxrwx 1 root root     19 Nov 28  2023 mtab -> ../proc/self/mounts
-rw-r--r-- 1 root root    767 Nov 29  2023 netconfig
drwxr-xr-x 6 root root   4096 Nov 30  2023 network
-rw-r--r-- 1 root root    230 Nov 29  2023 nsswitch.conf
-rw-r--r-- 1 root root    317 Nov 29  2023 ntp.conf
-rw-r--r-- 1 root root    284 Nov 30  2023 os-release
-rw-r--r-- 1 root root    490 Nov 30  2023 passwd
drwxr-xr-x 5 root root   4096 Nov 29  2023 pm
drwxr-xr-x 3 root root   4096 Nov 28  2023 ppp
-rw-r--r-- 1 root root    473 Nov 29  2023 profile
drwxr-xr-x 2 root root   4096 Nov 30  2023 profile.d
-rw-r--r-- 1 root root   2744 Nov 28  2023 protocols
drwxr-xr-x 2 root root   4096 Nov 30  2023 pulse
drwxr-xr-x 2 root root   4096 Nov 29  2023 rc_keymaps
-rw-r--r-- 1 root root   7692 Nov 29  2023 rc_maps.cfg
lrwxrwxrwx 1 root root     18 Nov 28  2023 resolv.conf -> ../tmp/resolv.conf
-rw-r--r-- 1 root root     19 Nov 28  2023 resolv.conf.tail
-rwxr-xr-x 1 root root   1811 Nov 28  2023 sata-mount.sh
-rw-r--r-- 1 root root  10873 Nov 28  2023 services
-rw------- 1 root root    241 Nov 30  2023 shadow
-rw-r--r-- 1 root root     27 Nov 29  2023 shells
drwxr-xr-x 5 root root   4096 Nov 29  2023 ssl
drwxr-xr-x 3 root root   4096 Nov 30  2023 udev
drwxr-xr-x 4 root root   4096 Nov 29  2023 usbmount
-rw-r--r-- 1 root root    125 Nov 30  2023 wpa_supplicant.conf
drwxr-xr-x 4 root root   4096 Nov 28  2023 xdg
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# cat wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1

network={
    ssid="SSID"
    psk="PASSWORD"
    key_mgmt=WPA-PSK
}

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# cat wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1

network={
    ssid="HONOR70"
    psk="13572468"
    key_mgmt=WPA-PSK
}

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# 
ant.conf -B buildroot:/etc# wpa_supplicant -iwlan0 -Dnl80211 -c /etc/wpa_supplic 
Successfully initialized wpa_supplicant
nl80211: kernel reports: Authentication algorithm number required
[  153.451000] [dhd] P2P interface registered
nl80211: kernel reports: Registration to specific type not supported
[  153.479111] [dhd] WLC_E_IF: NO_IF set, event Ignored
root@rk3566-buildroot:/etc# [  153.480163] [dhd] P2P interface started
[  153.528283] [dhd] [wlan0] wl_run_escan : LEGACY_SCAN sync ID: 0, bssidx: 0
[  155.865839] [dhd] CFG80211-ERROR) wl_set_set_cipher : set wsec_info error (0)
[  155.869736] [dhd] [wlan0] wl_conn_debug_info : Connecting with 5e:bc:c0:0f:f5:e2 ssid "HONOR70", len (7), channel=2g-6(chan_cnt=1), sec=wpa2/psk/mfpn/aes, rssi=-42
[  155.993308] [dhd] [wlan0] wl_iw_event : Link UP with 5e:bc:c0:0f:f5:e2
[  155.993368] [dhd] [wlan0] wl_ext_iapsta_link : [S] Link UP with 5e:bc:c0:0f:f5:e2
[  155.996537] [dhd] [wlan0] wl_bss_connect_done : Report connect result - connection succeeded
[  156.043175] [dhd] [wlan0] wl_add_keyext : key index (0) for 5e:bc:c0:0f:f5:e2

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# ifconfig
dummy0    Link encap:Ethernet  HWaddr F6:8B:7A:E4:6A:4A  
          inet addr:169.254.3.210  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::8d8c:203a:96bc:a184/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6944 (6.7 KiB)

eth0      Link encap:Ethernet  HWaddr 1A:5B:D2:85:72:77  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:46 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 70:F7:54:9A:5F:9A  
          inet addr:192.168.109.78  Bcast:192.168.109.255  Mask:255.255.255.0
          inet6 addr: 2408:8459:3060:7238:faa7:7e07:4843:bb40/64 Scope:Global
          inet6 addr: fe80::3c93:a9b6:38ba:26f6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53 errors:0 dropped:0 overruns:0 frame:0
          TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5187 (5.0 KiB)  TX bytes:9618 (9.3 KiB)

root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  1] local 192.168.109.78 port 5001 connected with 192.168.109.66 port 47180
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-21.74 sec   118 MBytes  45.5 Mbits/sec
^Croot@rk3566-buildroot:/etc# 


客户端:荣耀手机HONOR 70【iPerf2 for Android】

【很容易知道荣品的预编译固件,使用的是比较旧的V1.2版本的固件!Rockchip最新的buildroot自带的V1.4的固件竟然异常了!可以联网,拿不到IP地址!^_】
D:\20240423wyb\20241102解决荣品PRO-RK3566开发板刷Rockchip原厂的Buildroot适配AP6256【荣品的DTS】\firmware\nvram_ap6256.txt
#AP6256_NVRAM_V1.2_09202018.txt

# Cloned from bcm94345wlpagb_p2xx.txt 
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304

#XTAL 37.4MHz
xtalfreq=37400
btc_mode=1

#-----------------------------------------
#boardflags: 5GHz eTR switch by default
#            2.4GHz eTR switch by default
#            bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=1,165,2,100,2,100,2,100,2,100

pa2ga0=-154,5722,-656

#1pa2ga0=-195,5558,-672
pa2ga1=-118,4850,-635
pa5ga0=-193,6098,-740,-192,6095,-738,-199,5996,-730,-182,6148,-741


#3pa5ga0=-214,6002,-737,-209,6102,-746,-209,6024,-738,-200,6149,-747
#2pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-208,5549,-683
#1pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-185,6130,-740
pa5ga1=-142,4930,-655,-150,4859,-646,-156,4887,-644,-158,4864,-641

itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32

maxp2ga0=78
cckbw202gpo=0x5555
cckbw20ul2gpo=0x5555

ofdmlrbw202gpo=0x2244
dot11agofdmhrbw202gpo=0x7744
ccode=DE
regrev=0


mcsbw202gpo=0x98886422
mcsbw402gpo=0x98777755

maxp5ga0=75,75,75,76

#5GHz_20MHz Offset
mcsbw205glpo=0xba753311
mcsbw205gmpo=0xba753311
mcsbw205ghpo=0xba753311

#5GHz_40MHz Offset
mcsbw405glpo=0xe8753311
mcsbw405gmpo=0xe8753311
mcsbw405ghpo=0xd9753311

#5GHz_80MHz Offset
mcsbw805glpo=0xea633311
mcsbw805gmpo=0xe7422211
mcsbw805ghpo=0xda632211


swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3

vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54

#ed_thresh2g=-69
#ed_thresh5g=-69
#eu_edthresh2g=-69
#eu_edthresh5g=-69
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=0
#fdsslevel_ch1=6
#fdsslevel_ch11=4
#btc_mode=1  

muxenab=0x10

cckdigfilttype=5

fdss_level_2g=6
#fdss_level_5g=6
#pacalshift5g=0,0,1


 


http://www.kler.cn/a/380856.html

相关文章:

  • java 对ElasticSearch数据库操作封装工具类(对你是否适用嘞)
  • 【GO环境安装】mac系统+GoLand使用
  • Java - 日志体系_Apache Commons Logging(JCL)日志接口库
  • vuex如何进行状态管理?
  • Linux的VIM基本操作
  • LightGBM分类算法在医疗数据挖掘中的深度探索与应用创新(上)
  • 【GL09】(算法)卡尔曼滤波
  • HCIA(DHCP服务)
  • C++优选算法七 分治-快排
  • 江协科技STM32学习- P29 实验- 串口收发HEX数据包/文本数据包
  • DAY67WEB 攻防-Java 安全JNDIRMILDAP五大不安全组件RCE 执行不出网
  • 大型音频模型:AudioLLMs
  • 深度学习基础知识-编解码结构理论超详细讲解
  • java学习2
  • SPI通信详解-学习笔记
  • 练习LabVIEW第三十九题
  • Prometheus套装部署到K8S+Dashboard部署详解
  • Vue:计算属性
  • Spring 实现异步流式接口
  • jmeter脚本-请求体设置变量and请求体太长的处理
  • Webpack入门教程:从基本概念到优化技巧
  • Vision - 开源视觉分割算法框架 Grounded SAM2 视频推理 教程 (2)
  • K8S简单部署,以及UI界面配置
  • Vue指令:v-else、v-else-if
  • 展示+分享|美创科技@2024年数据安全关键技术研究及产业应用成果大会
  • 【云备份】httplib库