Home
last modified time | relevance | path

Searched refs:event_packet (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h357 struct brcmf_event *event_packet,
365 struct brcmf_event *event_packet; in brcmf_fweh_process_skb() local
372 if ((skb->len + ETH_HLEN) < sizeof(*event_packet)) in brcmf_fweh_process_skb()
375 event_packet = (struct brcmf_event *)skb_mac_header(skb); in brcmf_fweh_process_skb()
379 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
385 if (memcmp(BRCM_OUI, &event_packet->hdr.oui[0], in brcmf_fweh_process_skb()
386 sizeof(event_packet->hdr.oui))) in brcmf_fweh_process_skb()
390 usr_stype = get_unaligned_be16(&event_packet->hdr.usr_subtype); in brcmf_fweh_process_skb()
394 brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN, gfp); in brcmf_fweh_process_skb()
H A Dfweh.c471 struct brcmf_event *event_packet, in brcmf_fweh_process_event() argument
481 fwevt_idx = get_unaligned_be32(&event_packet->msg.event_type); in brcmf_fweh_process_event()
482 datalen = get_unaligned_be32(&event_packet->msg.datalen); in brcmf_fweh_process_event()
483 data = &event_packet[1]; in brcmf_fweh_process_event()
492 datalen + sizeof(*event_packet) > packet_len) in brcmf_fweh_process_event()
501 event->ifidx = event_packet->msg.ifidx; in brcmf_fweh_process_event()
504 memcpy(&event->emsg, &event_packet->msg, sizeof(event->emsg)); in brcmf_fweh_process_event()
506 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()