Other Parts Discussed in Thread: WL18XXCOM82SDMMC
Hi support
I give you some information about our application/products.
In our application there are two devices (an hand held terminal and a receiver) that communicate in wifi between each other. In particular the 2 devices exchange some very important and critical safety traffic (UDP) and other non safety traffic (UDP, TCP/IP, HTTP, ...): monitoring data, browser, streaming video, ...
The WiFi safety traffic (each device transmits a 200 byte packet every 10 ms in UDP) must be transmitted with the highest priority, must travel as quickly as possible and must be regular and deterministic; the other non safety traffic is not critical, and must be transmitted with lower priority.
We have 2 products:
- a product already in mass production with Atheros AR9462, ath9k driver, ad hoc mode, linux 3.14.28, imx6 solo, 5 GHz frequencies.
- a new product which is currently in development: linux 4.1, imx6 dual lite, ad hoc mode or WiFi Direct mode, USB or SDIO host interface. For this product we are evaluating WL18xx.
The features that we need on both products are:
- Spectral scan, or automatic channel selection; offline search of the "best" channel. The idea is to search the best (the less congested) channel at setup/configuration time and then run the ad hoc (or WiFi Direct) modality forcing the use of the previously detected best channel.
- QoS run time monitoring functions. Our customer needs to dynamically know how the wifi communication is currently working on 3 levels: good, mean, bad. The driver should dynamically provide some information about the WiFi link quality.
- EDCA (Enhanced Distributed Channel Access). The safety packets must be transmitted with higher priority than the other WiFi traffic.
I have done some tests in a configuration in which there is only one transmitter that tranmsits 200 bytes UDP messages every 10 ms, in infrastructure mode. The test conditions are almost ideal: channel 44 which is free, the CPUs are 80% idle, the two devices are very close.
In general the WiFi communication is enough regular, but sometimes there some delays in the receiver of about 20/30 ms.
I attach 2 oscillosope pictures in which:
- the green signal is the application that regularly transmits every 10 ms
- the yellow signal is the irq (WL18xxCOM82SDMMC pin IRQ_3V3) in the transmitter
- the light blue signal is the irq (WL18xxCOM82SDMMC pin IRQ_3V3) in the receiver
My question are:
1. are these delays normal ? note that there is no other WiFi traffic on this channel.
2. Is there a way to eliminate these delays ?
3. is EDCA enabled by default ?
thanks
Marco Raiteri