For that you need to filter using localnet. So for example localnet:10.1.0.0/24.
Then your usual actions are available on AP or MX where you want to use the traffic shaping. So you can use bandwidth limit (obey, ignore, set limit) which is per flow. And of course setting the priority and DSCP values. On wireless you can also set the PCP which selects the WMM queue.