'Listening thread. Listens for packets and forwards them
to _process_packet.
:param self: An ExtensionManager object
:type self: ExtensionManager
:return: None
:rtype: None'

def _listen(self):

    while self._should_continue:
        dot11.sniff(iface=self._interface, prn=self._process_packet, count=1, store=0, stop_filter=self._stopfilter)
