Lines Matching refs:beacon
1315 int beacon) in ieee80211_bss_info() argument
1325 if (!beacon && os_memcmp(mgmt->da, wpa_s->own_addr, ETH_ALEN)) in ieee80211_bss_info()
1330 beacon ? "Beacon" : "Probe Response", in ieee80211_bss_info()
1334 baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; in ieee80211_bss_info()
1338 pos = mgmt->u.beacon.timestamp; in ieee80211_bss_info()
1342 if (local->conf.mode == IW_MODE_ADHOC && beacon && in ieee80211_bss_info()
1363 ie_pos = mgmt->u.beacon.variable; in ieee80211_bss_info()
1449 if (bss->probe_resp && beacon) { in ieee80211_bss_info()
1454 bss->beacon_int = le_to_host16(mgmt->u.beacon.beacon_int); in ieee80211_bss_info()
1455 bss->capability = le_to_host16(mgmt->u.beacon.capab_info); in ieee80211_bss_info()
1577 if (!beacon) in ieee80211_bss_info()
1607 baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_beacon()
1611 if (ieee802_11_parse_elems(mgmt->u.beacon.variable, len - baselen, in ieee80211_rx_mgmt_beacon()
2277 len += 24 + sizeof(mgmt->u.beacon); in ieee80211_sta_join_ibss()
2278 os_memset(mgmt, 0, 24 + sizeof(mgmt->u.beacon)); in ieee80211_sta_join_ibss()
2285 mgmt->u.beacon.beacon_int = in ieee80211_sta_join_ibss()
2288 mgmt->u.beacon.capab_info = host_to_le16(bss->capability); in ieee80211_sta_join_ibss()