Searched refs:beacon (Results 1 - 25 of 42) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_drv_ops.c71 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local
78 if (add_buf_data(&beacon, buf, pos - buf) < 0)
91 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
96 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
102 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 ||
107 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 ||
114 if (wpabuf_resize(&beacon, 100) == 0) {
116 start = wpabuf_put(beacon, 0);
118 wpabuf_put(beacon, p - start);
160 if (add_buf_data(&beacon, bu
197 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1012 /* Set SSID for the kernel driver (to be used in beacon and probe
1428 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2743 static void free_beacon_data(struct beacon_data *beacon) argument
2745 os_free(beacon->head);
2746 beacon->head = NULL;
2747 os_free(beacon->tail);
2748 beacon->tail = NULL;
2749 os_free(beacon->probe_resp);
2750 beacon
2760 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile28 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
992 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1005 head->u.beacon.beacon_int =
1010 head->u.beacon.capab_info = host_to_le16(capab_info);
1011 pos = &head->u.beacon.variable[0];
1251 struct wpabuf *beacon, *proberesp, *assocresp; local
1264 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1268 params.beacon_ies = beacon;
1286 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1288 wpa_printf(MSG_ERROR, "Failed to set beacon parameter
[all...]
H A Dap_drv_ops.h21 struct wpabuf **beacon,
24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
/external/wpa_supplicant_8/src/ap/
H A Dap_drv_ops.c71 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local
78 if (add_buf_data(&beacon, buf, pos - buf) < 0)
91 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
96 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
102 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 ||
107 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 ||
114 if (wpabuf_resize(&beacon, 100) == 0) {
116 start = wpabuf_put(beacon, 0);
118 wpabuf_put(beacon, p - start);
160 if (add_buf_data(&beacon, bu
197 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1012 /* Set SSID for the kernel driver (to be used in beacon and probe
1428 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2743 static void free_beacon_data(struct beacon_data *beacon) argument
2745 os_free(beacon->head);
2746 beacon->head = NULL;
2747 os_free(beacon->tail);
2748 beacon->tail = NULL;
2749 os_free(beacon->probe_resp);
2750 beacon
2760 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile28 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
992 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1005 head->u.beacon.beacon_int =
1010 head->u.beacon.capab_info = host_to_le16(capab_info);
1011 pos = &head->u.beacon.variable[0];
1251 struct wpabuf *beacon, *proberesp, *assocresp; local
1264 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1268 params.beacon_ies = beacon;
1286 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1288 wpa_printf(MSG_ERROR, "Failed to set beacon parameter
[all...]
H A Dap_drv_ops.h21 struct wpabuf **beacon,
24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dap_drv_ops.c71 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local
78 if (add_buf_data(&beacon, buf, pos - buf) < 0)
91 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
96 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
102 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 ||
107 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 ||
114 if (wpabuf_resize(&beacon, 100) == 0) {
116 start = wpabuf_put(beacon, 0);
118 wpabuf_put(beacon, p - start);
160 if (add_buf_data(&beacon, bu
197 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
219 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1012 /* Set SSID for the kernel driver (to be used in beacon and probe
1428 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2743 static void free_beacon_data(struct beacon_data *beacon) argument
2745 os_free(beacon->head);
2746 beacon->head = NULL;
2747 os_free(beacon->tail);
2748 beacon->tail = NULL;
2749 os_free(beacon->probe_resp);
2750 beacon
2760 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile28 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
992 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1005 head->u.beacon.beacon_int =
1010 head->u.beacon.capab_info = host_to_le16(capab_info);
1011 pos = &head->u.beacon.variable[0];
1251 struct wpabuf *beacon, *proberesp, *assocresp; local
1264 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1268 params.beacon_ies = beacon;
1286 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1288 wpa_printf(MSG_ERROR, "Failed to set beacon parameter
[all...]
H A Dap_drv_ops.h21 struct wpabuf **beacon,
24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_android.c174 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, argument
H A Ddriver_nl80211.h266 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
H A Ddriver_atheros.c1001 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument
1007 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon);
1013 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL;
1020 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL,
1021 beacon ? wpabuf_len(beacon) : 0,
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_registrar.c1244 struct wpabuf *beacon; local
1261 beacon = wpabuf_alloc(400 + vendor_len);
1262 if (beacon == NULL)
1266 wpabuf_free(beacon);
1274 if (wps_build_version(beacon) ||
1275 wps_build_wps_state(reg->wps, beacon) ||
1276 wps_build_ap_setup_locked(reg->wps, beacon) ||
1277 wps_build_selected_registrar(reg, beacon) ||
1278 wps_build_sel_reg_dev_password_id(reg, beacon) ||
1279 wps_build_sel_reg_config_methods(reg, beacon) ||
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_android.c174 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, argument
H A Ddriver_nl80211.h266 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
/external/wpa_supplicant_8/src/wps/
H A Dwps_registrar.c1244 struct wpabuf *beacon; local
1261 beacon = wpabuf_alloc(400 + vendor_len);
1262 if (beacon == NULL)
1266 wpabuf_free(beacon);
1274 if (wps_build_version(beacon) ||
1275 wps_build_wps_state(reg->wps, beacon) ||
1276 wps_build_ap_setup_locked(reg->wps, beacon) ||
1277 wps_build_selected_registrar(reg, beacon) ||
1278 wps_build_sel_reg_dev_password_id(reg, beacon) ||
1279 wps_build_sel_reg_config_methods(reg, beacon) ||
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_android.c174 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, argument
H A Ddriver_nl80211.h266 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_registrar.c1244 struct wpabuf *beacon; local
1261 beacon = wpabuf_alloc(400 + vendor_len);
1262 if (beacon == NULL)
1266 wpabuf_free(beacon);
1274 if (wps_build_version(beacon) ||
1275 wps_build_wps_state(reg->wps, beacon) ||
1276 wps_build_ap_setup_locked(reg->wps, beacon) ||
1277 wps_build_selected_registrar(reg, beacon) ||
1278 wps_build_sel_reg_dev_password_id(reg, beacon) ||
1279 wps_build_sel_reg_config_methods(reg, beacon) ||
[all...]

Completed in 296 milliseconds

12