def strip_qos_cntrl(self, idx, prot_type):
qos_cntrl, = struct.unpack('<STR_LIT:H>', self._packet[idx:idx + <NUM_LIT:2>])<EOL>qos_cntrl_bits = format(qos_cntrl, '<STR_LIT>')[::-<NUM_LIT:1>]<EOL>qos_pri = qos_cntrl & <NUM_LIT><EOL>qos_bit = int(qos_cntrl_bits[<NUM_LIT:5>])<EOL>qos_ack = int(qos_cntrl_bits[<NUM_LIT:6>:<NUM_LIT:8>], <NUM_LIT:2>)<EOL>amsdupresent = <NUM_LIT:0><EOL>if prot_type == '<STR_LIT>':<EOL><INDENT>amsdupresent = int(qos_cntrl_bits[<NUM_LIT:7>])<EOL><DEDENT>return <NUM_LIT:2>, qos_pri, qos_bit, qos_ack, amsdupresent<EOL>
strip(2 byte) wlan.qos
        :idx: int
        :prot_type: string
            802.11 protocol type(.11ac, .11a, .11n, etc)
        :return: int
            number of processed bytes
        :return: int
            qos priority
        :return: int
            qos bit
        :return: int
            qos acknowledgement
        :return: int
            amsdupresent(aggregated mac service data unit)