From: Dan Williams <dcbw@redhat.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Johannes Berg <johannes.berg@intel.com>,
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: Fri, 05 Dec 2014 09:17:24 -0600 [thread overview]
Message-ID: <1417792644.2352.2.camel@dcbw.local> (raw)
In-Reply-To: <955277702.20141205105522@eikelenboom.it>
On Fri, 2014-12-05 at 10:55 +0100, Sander Eikelenboom wrote:
> Hi Johannes,
>
> I'm trying to use an Intel Corporation Centrino Advanced-N 6235 (rev 24) with
> openwrt and hostapd to provide router functionality.
> That all works fine, except that it at max accepts 12 wireless clients.
> I have tried a few kernels (including 3.18-rc7) and versions of openwrt
> (including trunk) already, but all to no avail.
>
> So i'm wondering is there a hardware limitation of stations that can connect to
> this mini-pci card in ap-mode ?
>
> [ 10.621530] iwlwifi 0000:00:05.0: loaded firmware version 18.168.6.1 op_mode iwldvm
> [ 10.621546] iwlwifi 0000:00:05.0: CONFIG_IWLWIFI_DEBUG enabled
> [ 10.621548] iwlwifi 0000:00:05.0: CONFIG_IWLWIFI_DEBUGFS enabled
> [ 10.621549] iwlwifi 0000:00:05.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
> [ 10.621550] iwlwifi 0000:00:05.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
> [ 10.621976] iwlwifi 0000:00:05.0: L1 Disabled - LTR Disabled
> [ 10.640696] cfg80211: Ignoring regulatory request set by core since the driver uses its own custom regulatory domain
> [ 10.640832] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
> ...
> [ 10.654858] lib80211: common routines for IEEE802.11 drivers
> [ 10.654859] lib80211_crypt: registered algorithm 'NULL'
> [ 10.654864] lib80211_crypt: registered algorithm 'WEP'
> [ 10.654866] lib80211_crypt: registered algorithm 'CCMP'
> [ 10.654869] lib80211_crypt: registered algorithm 'TKIP'
> ..
> [ 31.016196] cfg80211: Calling CRDA to update world regulatory domain
> [ 32.253288] iwlwifi 0000:00:05.0: L1 Disabled - LTR Disabled
> [ 32.364036] iwlwifi 0000:00:05.0: Radio type=0x2-0x1-0x0
> [ 33.008507] iwlwifi 0000:00:05.0: L1 Disabled - LTR Disabled
> [ 33.116331] iwlwifi 0000:00:05.0: Radio type=0x2-0x1-0x0
>
>
> 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
>
> The firmware seems to be the latest available for download.
>
> If this isn't a hardware limitation, could you give a pointer to the debug
> values to use so i can get the debug output you would be interested in ?
You might be running into:
dvm/commands.h:#define IWLAGN_STATION_COUNT 16
I think a couple of those slots are used for book-keeping stuff, which
might be why you run out of them at 12. Johannes or Emmanuel would know
more though.
Dan
> 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).
>
> --
> Sander
>
>
> lspci:
>
> 00:05.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
> Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
> Physical Slot: 5
> Flags: bus master, fast devsel, latency 0, IRQ 70
> Memory at f3090000 (64-bit, non-prefetchable) [size=8K]
> Capabilities: [c8] Power Management version 3
> Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [e0] Express Endpoint, MSI 00
> Kernel driver in use: iwlwifi
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-05 15:17 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 [this message]
2014-12-06 8:18 ` Johannes Berg
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=1417792644.2352.2.camel@dcbw.local \
--to=dcbw@redhat.com \
--cc=ilw@linux.intel.com \
--cc=johannes.berg@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).