linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Intel Linux Wireless <ilw@linux.intel.com>,
	linux-wireless@vger.kernel.org
Subject: Re: iwlwifi 6235 AGN: hardware limitation on number of stations that can connect in ap mode ?
Date: Sat, 06 Dec 2014 09:18:41 +0100	[thread overview]
Message-ID: <1417853921.2046.1.camel@sipsolutions.net> (raw)
In-Reply-To: <955277702.20141205105522@eikelenboom.it> (sfid-20141205_110059_932860_1A930067)

Hi Sander,

> So i'm wondering is there a hardware limitation of stations that can connect to 
> this mini-pci card in ap-mode ?

Yes, there's a hardware/firmware limitation of 16 "station entries".

> the first clients connect perfectly well but after 12 client have connected, for 
> the 13th i get:
> 
> [  784.301106] wlan0: Allocated STA 00:0d:f0:2e:ee:02
> [  784.301117] wlan0: moving STA 00:0d:f0:2e:ee:02 to state 2
> [  784.301122] wlan0: moving STA 00:0d:f0:2e:ee:02 to state 3
> [  784.301141] iwlwifi 0000:00:05.0: Unable to prepare station 00:0d:f0:2e:ee:02 for addition
> [  784.481399] iwlwifi 0000:00:05.0: Unable to add station 00:0d:f0:2e:ee:02 (-22)
> [  784.647835] wlan0: Destroyed STA 00:0d:f0:2e:ee:02
> [  785.828588] wlan0: Allocated STA 00:0d:f0:2e:ee:02
> [  785.828600] wlan0: moving STA 00:0d:f0:2e:ee:02 to state 2
> [  785.828605] wlan0: moving STA 00:0d:f0:2e:ee:02 to state 3
> [  785.828624] iwlwifi 0000:00:05.0: Unable to prepare station 00:0d:f0:2e:ee:02 for addition
> [  786.044379] iwlwifi 0000:00:05.0: Unable to add station 00:0d:f0:2e:ee:02 (-22)
> [  786.219632] wlan0: Destroyed STA 00:0d:f0:2e:ee:02

Right. I'm not exactly sure why we put -EINVAL rather than -ENOSPC or
something like that, but this is a limitation.

> If it is a hardware limitation, are there any other intel mini-pci adapters that 
> don't have this hardware limitation (or at least a highter one).

With the newer 7260/7265 adapters you might be able to go up to 14 or 15
stations (I haven't checked exactly), but that's not a significant
increase - the fundamental limit of 16 station entries is still there
and at least one is needed for internal tracking for multi-/broadcast
transmit transmit (and another one might be reserved for P2P on those
devices, and I might be forgetting another one perhaps which would mean
13 is the max)

I don't believe that the driver (or even firmware) would be able to work
around this.

johannes


  parent reply	other threads:[~2014-12-06  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05  9:55 iwlwifi 6235 AGN: hardware limitation on number of stations that can connect in ap mode ? Sander Eikelenboom
2014-12-05 15:17 ` Dan Williams
2014-12-06  8:18 ` Johannes Berg [this message]
2014-12-09 10:26   ` Sander Eikelenboom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417853921.2046.1.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=ilw@linux.intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linux@eikelenboom.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).