def __init__(self, frame, no_rtap=False, parse_amsdu=True):
Data.__init__(self, frame, no_rtap)<EOL>idx = <NUM_LIT:0><EOL>self.sa = self.ta = self.ra = self.da = None<EOL>self.seq_num = self.frag_num = None<EOL>self.qos_pri = self.qos_bit = self.qos_ack = None<EOL>self.ccmp_extiv = None<EOL>self.payload = []<EOL>seq_idx, qos_idx, self.sa, self.ta, self.ra, self.da, _ = self.strip_mac_addrs()<EOL>self.seq_num, self.frag_num = self.strip_seq_cntrl(seq_idx)<EOL>idx = qos_idx<EOL>incr, self.qos_pri, self.qos_bit, self.qos_ack, self.amsdupresent =self.strip_qos_cntrl(idx, self.radiotap.prot_type)<EOL>idx += incr<EOL>if self.wep == <NUM_LIT:1>:<EOL><INDENT>incr, self.ccmp_extiv = self.strip_ccmp(idx)<EOL>idx += incr<EOL><DEDENT>if parse_amsdu:<EOL><INDENT>if self.amsdupresent != <NUM_LIT:0> and self.wep == <NUM_LIT:0>:<EOL><INDENT>while idx < len(self._packet):<EOL><INDENT>msdu, offset = self.strip_msdu(idx)<EOL>self.payload.append(msdu)<EOL>idx += offset<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if self.wep == <NUM_LIT:0>:<EOL><INDENT>msdu = {}<EOL>offset, llc = self.strip_llc(idx)<EOL>msdu['<STR_LIT>'] = llc<EOL>msdu['<STR_LIT>'] = self._packet[idx + offset:]<EOL>self.payload.append(msdu)<EOL><DEDENT>else:<EOL><INDENT>self.payload.append({'<STR_LIT>': self._packet[idx:]})<EOL><DEDENT><DEDENT><DEDENT>
Constructor method.
        :frame: ctypes.Structure
        :parse_amsdu: Bool
            shall parse aggregated mac service data unit