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.
Please advise what is the highest data rate and max distance for WICED connection?
The highest data rate is 72.2Mbps for BCM43362.
Distance depends on the environment. It may be ~100m.
Actually the 43362 does not support SGI (Short Guard Interval), and the max data rate at MCS7 is 65Mbit/s
Thank you for correcting and sorry for my mistake.