/linux/net/mac80211/ |
A D | mesh_ps.c | 22 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() 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() 367 struct ieee80211_hdr *nullfunc; in mpsp_trigger_send() local 375 nullfunc = (struct ieee80211_hdr *) skb->data; in mpsp_trigger_send() 377 nullfunc->frame_control |= in mpsp_trigger_send() [all …]
|
A D | sta_info.c | 1395 struct ieee80211_qos_hdr *nullfunc; in ieee80211_send_null_response() local 1397 int size = sizeof(*nullfunc); in ieee80211_send_null_response() 1420 nullfunc = skb_put(skb, size); in ieee80211_send_null_response() 1421 nullfunc->frame_control = fc; in ieee80211_send_null_response() 1422 nullfunc->duration_id = 0; in ieee80211_send_null_response() 1423 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_send_null_response() 1424 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_null_response() 1426 nullfunc->seq_ctrl = 0; in ieee80211_send_null_response() 1431 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response() 1434 nullfunc->qos_ctrl |= in ieee80211_send_null_response() [all …]
|
A D | cfg.c | 3710 struct ieee80211_qos_hdr *nullfunc; in ieee80211_probe_client() local 3712 int size = sizeof(*nullfunc); in ieee80211_probe_client() 3760 nullfunc = skb_put(skb, size); in ieee80211_probe_client() 3761 nullfunc->frame_control = fc; in ieee80211_probe_client() 3762 nullfunc->duration_id = 0; in ieee80211_probe_client() 3763 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in ieee80211_probe_client() 3764 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client() 3765 memcpy(nullfunc->addr3, sdata->vif.addr, ETH_ALEN); in ieee80211_probe_client() 3766 nullfunc->seq_ctrl = 0; in ieee80211_probe_client() 3777 nullfunc->qos_ctrl = cpu_to_le16(7); in ieee80211_probe_client()
|
A D | mlme.c | 1074 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_send_nullfunc() local 1082 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ieee80211_send_nullfunc() 1084 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc() 1102 struct ieee80211_hdr *nullfunc; in ieee80211_send_4addr_nullfunc() local 1114 nullfunc = skb_put_zero(skb, 30); in ieee80211_send_4addr_nullfunc() 1117 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc() 1118 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1119 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1120 memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc() 1121 memcpy(nullfunc->addr4, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
|
A D | tx.c | 5393 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local 5417 sizeof(*nullfunc) + 2); in ieee80211_nullfunc_get() 5423 nullfunc = skb_put_zero(skb, sizeof(*nullfunc)); in ieee80211_nullfunc_get() 5424 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get() 5433 nullfunc->frame_control |= in ieee80211_nullfunc_get() 5440 memcpy(nullfunc->addr1, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get() 5441 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get() 5442 memcpy(nullfunc->addr3, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | init.c | 174 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/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | fw.c | 1529 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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | fw.c | 397 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/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | fw.c | 488 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/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | fw.c | 549 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/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | fw.c | 606 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/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | fw_common.c | 577 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | fw.c | 667 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/drivers/net/wireless/ath/ath9k/ |
A D | channel.c | 1106 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()
|