'Process the Dot11 packets and verifiy it is a valid
eapol frames in a 80211 fourway handshake
:param self: Handshakeverify object
:param packet: A scapy.layers.RadioTap object
:type self: Handshakeverify
:type packet: scapy.layers.RadioTap
:return: empty list
:rtype: list
..note: In this extension we don\'t need to send the packets
to the extension manager.'

def get_packet(self, packet):

    if (self._is_first and self._data.args.handshake_capture):
        pkts = dot11.rdpcap(self._data.args.handshake_capture)
        for pkt in pkts:
            if self.is_valid_handshake_frame(pkt):
                self._eapols.append(pkt)
        self._is_first = False
    if (self._is_done != DONE):
        if self.is_valid_handshake_frame(packet):
            self._eapols.append(packet)
    num_of_frames = len(self._eapols)
    for index in range(num_of_frames):
        if ((num_of_frames - index) > 3):
            ap_bssid = self._data.target_ap_bssid
            msg1 = self._eapols[index]
            msg2 = self._eapols[(index + 1)]
            msg3 = self._eapols[(index + 2)]
            msg4 = self._eapols[(index + 3)]
            if ((msg1.addr2 == ap_bssid) and (msg3.addr2 == ap_bssid) and (msg2.addr1 == ap_bssid) and (msg4.addr1 == ap_bssid)):
                self._is_captured = True
        else:
            break
    return [['*'], []]
