How can I limit the WiFi-data-rate?
I tested as below but it seems like that it didn't work well.
- WICED SDK 2.4.0
- Application : Apps/test/console
- Test Log
Started ThreadX v5.5
Initialising NetX v5.6
Creating Packet pools
Starting Wiced v2.4.0
WWD SDIO interface initialised
WLAN MAC Address : CC:52:AF:xx:xx:xx
> set_data_rate 11
data rate: 11 Mbps
> join DIR-636L wpa2 12345678 192.168.4.91 255.255.255.0 192.168.4.1
Joining : DIR-636L
Successfully joined : DIR-636L
IPv4 network ready IP: 192.168.4.91
But when I checked the rate in the AP(which WICED-module associated to), the rate always was 65M.
What did I do wrong?
Is it a bug or something of "apps/test/console"?
Thanks in advance, Steve
Solved! Go to Solution.
set_data_rate command changes the rate of packets sent from WICED.
It should be changed. Please check packets by sniffer.
WICED can receive packets up to 65Mbps, then the AP displays it.
set_data_rate doesn't change the rate from the AP.
Could you tell me what you want to/why you limit the rate?
My customer want to associate with 802.11b(and specific data rate) so that WiFi module can reach a longer distance.
And, it's said that 802.11b is better than 802.11g/n for IoT(which don't need high speed).
So, I want to enable my customer to choose 802.11-mode and data rate.
Is there any way to do that?
Data rate will be decreased automatically if packets unreachable.
So I think you don't need to fix WICED to 11b.
To enforce 11b mode, following iovars will work.
You should add APIs for them.
It affects other STAs connect with the AP.
Also power consumption will be increased.
Please consider carefully.
After I did as you said, WICED module worked well under 802.11b or 802.11g.
I will leave the choice(about restricting 802.11b/g/n forcibly) to my customer.
Thanks for your answer.