This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:users:wi-fi-alliance-certification [2021/08/11 09:33] Ming Shuo Chiu [Table] |
en:users:wi-fi-alliance-certification [2021/08/23 03:45] Ming Shuo Chiu [Table] |
||
---|---|---|---|
Line 17: | Line 17: | ||
Given the code quality and stability, it is the goal of GARDENA to develop the rtl8xxxu driver as far as needed to pass the Wi-Fi Alliance certification. | Given the code quality and stability, it is the goal of GARDENA to develop the rtl8xxxu driver as far as needed to pass the Wi-Fi Alliance certification. | ||
+ | A big hurdle is [[https://blog.linuxplumbersconf.org/2016/ocw/system/presentations/4089/original/2016-11-02-rtl8xxxu-presentation.pdf | the lack of sources as well as documentation for the firmware]]. Therefore, digging in the (hard to read) sources of the vendor driver is needed. | ||
==== Hardware ==== | ==== Hardware ==== | ||
* End product: ARMv5, Atmel SAM9G25 based GARDENA smart gateway ([[https://github.com/husqvarnagroup/smart-garden-gateway-public|sources]]) | * End product: ARMv5, Atmel SAM9G25 based GARDENA smart gateway ([[https://github.com/husqvarnagroup/smart-garden-gateway-public|sources]]) | ||
Line 40: | Line 41: | ||
== Chris == | == Chris == | ||
- | * AP: ? | + | * AP: Dlink DIR-612 (2x2) SSID: CHT57196 with BSSID: 18:0f:76:c5:0a:ea |
* STA: rtl8xxxu running on Edimax EW-7811UN (amd64) | * STA: rtl8xxxu running on Edimax EW-7811UN (amd64) | ||
- | * Distance: ? | + | * Distance: fixed to 3m and 6m for experiment |
- | * Environment: ? | + | * Environment: use less-noisy channel 9 in a 8x9 square meters area which only have 1 router. |
=== Baseline === | === Baseline === | ||
Line 217: | Line 218: | ||
=== Chris === | === Chris === | ||
+ | |||
+ | == Setup == | ||
+ | - Blacklist all drivers (rlt8xxxu, 8192cu, rtl8192cu) | ||
+ | - Ensure no drivers are loaded | ||
+ | - Load driver to be tested (rlt8xxxu, 8192cu) with insmod | ||
+ | - Start 802.11 capture | ||
+ | - Once IP address got assigned, measure the performance using iperf3: | ||
+ | * TCP TX Throughput: <code>iperf3 -c 192.168.0.11 -t 30 -i 1</code> | ||
+ | * TCP RX Throughput: <code>iperf3 -c --reverse 192.168.0.11 -t 30 -i 1</code> | ||
+ | |||
+ | == Repos == | ||
+ | * Linux: https://github.com/mschiu77/linux/tree/chris/ampdu_action | ||
+ | * 8192cu: https://github.com/mschiu77/rtl8188cus_vendor | ||
+ | |||
+ | == Analysis == | ||
+ | * The throughput values are the ones reported by iperf3 (the lower value if server/client values differ) | ||
+ | * The retry values are taken from Wireshark in menu "Wireless" -> "WLAN Traffic" | ||
+ | |||
== TCP TX Throughput == | == TCP TX Throughput == | ||
Line 225: | Line 244: | ||
| amd64, Edimax | DLink | Linux v5.12, 8192cu (https://github.com/mschiu77/rtl8188cus_vendor.git master) | 40~42 Mbits/s; 9% | 3m, direct line of sight | steady performance | https://mega.nz/folder/GAcwnDjY#Xf9lVMriWcPpIUACjuZiqg | | | amd64, Edimax | DLink | Linux v5.12, 8192cu (https://github.com/mschiu77/rtl8188cus_vendor.git master) | 40~42 Mbits/s; 9% | 3m, direct line of sight | steady performance | https://mega.nz/folder/GAcwnDjY#Xf9lVMriWcPpIUACjuZiqg | | ||
| amd64, Edimax | DLink | Linux v5.12, 8192cu ((https://github.com/mschiu77/rtl8188cus_vendor.git master) | 13-16 Mbits/s; 20~23% | 6m, direct line of sight | steady throughput w/o sudden drop | https://mega.nz/folder/HZ8iQRqY#2ss6WW9u6oxInJvT2R6iCw | | | amd64, Edimax | DLink | Linux v5.12, 8192cu ((https://github.com/mschiu77/rtl8188cus_vendor.git master) | 13-16 Mbits/s; 20~23% | 6m, direct line of sight | steady throughput w/o sudden drop | https://mega.nz/folder/HZ8iQRqY#2ss6WW9u6oxInJvT2R6iCw | | ||
+ | |||
+ | == TCP RX Throughput == | ||
+ | |||
+ | | **DUT** | **AP** | **Driver** | **Throughput [Mbits/sec]; retries [%]** | **AP <-> DUT** | **Notes** | **PCAP** | | ||
+ | | amd64, Edimax | DLink | Linux v5.13.1 rtl8xxxu | 36 Mbits/s; 12% | 3m, direct line of sight | performance is stable high | https://mega.nz/folder/3Zs0nDrK#i1fnW6Bp5E_jeC3dcPlWaw | | ||
+ | | amd64, Edimax | DLink | Linux v5.13.1 rtl8xxxu | 16 Mbits/s; 30% | 6m, direct line of sight | performance is stably low | https://mega.nz/folder/TcsQAZoI#VbQiPZF1B7EJK1_82x2kOg | | ||
+ | | amd64, Edimax | DLink | Linux v5.12, 8192cu | 35 Mbits/s; 10% | 3m, direct line of sight | performance is stable high | https://mega.nz/folder/KIsmCBRR#rN9X9sXrdLo7It8qj8PQgQ | | ||
+ | | amd64, Edimax | DLink | Linux v5.12, 8192cu | 20 Mbits/s; 11% | 6m, direct line of sight | performance and retry are better than rtl8xxxu | https://mega.nz/folder/2Q1WBJqS#6dU1pQ9OXbveETqlfQcZ2w | |