Home
last modified time | relevance | path

Searched refs:beacon (Results 1 – 19 of 19) sorted by relevance

/hostap-3.7.0/src/ap/
Dap_drv_ops.c73 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; in hostapd_build_ap_extra_ies() local
80 if (add_buf_data(&beacon, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
93 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
98 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
106 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
115 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
120 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
127 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
129 start = wpabuf_put(beacon, 0); in hostapd_build_ap_extra_ies()
131 wpabuf_put(beacon, p - start); in hostapd_build_ap_extra_ies()
[all …]
Dhostapd.c3323 static void free_beacon_data(struct beacon_data *beacon) in free_beacon_data() argument
3325 os_free(beacon->head); in free_beacon_data()
3326 beacon->head = NULL; in free_beacon_data()
3327 os_free(beacon->tail); in free_beacon_data()
3328 beacon->tail = NULL; in free_beacon_data()
3329 os_free(beacon->probe_resp); in free_beacon_data()
3330 beacon->probe_resp = NULL; in free_beacon_data()
3331 os_free(beacon->beacon_ies); in free_beacon_data()
3332 beacon->beacon_ies = NULL; in free_beacon_data()
3333 os_free(beacon->proberesp_ies); in free_beacon_data()
[all …]
DMakefile21 beacon.o \
Dbeacon.c1495 head->u.beacon.beacon_int = in ieee802_11_build_ap_params()
1500 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_build_ap_params()
1501 pos = &head->u.beacon.variable[0]; in ieee802_11_build_ap_params()
1786 struct wpabuf *beacon, *proberesp, *assocresp; in __ieee802_11_set_beacon() local
1804 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < in __ieee802_11_set_beacon()
1808 params.beacon_ies = beacon; in __ieee802_11_set_beacon()
1857 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); in __ieee802_11_set_beacon()
Dap_drv_ops.h21 struct wpabuf **beacon,
24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
Dieee802_11.c5964 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.beacon)) { in handle_beacon()
5970 (void) ieee802_11_parse_elems(mgmt->u.beacon.variable, in handle_beacon()
5972 sizeof(mgmt->u.beacon)), &elems, in handle_beacon()
/hostap-3.7.0/wlantest/
Dbss.c133 struct ieee802_11_elems *elems, int beacon) in bss_update() argument
141 if (beacon && (!elems->ssid || elems->ssid_len > 32)) { in bss_update()
144 beacon == 1 ? "Beacon" : "Probe Response", in bss_update()
150 if (beacon && in bss_update()
186 if (!elems->rsn_ie && (!elems->s1g_capab || beacon != 1)) { in bss_update()
236 if (beacon == 1) in bss_update()
238 else if (beacon == 2) in bss_update()
Dwlantest.h290 struct ieee802_11_elems *elems, int beacon);
Drx_mgmt.c72 offset = mgmt->u.beacon.variable - data; in rx_mgmt_beacon()
80 bss->capab_info = le_to_host16(mgmt->u.beacon.capab_info); in rx_mgmt_beacon()
81 if (ieee802_11_parse_elems(mgmt->u.beacon.variable, len - offset, in rx_mgmt_beacon()
93 mme = get_ie(mgmt->u.beacon.variable, len - offset, WLAN_EID_MMIE); in rx_mgmt_beacon()
/hostap-3.7.0/src/wps/
Dwps_registrar.c1305 struct wpabuf *beacon; in wps_set_ie() local
1322 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1324 if (!beacon || !probe) in wps_set_ie()
1331 if (wps_build_version(beacon) || in wps_set_ie()
1332 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie()
1333 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie()
1334 wps_build_selected_registrar(reg, beacon) || in wps_set_ie()
1335 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie()
1336 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie()
1337 wps_build_sel_pbc_reg_uuid_e(reg, beacon) || in wps_set_ie()
[all …]
/hostap-3.7.0/src/drivers/
Ddriver_atheros.c1033 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in atheros_set_ap_wps_ie() argument
1039 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon); in atheros_set_ap_wps_ie()
1045 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; in atheros_set_ap_wps_ie()
1052 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, in atheros_set_ap_wps_ie()
1053 beacon ? wpabuf_len(beacon) : 0, in atheros_set_ap_wps_ie()
Ddriver_nl80211_android.c174 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, in wpa_driver_set_ap_wps_p2p_ie() argument
Ddriver_nl80211.h314 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
Ddriver_hostap.c765 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in hostap_set_ap_wps_ie() argument
Ddriver.h3453 int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon,
/hostap-3.7.0/wpa_supplicant/
Ddriver_i.h547 const struct wpabuf *beacon, in wpa_drv_set_ap_wps_ie() argument
553 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, in wpa_drv_set_ap_wps_ie()
DChangeLog138 * extended beacon reporting functionality
182 * added support for beacon report
582 - allow beacon interval to be configured for IBSS
/hostap-3.7.0/src/common/
Dieee802_11_defs.h961 } STRUCT_PACKED beacon; member
/hostap-3.7.0/hostapd/
DChangeLog110 * extended beacon reporting functionality
161 * added support for requesting beacon report