Equally share available bandwidth in a public Access Point

hello all,

is there any way to equally share all available bandwidth in a public Access Point ?
I have an accesspoint, but closer clients get 4-5 mbps and those with less signal get bytes..

how can i create a dynamic queue to share all available bandwidth (11mbps) between connected clients ?
please note that num of connected clients is a random number..


thank you in advance,

wery hard, because you dont even know maximum throuput on your AP…it depends on other networks and garbage in the air…
the only solution I discovered to work is to use pcq queing…

i know the total available bandwidth (11mbps - 802.11b)

can you give an example of this pcq queue ?

you understand what i mean…

10 users = 1.1mbps each,
20 users = 550kbps each …

you will never have full 11 mbit…
in ideal condition you will have about 6 mbit on 802.11
so if you take out real condition you will have bout 3 mbit…

plus that is how csma-media like ethernet and 802.11 are working by itself.

afaik, the users with “only bytes” are throttling down the rest too, as 802.11 is a shared media.

perhaps it makes sense to limit the maximum bandwith per user/protocol.

bye.
matthias

example of pcq:

/ip firewall mangle add in-interface=internet mark-flow=incomming
/queue type add kind=pcq pcq-classifier=dst-address name=pcq_queue
/queue tree add flow=incomming queue=pcq_queue parent=global-out max-limit=10000000 limit-at=10000000

max-limit and limit-at must have value equal to bandwidth avaliable for hotspot users

Perhaps, it is worth to limit packet count, not the datarate? (see limit parameters in firewall)