2013-11-19 11:39:26

by Gustavo Azambuja

[permalink] [raw]
Subject: Re: NL80211_CMD_NEW_STATION result: -105 (No buffer space available)

Thank,
you know where i can find one list of devices (usb dongle) with more
ram, or without this limit (I need provide Internet at less to 30
stations)?

Another question, how I can find this limit in others dongles? (some
command to know this limit)

On Tue, Nov 19, 2013 at 7:25 AM, Gustavo Azambuja
<[email protected]> wrote:
> Thank,
> you know where i can find one list of devices (usb dongle) with more ram, or
> without this limit (I need provide Internet at less to 30 stations)?
>
> Gustavo Azambuja
>
> El nov 19, 2013 2:12 a.m., "Thomas Pedersen" <[email protected]> escribió:
>
>> Hi Gustavo,
>>
>> On Mon, Nov 18, 2013 at 6:20 PM, Gustavo Azambuja
>> <[email protected]> wrote:
>> > Hi, I recently installed in my raspberry pi Raspbian with hostapd 1.0, I
>> > want to make my own Hotspot, but follow all tutorials, I can only get up
>> > to
>> > 6 stations connected at the same time.
>> >
>> > The next error apper with the #7 client try to connect:
>> > *NL80211_CMD_NEW_STATION result: -105 (No buffer space available)*
>> >
>> > How I can resize this and make more clients can connect to my device?
>> >
>> > Im using TL-WN722N dongle.
>>
>> That devices contains an AR9271, which uses the ath9k_htc driver. The
>> number of stations you can maintain is limited by the device RAM.
>> Luckily the AR9271 firmware is now GPL [1] so you can hack on this
>> yourself I'm not quite sure what the upper limit is, but we've raised
>> it to 16 without seeing any obvious breakage.
>>
>> Try modifying ATH9K_HTC_MAX_STA in the ath9k_htc driver and
>> ATH_NODE_MAX [2] in the firmware.
>>
>> [1] https://github.com/qca/open-ath9k-htc-firmware
>> [2]
>> https://github.com/qca/open-ath9k-htc-firmware/blob/master/target_firmware/wlan/include/wlan_hdr.h#L99
>>
>> --
>> Thomas


2013-11-20 15:22:54

by Gustavo Azambuja

[permalink] [raw]
Subject: Re: NL80211_CMD_NEW_STATION result: -105 (No buffer space available)

Thanks Thomas, but is not an option using a "real" AP... I realy need
to make my own (I need access to MAC address of connected devices and
use the monitor mode at the same time).

You have some link to steps to "upgrade/install" the modify version of
frimware in my device (TL-WN722N) ?

This is one or two step ahead of my confort zone :)




On Tue, Nov 19, 2013 at 5:15 PM, Thomas Pedersen <[email protected]> wrote:
> On Tue, Nov 19, 2013 at 3:39 AM, Gustavo Azambuja
> <[email protected]> wrote:
>> Thank,
>> you know where i can find one list of devices (usb dongle) with more
>> ram, or without this limit (I need provide Internet at less to 30
>> stations)?
>
> No. But a "real" AP would be cheaper and much more perfomant anyway.
> Something like the TP-LINK WR841n can be had for about $20.
>
> Nothing stopping you from setting HTC_MAX_STA to 30 and seeing what
> happens either!
>
> --
> Thomas

2013-11-20 19:45:28

by Thomas Pedersen

[permalink] [raw]
Subject: Re: NL80211_CMD_NEW_STATION result: -105 (No buffer space available)

On Wed, Nov 20, 2013 at 7:22 AM, Gustavo Azambuja
<[email protected]> wrote:
> Thanks Thomas, but is not an option using a "real" AP... I realy need
> to make my own (I need access to MAC address of connected devices and
> use the monitor mode at the same time).

The device I mentioned earlier is fully supported by openwrt, which
gives you a standard linux environment on your router.

--
Thomas

2013-11-19 19:16:05

by Thomas Pedersen

[permalink] [raw]
Subject: Re: NL80211_CMD_NEW_STATION result: -105 (No buffer space available)

On Tue, Nov 19, 2013 at 3:39 AM, Gustavo Azambuja
<[email protected]> wrote:
> Thank,
> you know where i can find one list of devices (usb dongle) with more
> ram, or without this limit (I need provide Internet at less to 30
> stations)?

No. But a "real" AP would be cheaper and much more perfomant anyway.
Something like the TP-LINK WR841n can be had for about $20.

Nothing stopping you from setting HTC_MAX_STA to 30 and seeing what
happens either!

--
Thomas