Searched refs:event_packet (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fweh.h | 321 struct brcmf_event *event_packet, 329 struct brcmf_event *event_packet; in brcmf_fweh_process_skb() local 336 if ((skb->len + ETH_HLEN) < sizeof(*event_packet)) in brcmf_fweh_process_skb() 339 event_packet = (struct brcmf_event *)skb_mac_header(skb); in brcmf_fweh_process_skb() 343 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb() 349 if (memcmp(BRCM_OUI, &event_packet->hdr.oui[0], in brcmf_fweh_process_skb() 350 sizeof(event_packet->hdr.oui))) in brcmf_fweh_process_skb() 354 usr_stype = get_unaligned_be16(&event_packet->hdr.usr_subtype); in brcmf_fweh_process_skb() 358 brcmf_fweh_process_event(drvr, event_packet, skb->len + ETH_HLEN, gfp); in brcmf_fweh_process_skb()
|
D | fweh.c | 396 struct brcmf_event *event_packet, in brcmf_fweh_process_event() argument 406 code = get_unaligned_be32(&event_packet->msg.event_type); in brcmf_fweh_process_event() 407 datalen = get_unaligned_be32(&event_packet->msg.datalen); in brcmf_fweh_process_event() 408 data = &event_packet[1]; in brcmf_fweh_process_event() 417 datalen + sizeof(*event_packet) > packet_len) in brcmf_fweh_process_event() 425 event->ifidx = event_packet->msg.ifidx; in brcmf_fweh_process_event() 428 memcpy(&event->emsg, &event_packet->msg, sizeof(event->emsg)); in brcmf_fweh_process_event() 431 memcpy(event->ifaddr, event_packet->eth.h_dest, ETH_ALEN); in brcmf_fweh_process_event()
|