def strip_mac_addrs(self):
qos_idx, seq_idx = <NUM_LIT:0>, <NUM_LIT:0><EOL>sa, ta, ra, da, bssid = None, None, None, None, None<EOL>if self.to_ds == <NUM_LIT:1> and self.from_ds == <NUM_LIT:1>:<EOL><INDENT>(ra, ta, da) = struct.unpack('<STR_LIT>', self._packet[<NUM_LIT:4>:<NUM_LIT>])<EOL>sa = struct.unpack('<STR_LIT>', self._packet[<NUM_LIT>:<NUM_LIT:30>])[<NUM_LIT:0>]<EOL>qos_idx = <NUM_LIT:30><EOL>seq_idx = <NUM_LIT><EOL><DEDENT>elif self.to_ds == <NUM_LIT:0> and self.from_ds == <NUM_LIT:1>:<EOL><INDENT>(ra, ta, sa) = struct.unpack('<STR_LIT>', self._packet[<NUM_LIT:4>:<NUM_LIT>])<EOL>qos_idx = <NUM_LIT><EOL>seq_idx = <NUM_LIT><EOL><DEDENT>elif self.to_ds == <NUM_LIT:1> and self.from_ds == <NUM_LIT:0>:<EOL><INDENT>(ra, ta, da) = struct.unpack('<STR_LIT>', self._packet[<NUM_LIT:4>:<NUM_LIT>])<EOL>qos_idx = <NUM_LIT><EOL>seq_idx = <NUM_LIT><EOL><DEDENT>elif self.to_ds == <NUM_LIT:0> and self.from_ds == <NUM_LIT:0>:<EOL><INDENT>(ra, ta, bssid) = struct.unpack('<STR_LIT>', self._packet[<NUM_LIT:4>:<NUM_LIT>])<EOL>qos_idx = <NUM_LIT><EOL>seq_idx = <NUM_LIT><EOL><DEDENT>if ta is not None:<EOL><INDENT>ta = Wifi.get_mac_addr(ta)<EOL><DEDENT>if ra is not None:<EOL><INDENT>ra = Wifi.get_mac_addr(ra)<EOL><DEDENT>if sa is not None:<EOL><INDENT>sa = Wifi.get_mac_addr(sa)<EOL><DEDENT>if da is not None:<EOL><INDENT>da = Wifi.get_mac_addr(da)<EOL><DEDENT>if bssid is not None:<EOL><INDENT>bssid = Wifi.get_mac_addr(bssid)<EOL><DEDENT>return seq_idx, qos_idx, sa, ta, ra, da, bssid<EOL>
strip mac address(each 6 byte) information.
        (wlan.ta, wlan.ra, wlan.sa, wlan.da)
        (transmitter, receiver, source, destination)
        :return: int
            index of sequence control
        :return: int
            index after mac addresses
        :return: str
            source address (sa)
        :return: str
            transmitter address (ta)
        :return: str
            receiver address (ra)
        :return: str
            destination address (da)
        :return: str
            basic service sed identifier (bssid)