hotspot quato

im running CAPsMAN with 8 SSID and each SSID have the different IP Range
im usung hotspot + windows AD as radidus to authenticate all users
for one SSID i need a Script, i want to users have 200M daily usage and after that they speed change to 512Kbps
thank you in advance for your help

you must generate a script that decides with bytes-out, take the address (IP) from that record and generate the modification on the traffic queue.

im looking for that script, is there anybody can help for this script ?