SUBCMDSHIFT
switch ((q1cmd & ~SUBCMDMASK) >> SUBCMDSHIFT) {
#define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK))