Lines Matching refs:frame
225 static bool brcmf_p2p_is_pub_action(void *frame, u32 frame_len) in brcmf_p2p_is_pub_action() argument
229 if (frame == NULL) in brcmf_p2p_is_pub_action()
232 pact_frm = (struct brcmf_p2p_pub_act_frame *)frame; in brcmf_p2p_is_pub_action()
253 static bool brcmf_p2p_is_p2p_action(void *frame, u32 frame_len) in brcmf_p2p_is_p2p_action() argument
257 if (frame == NULL) in brcmf_p2p_is_p2p_action()
260 act_frm = (struct brcmf_p2p_action_frame *)frame; in brcmf_p2p_is_p2p_action()
280 static bool brcmf_p2p_is_gas_action(void *frame, u32 frame_len) in brcmf_p2p_is_gas_action() argument
284 if (frame == NULL) in brcmf_p2p_is_gas_action()
287 sd_act_frm = (struct brcmf_p2psd_gas_pub_act_frame *)frame; in brcmf_p2p_is_gas_action()
315 static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len) in brcmf_p2p_print_actframe() argument
321 if (!frame || frame_len <= 2) in brcmf_p2p_print_actframe()
324 if (brcmf_p2p_is_pub_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
325 pact_frm = (struct brcmf_p2p_pub_act_frame *)frame; in brcmf_p2p_print_actframe()
368 } else if (brcmf_p2p_is_p2p_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
369 act_frm = (struct brcmf_p2p_action_frame *)frame; in brcmf_p2p_print_actframe()
392 } else if (brcmf_p2p_is_gas_action(frame, frame_len)) { in brcmf_p2p_print_actframe()
393 sd_act_frm = (struct brcmf_p2psd_gas_pub_act_frame *)frame; in brcmf_p2p_print_actframe()
421 static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len) in brcmf_p2p_print_actframe() argument
1361 u8 *frame = (u8 *)(rxframe + 1); in brcmf_p2p_notify_action_frame_rx() local
1378 brcmf_p2p_print_actframe(false, frame, mgmt_frame_len); in brcmf_p2p_notify_action_frame_rx()
1381 if (brcmf_p2p_is_pub_action(frame, mgmt_frame_len)) { in brcmf_p2p_notify_action_frame_rx()
1382 act_frm = (struct brcmf_p2p_pub_act_frame *)frame; in brcmf_p2p_notify_action_frame_rx()
1404 } else if (brcmf_p2p_is_gas_action(frame, mgmt_frame_len)) { in brcmf_p2p_notify_action_frame_rx()
1405 sd_act_frm = (struct brcmf_p2psd_gas_pub_act_frame *)frame; in brcmf_p2p_notify_action_frame_rx()
1429 memcpy(&mgmt_frame->u, frame, mgmt_frame_len); in brcmf_p2p_notify_action_frame_rx()