openwisp / OpenWISP-Manager

The OpenWISP Manager is a RoR web GUI for configuring OpenWISP firmware-based access points.
36 stars 33 forks source link

Traffic shaping won't work for mac80211 #17

Closed dguerri closed 11 years ago

dguerri commented 12 years ago

Traffic shaping currently works only for madwifi-ng.

The main problem for porting L2 traffic shaping to mac80211 is the absence of a "master" device that can be used to shape/control the aggregate traffic from VAPs.

The master device for madwifi-ng is assimilable to a VLAN(s) master interface. Without it, it is impossible to shape aggregated traffic and so it is impossible to implement a "borrowing" mechanism of band from other VAPs when they aren't using all their reserved bandwidth (a cool feature of the HTB queue discipline of Linux TC).

IMO the only shaping we can perform here is very limited with respect to the one we implemented for the madwifi-ng driver.

AndreaFerraresi commented 11 years ago

trying to solve with another script submitted by @eballarini a couple of days ago i will keep you informed guys

dguerri commented 11 years ago

@eballarini @spawnazzo could you make a gist with that so we can discuss it here?

AndreaFerraresi commented 11 years ago

i will prepare it next week

Andrea Ferraresi

On 19/mar/2013, at 09:41, Davide Guerri notifications@github.com wrote:

@eballarini @spawnazzo could you make a gist with that so we can discuss it here.

— Reply to this email directly or view it on GitHub.

dguerri commented 11 years ago

Need a test. @spawnazzo ?

AndreaFerraresi commented 11 years ago

I'm ready but the testbed is broken after the update as i write on ML any news?

dguerri commented 11 years ago

Feel free to fix it anytime :)