Home
last modified time | relevance | path

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

/Linux-v6.6/net/mac80211/
Dmesh_ps.c23 struct ieee80211_hdr *nullfunc; /* use 4addr header */ in mps_qos_null_get() local
25 int size = sizeof(*nullfunc); in mps_qos_null_get()
33 nullfunc = skb_put(skb, size); in mps_qos_null_get()
35 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
37 nullfunc->frame_control = fc; in mps_qos_null_get()
38 nullfunc->duration_id = 0; in mps_qos_null_get()
39 nullfunc->seq_ctrl = 0; in mps_qos_null_get()
41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
43 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get()
368 struct ieee80211_hdr *nullfunc; in mpsp_trigger_send() local
[all …]
Dsta_info.c1757 struct ieee80211_qos_hdr *nullfunc; in ieee80211_send_null_response() local
1759 int size = sizeof(*nullfunc); in ieee80211_send_null_response()
1782 nullfunc = skb_put(skb, size); in ieee80211_send_null_response()
1783 nullfunc->frame_control = fc; in ieee80211_send_null_response()
1784 nullfunc->duration_id = 0; in ieee80211_send_null_response()
1785 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
1786 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1787 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1788 nullfunc->seq_ctrl = 0; in ieee80211_send_null_response()
1793 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
[all …]
Dtx.c5710 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local
5718 sizeof(*nullfunc) + 2); in ieee80211_nullfunc_get()
5741 nullfunc = skb_put_zero(skb, sizeof(*nullfunc)); in ieee80211_nullfunc_get()
5742 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get()
5751 nullfunc->frame_control |= in ieee80211_nullfunc_get()
5759 memcpy(nullfunc->addr1, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5760 memcpy(nullfunc->addr2, link->conf->addr, ETH_ALEN); in ieee80211_nullfunc_get()
5761 memcpy(nullfunc->addr3, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5763 memcpy(nullfunc->addr1, vif->cfg.ap_addr, ETH_ALEN); in ieee80211_nullfunc_get()
5764 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
[all …]
Dcfg.c4125 struct ieee80211_qos_hdr *nullfunc; in ieee80211_probe_client() local
4127 int size = sizeof(*nullfunc); in ieee80211_probe_client()
4176 nullfunc = skb_put(skb, size); in ieee80211_probe_client()
4177 nullfunc->frame_control = fc; in ieee80211_probe_client()
4178 nullfunc->duration_id = 0; in ieee80211_probe_client()
4179 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
4180 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4181 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4182 nullfunc->seq_ctrl = 0; in ieee80211_probe_client()
4193 nullfunc->qos_ctrl = cpu_to_le16(7); in ieee80211_probe_client()
Dmlme.c1622 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_send_nullfunc() local
1631 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ieee80211_send_nullfunc()
1633 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc()
1651 struct ieee80211_hdr *nullfunc; in ieee80211_send_4addr_nullfunc() local
1663 nullfunc = skb_put_zero(skb, 30); in ieee80211_send_4addr_nullfunc()
1666 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc()
1667 memcpy(nullfunc->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1668 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1669 memcpy(nullfunc->addr3, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1670 memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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()