Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wireless/wl12xx/
Dinit.c128 struct ieee80211_hdr_3addr *nullfunc; in wl1271_ap_init_null_template() local
131 nullfunc = kzalloc(sizeof(*nullfunc), GFP_KERNEL); in wl1271_ap_init_null_template()
132 if (!nullfunc) { in wl1271_ap_init_null_template()
137 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in wl1271_ap_init_null_template()
143 memcpy(nullfunc->addr2, wl->mac_addr, ETH_ALEN); in wl1271_ap_init_null_template()
144 memcpy(nullfunc->addr3, wl->mac_addr, ETH_ALEN); in wl1271_ap_init_null_template()
146 ret = wl1271_cmd_template_set(wl, CMD_TEMPL_NULL_DATA, nullfunc, in wl1271_ap_init_null_template()
147 sizeof(*nullfunc), 0, in wl1271_ap_init_null_template()
151 kfree(nullfunc); in wl1271_ap_init_null_template()
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.c694 u8 *nullfunc; in rtl92c_set_fw_rsvdpagepkt() local
716 nullfunc = &reserved_page_packet[NULL_PG * 128]; in rtl92c_set_fw_rsvdpagepkt()
717 SET_80211_HDR_ADDRESS1(nullfunc, mac->bssid); in rtl92c_set_fw_rsvdpagepkt()
718 SET_80211_HDR_ADDRESS2(nullfunc, mac->mac_addr); in rtl92c_set_fw_rsvdpagepkt()
719 SET_80211_HDR_ADDRESS3(nullfunc, mac->bssid); in rtl92c_set_fw_rsvdpagepkt()
/linux-2.6.39/net/mac80211/
Dmlme.c341 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_send_nullfunc() local
347 nullfunc = (struct ieee80211_hdr_3addr *) skb->data; in ieee80211_send_nullfunc()
349 nullfunc->frame_control |= cpu_to_le16(IEEE80211_FCTL_PM); in ieee80211_send_nullfunc()
359 struct ieee80211_hdr *nullfunc; in ieee80211_send_4addr_nullfunc() local
373 nullfunc = (struct ieee80211_hdr *) skb_put(skb, 30); in ieee80211_send_4addr_nullfunc()
374 memset(nullfunc, 0, 30); in ieee80211_send_4addr_nullfunc()
377 nullfunc->frame_control = fc; in ieee80211_send_4addr_nullfunc()
378 memcpy(nullfunc->addr1, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
379 memcpy(nullfunc->addr2, sdata->vif.addr, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
380 memcpy(nullfunc->addr3, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_4addr_nullfunc()
[all …]
Dtx.c2370 struct ieee80211_hdr_3addr *nullfunc; in ieee80211_nullfunc_get() local
2383 skb = dev_alloc_skb(local->hw.extra_tx_headroom + sizeof(*nullfunc)); in ieee80211_nullfunc_get()
2391 nullfunc = (struct ieee80211_hdr_3addr *) skb_put(skb, in ieee80211_nullfunc_get()
2392 sizeof(*nullfunc)); in ieee80211_nullfunc_get()
2393 memset(nullfunc, 0, sizeof(*nullfunc)); in ieee80211_nullfunc_get()
2394 nullfunc->frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | in ieee80211_nullfunc_get()
2397 memcpy(nullfunc->addr1, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get()
2398 memcpy(nullfunc->addr2, vif->addr, ETH_ALEN); in ieee80211_nullfunc_get()
2399 memcpy(nullfunc->addr3, ifmgd->bssid, ETH_ALEN); in ieee80211_nullfunc_get()