Lines Matching refs:beacon_buf
772 struct ieee80211_probe_response *beacon_buf;
809 beacon_buf = (struct ieee80211_probe_response*) skb_put(skb, beacon_size);
811 memcpy (beacon_buf->header.addr1, dest,ETH_ALEN);
812 memcpy (beacon_buf->header.addr2, ieee->dev->dev_addr, ETH_ALEN);
813 memcpy (beacon_buf->header.addr3, ieee->current_network.bssid, ETH_ALEN);
815 beacon_buf->header.duration_id = 0;
816 beacon_buf->beacon_interval =
818 beacon_buf->capability =
822 cpu_to_le16((beacon_buf->capability |= WLAN_CAPABILITY_SHORT_SLOT));
830 beacon_buf->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY);
833 beacon_buf->header.frame_ctl = cpu_to_le16(IEEE80211_STYPE_PROBE_RESP);
835 beacon_buf->info_element.id = MFIE_TYPE_SSID;
836 beacon_buf->info_element.len = ssid_len;
838 tag = (u8*) beacon_buf->info_element.data;