2018-07-27 14:57:31

by Ben Greear

[permalink] [raw]
Subject: ath9k and 16 VAP interfaces?

Hello,

Has anyone tried making ath9k able to support 16 vAP interfaces on a single
radio? I seem to recall that there were limitations regarding beacon
timers and such, and that is why the current limit is 8?

Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com


2018-07-30 21:41:29

by Tom Psyborg

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

this is how i enabled it on htc target:
https://github.com/torvalds/linux/pull/574

On 30 July 2018 at 16:34, Ben Greear <[email protected]> wrote:

>
>
> On 07/30/2018 04:13 AM, Matthias May wrote:
>
>> On 30/07/18 11:40, [email protected] wrote:
>>
>>> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>>>
>>> I'm running a patched ath9k to have hostapd run >8 BSS on a single radio.
>>> It works fine since years.
>>>
>>
> Yes, I'd love to see any patches you can share on this as well.
>
> Thanks,
> Ben
>
>
>
>>> Regards,
>>> M. Braun
>>>
>>>
>>> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear <
>>> [email protected]>:
>>>
>>>> Hello,
>>>>
>>>> Has anyone tried making ath9k able to support 16 vAP interfaces on a
>>>> single
>>>> radio? I seem to recall that there were limitations regarding beacon
>>>> timers and such, and that is why the current limit is 8?
>>>>
>>>> Thanks,
>>>> Ben
>>>>
>>>> --
>>>> Ben Greear <[email protected]>
>>>> Candela Technologies Inc http://www.candelatech.com
>>>>
>>>
>>>
>> Are these patches available somewhere?
>> I'm interested to play with them :)
>>
>> BR
>> Matthias
>>
>>
> --
> Ben Greear <[email protected]>
> Candela Technologies Inc http://www.candelatech.com
>

2018-07-29 15:58:45

by Tom Psyborg

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

some people claim it is hardware limit

On 27 July 2018 at 15:35, Ben Greear <[email protected]> wrote:

> Hello,
>
> Has anyone tried making ath9k able to support 16 vAP interfaces on a single
> radio? I seem to recall that there were limitations regarding beacon
> timers and such, and that is why the current limit is 8?
>
> Thanks,
> Ben
>
> --
> Ben Greear <[email protected]>
> Candela Technologies Inc http://www.candelatech.com
>

2018-07-31 09:24:23

by Sebastian Gottschall

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

for standard ath9k. (non htc) the following is just enough

Index: init.c
===================================================================
--- init.c      (revision 4145)
+++ init.c      (working copy)
@@ -735,7 +735,7 @@

 static const struct ieee80211_iface_limit if_limits[] = {
        { .max = 2048,  .types = BIT(NL80211_IFTYPE_STATION) },
-       { .max = 8,     .types =
+       { .max = 16,    .types =
 #ifdef CPTCFG_MAC80211_MESH
                                 BIT(NL80211_IFTYPE_MESH_POINT) |
 #endif



but for sure i havent tested it


Am 30.07.2018 um 22:04 schrieb Tom Psyborg:
> this is how i enabled it on htc target:
> https://github.com/torvalds/linux/pull/574
>
> On 30 July 2018 at 16:34, Ben Greear <[email protected]
> <mailto:[email protected]>> wrote:
>
>
>
> On 07/30/2018 04:13 AM, Matthias May wrote:
>
> On 30/07/18 11:40, [email protected]
> <mailto:[email protected]> wrote:
>
> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>
> I'm running a patched ath9k to have hostapd run >8 BSS on
> a single radio.
> It works fine since years.
>
>
> Yes, I'd love to see any patches you can share on this as well.
>
> Thanks,
> Ben
>
>
>
> Regards,
> M. Braun
>
>
> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear
> <[email protected] <mailto:[email protected]>>:
>
> Hello,
>
> Has anyone tried making ath9k able to support 16 vAP
> interfaces on a
> single
> radio?  I seem to recall that there were limitations
> regarding beacon
> timers and such, and that is why the current limit is 8?
>
> Thanks,
> Ben
>
> --
> Ben Greear <[email protected]
> <mailto:[email protected]>>
> Candela Technologies Inc http://www.candelatech.com
>
>
>
> Are these patches available somewhere?
> I'm interested to play with them :)
>
> BR
> Matthias
>
>
> --
> Ben Greear <[email protected] <mailto:[email protected]>>
> Candela Technologies Inc http://www.candelatech.com
>
>

2018-07-30 11:27:03

by michael-dev

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

Do you mean AP interfaces as required for multiple BSS/SSIDs?

I'm running a patched ath9k to have hostapd run >8 BSS on a single radio.
It works fine since years.

Regards,
M. Braun


Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear <[email protected]>:
>Hello,
>
>Has anyone tried making ath9k able to support 16 vAP interfaces on a
>single
>radio? I seem to recall that there were limitations regarding beacon
>timers and such, and that is why the current limit is 8?
>
>Thanks,
>Ben
>
>--
>Ben Greear <[email protected]>
>Candela Technologies Inc http://www.candelatech.com

2018-07-30 16:09:36

by Ben Greear

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?



On 07/30/2018 04:13 AM, Matthias May wrote:
> On 30/07/18 11:40, [email protected] wrote:
>> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>>
>> I'm running a patched ath9k to have hostapd run >8 BSS on a single radio.
>> It works fine since years.

Yes, I'd love to see any patches you can share on this as well.

Thanks,
Ben

>>
>> Regards,
>> M. Braun
>>
>>
>> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear <[email protected]>:
>>> Hello,
>>>
>>> Has anyone tried making ath9k able to support 16 vAP interfaces on a
>>> single
>>> radio? I seem to recall that there were limitations regarding beacon
>>> timers and such, and that is why the current limit is 8?
>>>
>>> Thanks,
>>> Ben
>>>
>>> --
>>> Ben Greear <[email protected]>
>>> Candela Technologies Inc http://www.candelatech.com
>>
>
> Are these patches available somewhere?
> I'm interested to play with them :)
>
> BR
> Matthias
>

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

2018-07-30 12:58:04

by Matthias May

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

On 30/07/18 11:40, [email protected] wrote:
> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>
> I'm running a patched ath9k to have hostapd run >8 BSS on a single radio.
> It works fine since years.
>
> Regards,
> M. Braun
>
>
> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear <[email protected]>:
>> Hello,
>>
>> Has anyone tried making ath9k able to support 16 vAP interfaces on a
>> single
>> radio? I seem to recall that there were limitations regarding beacon
>> timers and such, and that is why the current limit is 8?
>>
>> Thanks,
>> Ben
>>
>> --
>> Ben Greear <[email protected]>
>> Candela Technologies Inc http://www.candelatech.com
>

Are these patches available somewhere?
I'm interested to play with them :)

BR
Matthias

2018-08-05 20:30:41

by michael-dev

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

Hi,

I'm using [1]. I was seeing some trouble with powersave + broadcasts, so
I added [2], so that the queue would get empty faster.

Regards,
M. Braun


[1]
http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/911-more-ap-interfaces.patch;h=873a6cb7bdb8a7462ffd07c1a50fc87c580f223d;hb=refs/heads/femwlan_stage2.kernel4.9
[2]
http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/915-use-more-time-for-multicast.patch;h=05d7fb6c2567e1abdef63a4d01f02df7f8501630;hb=refs/heads/femwlan_stage2.kernel4.9
Am 30.07.2018 16:34, schrieb Ben Greear:
> On 07/30/2018 04:13 AM, Matthias May wrote:
>> On 30/07/18 11:40, [email protected] wrote:
>>> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>>>
>>> I'm running a patched ath9k to have hostapd run >8 BSS on a single
>>> radio.
>>> It works fine since years.
>
> Yes, I'd love to see any patches you can share on this as well.
>
> Thanks,
> Ben
>
>>>
>>> Regards,
>>> M. Braun
>>>
>>>
>>> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear
>>> <[email protected]>:
>>>> Hello,
>>>>
>>>> Has anyone tried making ath9k able to support 16 vAP interfaces on a
>>>> single
>>>> radio? I seem to recall that there were limitations regarding
>>>> beacon
>>>> timers and such, and that is why the current limit is 8?
>>>>
>>>> Thanks,
>>>> Ben
>>>>
>>>> --
>>>> Ben Greear <[email protected]>
>>>> Candela Technologies Inc http://www.candelatech.com
>>>
>>
>> Are these patches available somewhere?
>> I'm interested to play with them :)
>>
>> BR
>> Matthias
>>

2018-10-04 17:08:59

by Ben Greear

[permalink] [raw]
Subject: Re: ath9k and 16 VAP interfaces?

Hello,

I'm finally getting around to trying this.

One thing, the second patch won't compile due to missing ath9k_set_moredata method.

I see it is implemented here:

http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/310-ath9k-fix-moredata-bit-in-PS-buffered-frame-release.patch;h=b2a74ccbacb29115bede4806006f3265f54cb31c;hb=refs/heads/femwlan_stage2.kernel4.9

I guess I should apply this one...maybe more?

Any idea if any of these patches should be submitted upstream?

Thanks,
Ben

On 08/05/2018 11:18 AM, michael-dev wrote:
> Hi,
>
> I'm using [1]. I was seeing some trouble with powersave + broadcasts, so I added [2], so that the queue would get empty faster.
>
> Regards,
> M. Braun
>
>
> [1]
> http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/911-more-ap-interfaces.patch;h=873a6cb7bdb8a7462ffd07c1a50fc87c580f223d;hb=refs/heads/femwlan_stage2.kernel4.9
>
> [2]
> http://git.fem.tu-ilmenau.de/?p=fem-wlan.git;a=blob;f=package/kernel/mac80211/patches/915-use-more-time-for-multicast.patch;h=05d7fb6c2567e1abdef63a4d01f02df7f8501630;hb=refs/heads/femwlan_stage2.kernel4.9
>
> Am 30.07.2018 16:34, schrieb Ben Greear:
>> On 07/30/2018 04:13 AM, Matthias May wrote:
>>> On 30/07/18 11:40, [email protected] wrote:
>>>> Do you mean AP interfaces as required for multiple BSS/SSIDs?
>>>>
>>>> I'm running a patched ath9k to have hostapd run >8 BSS on a single radio.
>>>> It works fine since years.
>>
>> Yes, I'd love to see any patches you can share on this as well.
>>
>> Thanks,
>> Ben
>>
>>>>
>>>> Regards,
>>>> M. Braun
>>>>
>>>>
>>>> Am 27. Juli 2018 15:35:28 MESZ schrieb Ben Greear <[email protected]>:
>>>>> Hello,
>>>>>
>>>>> Has anyone tried making ath9k able to support 16 vAP interfaces on a
>>>>> single
>>>>> radio? I seem to recall that there were limitations regarding beacon
>>>>> timers and such, and that is why the current limit is 8?
>>>>>
>>>>> Thanks,
>>>>> Ben
>>>>>
>>>>> --
>>>>> Ben Greear <[email protected]>
>>>>> Candela Technologies Inc http://www.candelatech.com
>>>>
>>>
>>> Are these patches available somewhere?
>>> I'm interested to play with them :)
>>>
>>> BR
>>> Matthias
>>>
>


--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com