Verdin AM62 Wifi performance

Hi support

In our current product portfolio we use dedicated (host-less) wifi modules.These allow us to go up to 16Mbps throughput.

We now want to move to a better performing wifi link in one of our new products. For this we’re evaluating the Verdin AM62 module. We’re currently running Torizon OS with pairing ( 6.6.1+build.14 (kirkstone)).
We’ve set up an AP with hostapd (the NetworkManager way didn’t seem to work). Clients are able to connect but current performance is really slow. Even below the 16Mbps from our previous modules.

We’re still playing around with it to see how it can be improved.
We already used different wifi channels to set up the AP but that didn’t show any significant improvements

A few questions:

  • What is the performance that we can expect from this wifi setup? Are there any data throughput numbers available?
  • Routing and network traffic is going to be very important in our application. Are there different OS releases/configurations that focus on this kind of performance over wifi/ethernet?
  • Mobile devices seem to have better connection over the wifi then our laptops. Any feedback on that?

All help/information guiding us to better tests are very welcome

Kind regards,

Gerrit

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Gerrit,

For the Verdin AM62 module running Torizon OS, the WiFi performance can vary based on several factors including the WiFi module used, the environment, and the configuration. Since the Verdin AM62 itself is a versatile module, the expected WiFi performance would largely depend on the specific WiFi hardware you’ve chosen to interface with the module, as well as the software configuration.

  1. Expected WiFi Performance: Without specific details on the WiFi module being used with the Verdin AM62, it’s challenging to provide exact throughput numbers. Generally, WiFi modules compatible with the Verdin family can support a wide range of performances, from 802.11n up to 802.11ac, potentially offering throughput from tens of Mbps to several hundred Mbps under optimal conditions. It’s crucial to consult the datasheet of the specific WiFi module you’re using for theoretical performance metrics.

  2. OS Releases/Configurations for Network Performance: Torizon OS is designed to be versatile and can be optimized for different use cases, including high-performance networking. While TorizonCore provides a solid base, performance tuning for specific applications like high-throughput WiFi or Ethernet can involve adjusting kernel parameters, network stack configurations, and ensuring you’re using the latest drivers and firmware for your WiFi module. For routing and network traffic optimization, consider exploring kernel parameters related to networking, such as TCP window sizes and queue lengths. However, there isn’t a specific Torizon OS release focused solely on network performance; optimizations would generally be done at the application and system configuration level.

  3. Device Connectivity Variations: The difference in WiFi performance between mobile devices and laptops could be attributed to several factors, including differences in WiFi hardware capabilities, antenna design, and power management settings. Mobile devices are often optimized for efficient and robust WiFi connectivity, which might not be the case for all laptops. To mitigate this, ensure that the WiFi AP configuration is optimized for the broadest compatibility, including channel selection, bandwidth settings, and avoiding crowded WiFi channels.

For improving your current setup, consider the following steps:

  • Ensure that the WiFi driver and firmware for the module used with the Verdin AM62 are up to date.
  • Experiment with different hostapd configurations, focusing on parameters that can impact performance, such as HT/VHT capabilities, channel widths, and transmit power.
  • Analyze the environment for interference from other wireless devices and try to minimize it.
  • Use tools like iw and iwconfig to monitor the WiFi connection’s quality and adjust your setup accordingly.

Please, also check if these links can help you solve your problem:

Verdin AM62 | Toradex Developer Center.

In the meantime we have done several things:

  • We did some tests on a Dahlia board with the Verdin iMX8M Plus. There the NetworkManager approach was working and we were able to get 80Mbps (internetspeed test) over wifi. We could see the wifi was connected over 802.11n (144Mbps/144Mbps)
  • We saw the AM62 was using 802.11g with the hostapd approach and we adjusted the hostapd.conf file with the settings for 802.11n. On the iMX8M Plus we got the same performance as with the NetworkManager setup.
  • When moving to the AM62 we use the same adjusted hostapd.conf file and we saw the wifi was now also on 802.11n but only on 72Mbps/72Mbps. Also the wifi connection is very unstable and drops away constantly. This is also happening when using 802.11g on AM62

So currently we see a big stability difference between AM62 and iMX8M Plus . Als performance wise there are big differences.

Below is the hostapd.conf file that we’re currenlty using:

# Basic configuration
interface=uap0
#driver=nl80211
ssid=Tori_Wifi_UAP_n
hw_mode=g
channel=6  # Choose a channel that can support HT40

# Enable 802.11n
ieee80211n=1
wmm_enabled=1

# 802.11n Configuration
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][RX-STBC1]

# Security settings
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

# WPA Passphrase
wpa_passphrase=Pwd12345

We’ve started from a clean install with OS pairing and followed these steps:

First we would like to tackle these stability issues.
Any advice on this?

Kind regards,

Gerrit

Hello @Gerrit,

Thanks for the question and for sharing these results from your tests.
I am checking internally to see if we have any performance benchmarking for WiFi AP mode for verdin AM62.
Just to be clear about the tests you performed, you created an AP (with speed 144Mbps) on Verdin iMX8MP using NetworkManager and the clients were connected at a speed of 80 Mbps. On AM62, you modified the hostapd.conf file to use 802.11n and found it has a speed of only 72Mbps. However, on Verdin iMX8MP it performs the same way with both hostapd and NetworkManager approach. Is that correct?

Hi Rudhi

Thanks for your feedback.

In the overview below you can see the numbers we’ve put together. The 144Mbps/144Mbps are the theoretical numbers put forward by windows (see capture)

You can see on the iMX8M Plus we’re able to get connected on 802.11n with 144Mbps/144Mbps and the connection is stable.
On the AM62 the NetworkManager approach is not working and the hostapd 802.11g and n approach is not stable

Regards,

Gerrit

Any updates on this?

Regards,

Gerrit

Hello @Gerrit,

Thanks for providing us with the results of your extensive tests. For now, we could only confirm that our tests on Verdin AM62 are in line with your tests. Setting up the AP in 5GHz would improve things slightly. Have you tried that already? We are still working on getting information on this behavior.

Hi @rudhi.tx

Thanks for the feedback. I assume you mean that your findings align with my tests?
Module selection is currently ongoing and we prefer (need) the AM62 due to it’s large amount of IO.

I know it’s hard to give a time estimate for a solution but maybe you can share how high this is on the priority list internally? This is most of the time a good time indicator.

Regards,
Gerrit

Hi @Gerrit,

Sorry for the typo. This is indeed what I meant!

I understand your concern. Let me try to give you a timeline or a solution at the earliest. I will get back to you soon on this.

1 Like