Searched refs:beacon (Results 1 - 25 of 47) 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
198 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
220 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1025 /* Set SSID for the kernel driver (to be used in beacon and probe
1443 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2913 static void free_beacon_data(struct beacon_data *beacon) argument
2915 os_free(beacon->head);
2916 beacon->head = NULL;
2917 os_free(beacon->tail);
2918 beacon->tail = NULL;
2919 os_free(beacon->probe_resp);
2920 beacon
2930 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile30 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
1068 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1081 head->u.beacon.beacon_int =
1086 head->u.beacon.capab_info = host_to_le16(capab_info);
1087 pos = &head->u.beacon.variable[0];
1342 struct wpabuf *beacon, *proberesp, *assocresp; local
1355 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1359 params.beacon_ies = beacon;
1377 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1379 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
198 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
220 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1025 /* Set SSID for the kernel driver (to be used in beacon and probe
1443 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2913 static void free_beacon_data(struct beacon_data *beacon) argument
2915 os_free(beacon->head);
2916 beacon->head = NULL;
2917 os_free(beacon->tail);
2918 beacon->tail = NULL;
2919 os_free(beacon->probe_resp);
2920 beacon
2930 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile30 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
1068 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1081 head->u.beacon.beacon_int =
1086 head->u.beacon.capab_info = host_to_le16(capab_info);
1087 pos = &head->u.beacon.variable[0];
1342 struct wpabuf *beacon, *proberesp, *assocresp; local
1355 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1359 params.beacon_ies = beacon;
1377 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1379 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
198 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
220 struct wpabuf *beacon, *proberesp, *assocresp; local
[all...]
H A Dhostapd.c27 #include "beacon.h"
1025 /* Set SSID for the kernel driver (to be used in beacon and probe
1443 wpa_printf(MSG_WARNING, "FST: Cannot set beacon");
2913 static void free_beacon_data(struct beacon_data *beacon) argument
2915 os_free(beacon->head);
2916 beacon->head = NULL;
2917 os_free(beacon->tail);
2918 beacon->tail = NULL;
2919 os_free(beacon->probe_resp);
2920 beacon
2930 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument
[all...]
H A DMakefile30 beacon.o \
H A Dbeacon.c29 #include "beacon.h"
1068 wpa_printf(MSG_ERROR, "Failed to set beacon data");
1081 head->u.beacon.beacon_int =
1086 head->u.beacon.capab_info = host_to_le16(capab_info);
1087 pos = &head->u.beacon.variable[0];
1342 struct wpabuf *beacon, *proberesp, *assocresp; local
1355 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
1359 params.beacon_ies = beacon;
1377 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);
1379 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/syslinux/gpxe/src/net/80211/
H A Dsec80211.c249 * Find the RSN or WPA information element in the provided beacon frame
380 * @v iob I/O buffer containing beacon frame
389 * beacon->capab should be considered unknown.
396 struct ieee80211_beacon *beacon = local
405 if ( ! ( rsn = sec80211_find_rsn ( beacon->info_element, iob->tail,
410 if ( beacon->capability & IEEE80211_CAPAB_PRIVACY )
H A Dwpa.c114 * if none should be sent because that network's beacon included no
119 * included in the beacon for the network it is destined for.
131 struct ieee80211_beacon *beacon; local
138 hdr = dev->associating->beacon->data;
139 beacon = ( struct ieee80211_beacon * ) hdr->data;
140 rsn = sec80211_find_rsn ( beacon->info_element,
141 dev->associating->beacon->tail, &is_rsn,
218 struct ieee80211_beacon *beacon; local
229 iob = dev->associating->beacon;
231 beacon
[all...]
H A Dnet80211.c89 * This is used to keep beacon signal strengths in a parallel queue to
114 /** Time last useful beacon was received */
660 * If enable is TRUE, beacon, probe, and action frames will be kept
1015 * @v capab Capabilities field in beacon, probe, or association frame
1425 struct ieee80211_beacon *beacon; local
1432 beacon = ( struct ieee80211_beacon * ) hdr->data;
1436 DBGC2 ( dev, "802.11 %p probe: non-beacon\n", dev );
1440 if ( ( void * ) beacon->info_element >= iob->tail ) {
1441 DBGC ( dev, "802.11 %p probe: beacon with no IEs\n",
1446 ie = beacon
1508 struct ieee80211_beacon *beacon = local
2122 struct ieee80211_beacon *beacon = local
2427 struct ieee80211_beacon *beacon; local
[all...]
/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
/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
/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
/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...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dnet80211.h967 /** TSFT value for last beacon received, microseconds */
1012 * Sometimes we want to keep probe, beacon, and action packets
1018 * When keep_mgmt is TRUE, received probe, beacon, and action
1038 * Received beacon, probe, and action packets will be added to
1053 * bssid, channel, beacon, and security must be filled in if you want
1069 /** Signal strength of beacon frame from that access point */
1080 /** The complete beacon or probe-response frame received */
1081 struct io_buffer *beacon; member in struct:net80211_wlan

Completed in 795 milliseconds

12