Lines Matching refs:beacon_buf
728 struct ieee80211_probe_response *beacon_buf;
822 beacon_buf = (struct ieee80211_probe_response*) skb_put(skb, (beacon_size - ieee->tx_headroom));
823 memcpy (beacon_buf->header.addr1, dest,ETH_ALEN);
824 memcpy (beacon_buf->header.addr2, ieee->dev->dev_addr, ETH_ALEN);
825 memcpy (beacon_buf->header.addr3, ieee->current_network.bssid, ETH_ALEN);
827 beacon_buf->header.duration_id = 0;
828 beacon_buf->beacon_interval =
830 beacon_buf->capability =
832 beacon_buf->capability |=
836 cpu_to_le16((beacon_buf->capability |= WLAN_CAPABILITY_SHORT_SLOT));
841 beacon_buf->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY);
844 beacon_buf->header.frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_RESP);
845 beacon_buf->info_element[0].id = MFIE_TYPE_SSID;
846 beacon_buf->info_element[0].len = ssid_len;
848 tag = (u8*) beacon_buf->info_element[0].data;