Lines Matching refs:mgmt_frame
1400 struct ieee80211_mgmt *mgmt_frame; in brcmf_p2p_notify_action_frame_rx() local
1458 mgmt_frame = kzalloc(offsetof(struct ieee80211_mgmt, u) + in brcmf_p2p_notify_action_frame_rx()
1460 if (!mgmt_frame) { in brcmf_p2p_notify_action_frame_rx()
1464 memcpy(mgmt_frame->da, ifp->mac_addr, ETH_ALEN); in brcmf_p2p_notify_action_frame_rx()
1465 brcmf_fil_cmd_data_get(ifp, BRCMF_C_GET_BSSID, mgmt_frame->bssid, in brcmf_p2p_notify_action_frame_rx()
1467 memcpy(mgmt_frame->sa, e->addr, ETH_ALEN); in brcmf_p2p_notify_action_frame_rx()
1468 mgmt_frame->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); in brcmf_p2p_notify_action_frame_rx()
1469 memcpy(&mgmt_frame->u, frame, mgmt_frame_len); in brcmf_p2p_notify_action_frame_rx()
1478 cfg80211_rx_mgmt(wdev, freq, 0, (u8 *)mgmt_frame, mgmt_frame_len, 0); in brcmf_p2p_notify_action_frame_rx()
1480 kfree(mgmt_frame); in brcmf_p2p_notify_action_frame_rx()
1943 u8 *mgmt_frame; in brcmf_p2p_notify_rx_mgmt_p2p_probereq() local
1984 mgmt_frame = (u8 *)(rxframe + 1); in brcmf_p2p_notify_rx_mgmt_p2p_probereq()
1991 cfg80211_rx_mgmt(&vif->wdev, freq, 0, mgmt_frame, mgmt_frame_len, 0); in brcmf_p2p_notify_rx_mgmt_p2p_probereq()