add comments for setting packet cmd attr