How I can change the maximum number of STAs in SDK?

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

cross mob
SuLe_1710756
Level 5
Level 5
10 likes received First like received First like given

Hi Jason,

As you said before, the 43362 softAP supports 5 clients.

If customers wants to limit the maximum number of clients, then what should be changed in SDK 2.2.1?

thank you,

smlee

0 Likes
7 Replies
Anonymous
Not applicable
To satisfy my curiosity, why do you need to do this?

Do you need to dynamically limit the number of clients?

Or do you need to limit the number for the entire life of the app?

I am looking into how to do this.
0 Likes
SuLe_1710756
Level 5
Level 5
10 likes received First like received First like given
Hi Jason,

Customer wants to limit the number for the entire life of the app. I am not sure whether wifi driver should be fixed or others to do this.

thank you,

smlee
0 Likes
Anonymous
Not applicable
There is an IOVAR available to limit the number of clients.

We are currently trying to make it work.
0 Likes
Anonymous
Not applicable

Hi, I use WICED 2.4.0 and I need limit number of clients to 2. How to do this? Which IOVAR should I use and how?

0 Likes
Anonymous
Not applicable

There is no API to limit clients yet.

A sneaky way to do this might be to limit the number of IP addresses the DHCP gives out?

Sure the third client can connect, but it can't get an IP address which makes the connection essentially useless.

0 Likes
Anonymous
Not applicable

Thx for quick response.

What about "bss_maxassoc" and "maxassoc"? I found it in mfg_test. I know that API doesn't exist but maybe is othear way to inject number of client limitation?

I added

    "bss_maxassoc=2"                                        "\x00"
    "maxassoc=2"                                            "\x00"

to Wiced/Platform/BCM9WCDUSI09/wifi_nvram_image.h and run but without effect.

0 Likes
Anonymous
Not applicable

These are not NVRAM parameter.

You should add APIs for them as iovars.

0 Likes