Home
last modified time | relevance | path

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

/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.c1784 struct ieee80211_qos_hdr *nullfunc; in ieee80211_send_null_response() local
1786 int size = sizeof(*nullfunc); in ieee80211_send_null_response()
1809 nullfunc = skb_put(skb, size); in ieee80211_send_null_response()
1810 nullfunc->frame_control = fc; in ieee80211_send_null_response()
1811 nullfunc->duration_id = 0; in ieee80211_send_null_response()
1812 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response()
1813 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1814 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response()
1815 nullfunc->seq_ctrl = 0; in ieee80211_send_null_response()
1820 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
[all …]
Dtx.c5717 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local
5725 sizeof(*nullfunc) + 2); in ieee80211_nullfunc_get()
5748 nullfunc = skb_put_zero(skb, sizeof(*nullfunc)); in ieee80211_nullfunc_get()
5749 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get()
5758 nullfunc->frame_control |= in ieee80211_nullfunc_get()
5766 memcpy(nullfunc->addr1, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5767 memcpy(nullfunc->addr2, link->conf->addr, ETH_ALEN); in ieee80211_nullfunc_get()
5768 memcpy(nullfunc->addr3, link->conf->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
5770 memcpy(nullfunc->addr1, vif->cfg.ap_addr, ETH_ALEN); in ieee80211_nullfunc_get()
5771 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
[all …]
Dcfg.c4131 struct ieee80211_qos_hdr *nullfunc; in ieee80211_probe_client() local
4133 int size = sizeof(*nullfunc); in ieee80211_probe_client()
4182 nullfunc = skb_put(skb, size); in ieee80211_probe_client()
4183 nullfunc->frame_control = fc; in ieee80211_probe_client()
4184 nullfunc->duration_id = 0; in ieee80211_probe_client()
4185 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client()
4186 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4187 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client()
4188 nullfunc->seq_ctrl = 0; in ieee80211_probe_client()
4199 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()