wpi_cmd_data_t
wpi_cmd_data_t *tx;
tx = (wpi_cmd_data_t *)cmd->data;
roundup(4 + sizeof (wpi_cmd_data_t) + hdrlen, 4));