If you are looking for the simple formula to convert DSCP to AF and AF to DCSP this is it.
First the easy one AF to DSCP – 8*X + 2*Y – X&Y are the single AF Values
AF32 convert to DSCP
8*3 + 2*2 = 24 + 4 = 28
So AF32=DSCP 28
To convert from DSCP to AF it is simply the opposite
DSCP to AF = x/8 + (remainder/2)
DSCP28 to AF = 28/8 = 3 remainder 4 4/2 = 2 – then just use these two numbers
So DSCP28 = AF32
As always these are just my study notes so I can find the information quickly, if reading this helps you then please comment.