How to map 802.1p pbit to queue or dscp

Hey, is it possible in openwrt to map the pbit comming ingress in the ethernet header to a traffic class queue or to dscp?

e.g. a phone sends a frame with vlan 3 and pbit 5. How to map it in the queue with the highest prio in openwrt?

Thanks in advance!

Anyone an idea?