Feature Request: Queues based on airtime vs bandwidth

This seems to be pretty complex, but I would like to know how feasible it is:

Somehow make it possible to have queues be aware of the bandwidth capabilities of a link (wifi association) and let them be expressed as percentages of the capacity of a link rather than raw throughput values … ie … if a 11Mbps client is limited to 1Mbps, if their association were to drop to 5.5Mbps, then lower their limit to 500kbps, etc.

It would be extra great if this would be aware of the asymmetrical nature of links, so that it would accurately adjust limits when a 11Mbps/11Mbps client changed to 5.5Mbps/2Mbps.