[QOS] DSCP to 8021p marking using commands

Hi All,

I am trying to manipulate and set 8021p marking in layer 2 based on the DSCP value set at layer 3 on an openwrt based home gateway device for outgoing packets.
Is there any packages in openwrt or any linux system commands that will directly set the 1p value based on the set DSCP value?

Thanks in Advance