Home
last modified time | relevance | path

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

/linux-6.1.9/net/mac80211/
Dmesh_ps.c22 struct ieee80211_hdr *nullfunc; /* use 4addr header */ in mps_qos_null_get() local
24 int size = sizeof(*nullfunc); in mps_qos_null_get()
32 nullfunc = skb_put(skb, size); in mps_qos_null_get()
34 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get()
36 nullfunc->frame_control = fc; in mps_qos_null_get()
37 nullfunc->duration_id = 0; in mps_qos_null_get()
38 nullfunc->seq_ctrl = 0; in mps_qos_null_get()
40 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
42 ieee80211_mps_set_frame_flags(sdata, sta, nullfunc); in mps_qos_null_get()
367 struct ieee80211_hdr *nullfunc; in mpsp_trigger_send() local
[all …]
Dsta_info.c1602 struct ieee80211_qos_hdr *nullfunc; in ieee80211_send_null_response() local
1604 int size = sizeof(*nullfunc); in ieee80211_send_null_response()
1627 nullfunc = skb_put(skb, size); in ieee80211_send_null_response()
1628 nullfunc->frame_control = fc; in ieee80211_send_null_response()
1629 nullfunc->duration_id = 0; in ieee80211_send_null_response()
1630 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
1631 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1632 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1633 nullfunc->seq_ctrl = 0; in ieee80211_send_null_response()
1638 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
[all …]
Dcfg.c3978 struct ieee80211_qos_hdr *nullfunc; in ieee80211_probe_client() local
3980 int size = sizeof(*nullfunc); in ieee80211_probe_client()
4028 nullfunc = skb_put(skb, size); in ieee80211_probe_client()
4029 nullfunc->frame_control = fc; in ieee80211_probe_client()
4030 nullfunc->duration_id = 0; in ieee80211_probe_client()
4031 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
4032 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4033 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4034 nullfunc->seq_ctrl = 0; in ieee80211_probe_client()
4045 nullfunc->qos_ctrl = cpu_to_le16(7); in ieee80211_probe_client()
Dtx.c5492 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local
5500 sizeof(*nullfunc) + 2); in ieee80211_nullfunc_get()
5523 nullfunc = skb_put_zero(skb, sizeof(*nullfunc)); in ieee80211_nullfunc_get()
5524 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get()
5533 nullfunc->frame_control |= in ieee80211_nullfunc_get()
5541 memcpy(nullfunc->addr1, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5542 memcpy(nullfunc->addr2, link->conf->addr, ETH_ALEN); in ieee80211_nullfunc_get()
5543 memcpy(nullfunc->addr3, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5545 memcpy(nullfunc->addr1, vif->cfg.ap_addr, ETH_ALEN); in ieee80211_nullfunc_get()
5546 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
[all …]
Dmlme.c1546 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_send_nullfunc() local
1555 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ieee80211_send_nullfunc()
1557 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc()
1575 struct ieee80211_hdr *nullfunc; in ieee80211_send_4addr_nullfunc() local
1587 nullfunc = skb_put_zero(skb, 30); in ieee80211_send_4addr_nullfunc()
1590 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc()
1591 memcpy(nullfunc->addr1, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1592 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1593 memcpy(nullfunc->addr3, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
1594 memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()