How can I limit the WiFi-data-rate?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
StKi_2157971
Level 3
Level 3
First like received

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

Console app

> set_data_rate 11

> get_data_rate

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

0 Likes
1 Solution
Anonymous
Not applicable

Actually the 43362 does not support SGI (Short Guard Interval), and the max data rate at MCS7 is 65Mbit/s

View solution in original post

0 Likes
8 Replies
Anonymous
Not applicable

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?

0 Likes

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?

0 Likes
Anonymous
Not applicable

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.

nmode 0

gmode 0

You should add APIs for them.

It affects other STAs connect with the AP.

Also power consumption will be increased.

Please consider carefully.

0 Likes

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.

Steve

0 Likes
Anonymous
Not applicable

Hi,

Please advise what is the highest data rate and max distance for WICED connection?

Thank you.

0 Likes
Anonymous
Not applicable

The highest data rate is 72.2Mbps for BCM43362.

Distance depends on the environment. It may be ~100m.

0 Likes
Anonymous
Not applicable

Actually the 43362 does not support SGI (Short Guard Interval), and the max data rate at MCS7 is 65Mbit/s

0 Likes
Anonymous
Not applicable

Thank you for correcting and sorry for my mistake.

0 Likes