Home
last modified time | relevance | path

Searched refs:nullfunc (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/net/mac80211/
Dmesh_ps.c21 struct ieee80211_hdr *nullfunc; /* use 4addr header */ in mps_qos_null_get() local
23 int size = sizeof(*nullfunc); in mps_qos_null_get()
31 nullfunc = skb_put(skb, size); in mps_qos_null_get()
33 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
35 nullfunc->frame_control = fc; in mps_qos_null_get()
36 nullfunc->duration_id = 0; in mps_qos_null_get()
37 nullfunc->seq_ctrl = 0; in mps_qos_null_get()
39 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
41 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get()
366 struct ieee80211_hdr *nullfunc; in mpsp_trigger_send() local
[all …]
Dsta_info.c1389 struct ieee80211_qos_hdr *nullfunc; in ieee80211_send_null_response() local
1391 int size = sizeof(*nullfunc); in ieee80211_send_null_response()
1419 nullfunc = skb_put(skb, size); in ieee80211_send_null_response()
1420 nullfunc->frame_control = fc; in ieee80211_send_null_response()
1421 nullfunc->duration_id = 0; in ieee80211_send_null_response()
1422 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
1423 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1424 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1425 nullfunc->seq_ctrl = 0; in ieee80211_send_null_response()
1430 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
[all …]
Dcfg.c3608 struct ieee80211_qos_hdr *nullfunc; in ieee80211_probe_client() local
3610 int size = sizeof(*nullfunc); in ieee80211_probe_client()
3658 nullfunc = skb_put(skb, size); in ieee80211_probe_client()
3659 nullfunc->frame_control = fc; in ieee80211_probe_client()
3660 nullfunc->duration_id = 0; in ieee80211_probe_client()
3661 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
3662 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
3663 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
3664 nullfunc->seq_ctrl = 0; in ieee80211_probe_client()
3675 nullfunc->qos_ctrl = cpu_to_le16(7); in ieee80211_probe_client()
Dmlme.c1094 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_send_nullfunc() local
1107 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ieee80211_send_nullfunc()
1109 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc()
1127 struct ieee80211_hdr *nullfunc; in ieee80211_send_4addr_nullfunc() local
1143 nullfunc = skb_put_zero(skb, 30); in ieee80211_send_4addr_nullfunc()
1146 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc()
1147 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1148 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1149 memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1150 memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
Dtx.c5118 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local
5142 sizeof(*nullfunc) + 2); in ieee80211_nullfunc_get()
5148 nullfunc = skb_put_zero(skb, sizeof(*nullfunc)); in ieee80211_nullfunc_get()
5149 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get()
5158 nullfunc->frame_control |= in ieee80211_nullfunc_get()
5165 memcpy(nullfunc->addr1, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5166 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
5167 memcpy(nullfunc->addr3, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dinit.c174 struct ieee80211_hdr_3addr *nullfunc; in wl1271_ap_init_null_template() local
178 nullfunc = kzalloc(sizeof(*nullfunc), GFP_KERNEL); in wl1271_ap_init_null_template()
179 if (!nullfunc) { in wl1271_ap_init_null_template()
184 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_ap_init_null_template()
190 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in wl1271_ap_init_null_template()
191 memcpy(nullfunc->addr3, vif->addr, ETH_ALEN); in wl1271_ap_init_null_template()
195 CMD_TEMPL_NULL_DATA, nullfunc, in wl1271_ap_init_null_template()
196 sizeof(*nullfunc), 0, rate); in wl1271_ap_init_null_template()
199 kfree(nullfunc); in wl1271_ap_init_null_template()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c397 u8 *nullfunc; in rtl8723e_set_fw_rsvdpagepkt() local
423 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl8723e_set_fw_rsvdpagepkt()
424 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8723e_set_fw_rsvdpagepkt()
425 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl8723e_set_fw_rsvdpagepkt()
426 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8723e_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c1529 u8 *nullfunc; in rtl8812ae_set_fw_rsvdpagepkt() local
1561 nullfunc = &reserved_page_packet_8812[NULL_PG * 512]; in rtl8812ae_set_fw_rsvdpagepkt()
1562 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt()
1563 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl8812ae_set_fw_rsvdpagepkt()
1564 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt()
1666 u8 *nullfunc; in rtl8821ae_set_fw_rsvdpagepkt() local
1698 nullfunc = &reserved_page_packet_8821[NULL_PG * 256]; in rtl8821ae_set_fw_rsvdpagepkt()
1699 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8821ae_set_fw_rsvdpagepkt()
1700 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl8821ae_set_fw_rsvdpagepkt()
1701 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8821ae_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c488 u8 *nullfunc; in rtl8723be_set_fw_rsvdpagepkt() local
515 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl8723be_set_fw_rsvdpagepkt()
516 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt()
517 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl8723be_set_fw_rsvdpagepkt()
518 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl8723be_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c549 u8 *nullfunc; in rtl88e_set_fw_rsvdpagepkt() local
575 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl88e_set_fw_rsvdpagepkt()
576 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl88e_set_fw_rsvdpagepkt()
577 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl88e_set_fw_rsvdpagepkt()
578 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl88e_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c606 u8 *nullfunc; in rtl92d_set_fw_rsvdpagepkt() local
625 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl92d_set_fw_rsvdpagepkt()
626 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
627 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl92d_set_fw_rsvdpagepkt()
628 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92d_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c667 u8 *nullfunc; in rtl92ee_set_fw_rsvdpagepkt() local
694 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl92ee_set_fw_rsvdpagepkt()
695 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
696 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl92ee_set_fw_rsvdpagepkt()
697 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92ee_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c577 u8 *nullfunc; in rtl92c_set_fw_rsvdpagepkt() local
599 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl92c_set_fw_rsvdpagepkt()
600 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92c_set_fw_rsvdpagepkt()
601 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl92c_set_fw_rsvdpagepkt()
602 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92c_set_fw_rsvdpagepkt()
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
Dchannel.c1106 struct ieee80211_hdr_3addr *nullfunc; in ath_chanctx_send_vif_ps_frame() local
1120 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ath_chanctx_send_vif_ps_frame()
1122 nullfunc->frame_control |= in ath_chanctx_send_vif_ps_frame()