Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.c46 struct wpabuf *beacon, *proberesp, *assocresp = NULL; in hostapd_set_ap_wps_ie() local
52 beacon = hapd->wps_beacon_ie; in hostapd_set_ap_wps_ie()
57 beacon = NULL; in hostapd_set_ap_wps_ie()
59 beacon = wpabuf_alloc((hapd->wps_beacon_ie ? in hostapd_set_ap_wps_ie()
63 if (beacon == NULL) in hostapd_set_ap_wps_ie()
66 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); in hostapd_set_ap_wps_ie()
68 wpabuf_put_buf(beacon, hapd->p2p_beacon_ie); in hostapd_set_ap_wps_ie()
80 wpabuf_free(beacon); in hostapd_set_ap_wps_ie()
94 a = wpabuf_alloc(100 + (beacon ? wpabuf_len(beacon) : 0)); in hostapd_set_ap_wps_ie()
97 if (beacon) in hostapd_set_ap_wps_ie()
[all …]
Dbeacon.c434 head->u.beacon.beacon_int = in ieee802_11_set_beacon()
439 head->u.beacon.capab_info = host_to_le16(capab_info); in ieee802_11_set_beacon()
440 pos = &head->u.beacon.variable[0]; in ieee802_11_set_beacon()
Dap_list.c248 ap->beacon_int = le_to_host16(mgmt->u.beacon.beacon_int); in ap_list_process_beacon()
249 ap->capability = le_to_host16(mgmt->u.beacon.capab_info); in ap_list_process_beacon()
Dieee802_11.c1245 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.beacon)) { in handle_beacon()
1251 (void) ieee802_11_parse_elems(mgmt->u.beacon.variable, in handle_beacon()
1253 sizeof(mgmt->u.beacon)), &elems, in handle_beacon()
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c1112 struct wpabuf *beacon; in wps_set_ie() local
1129 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1130 if (beacon == NULL) in wps_set_ie()
1134 wpabuf_free(beacon); in wps_set_ie()
1142 if (wps_build_version(beacon) || in wps_set_ie()
1143 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie()
1144 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie()
1145 wps_build_selected_registrar(reg, beacon) || in wps_set_ie()
1146 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie()
1147 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_registrar.c805 struct wpabuf *beacon; in wps_set_ie() local
811 beacon = wpabuf_alloc(300); in wps_set_ie()
812 if (beacon == NULL) in wps_set_ie()
816 wpabuf_free(beacon); in wps_set_ie()
820 if (wps_build_version(beacon) || in wps_set_ie()
821 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie()
822 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie()
823 wps_build_selected_registrar(reg, beacon) || in wps_set_ie()
824 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie()
825 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie()
[all …]
/external/wpa_supplicant/
Dmlme.c133 } STRUCT_PACKED beacon; member
1490 int beacon) in ieee80211_bss_info() argument
1499 if (!beacon && os_memcmp(mgmt->da, wpa_s->own_addr, ETH_ALEN)) in ieee80211_bss_info()
1504 beacon ? "Beacon" : "Probe Response", in ieee80211_bss_info()
1508 baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; in ieee80211_bss_info()
1512 pos = mgmt->u.beacon.timestamp; in ieee80211_bss_info()
1519 if (local->conf.mode == IW_MODE_ADHOC && beacon && in ieee80211_bss_info()
1540 if (ieee802_11_parse_elems(mgmt->u.beacon.variable, len - baselen, in ieee80211_bss_info()
1625 if (bss->probe_resp && beacon) { in ieee80211_bss_info()
1630 bss->beacon_int = le_to_host16(mgmt->u.beacon.beacon_int); in ieee80211_bss_info()
[all …]
Dwireless_copy.h743 __u32 beacon; /* Missed beacons/superframe */ member
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c1283 int beacon) in ieee80211_bss_info() argument
1293 if (!beacon && os_memcmp(mgmt->da, wpa_s->own_addr, ETH_ALEN)) in ieee80211_bss_info()
1298 beacon ? "Beacon" : "Probe Response", in ieee80211_bss_info()
1302 baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; in ieee80211_bss_info()
1306 pos = mgmt->u.beacon.timestamp; in ieee80211_bss_info()
1310 if (local->conf.mode == IW_MODE_ADHOC && beacon && in ieee80211_bss_info()
1331 ie_pos = mgmt->u.beacon.variable; in ieee80211_bss_info()
1417 if (bss->probe_resp && beacon) { in ieee80211_bss_info()
1422 bss->beacon_int = le_to_host16(mgmt->u.beacon.beacon_int); in ieee80211_bss_info()
1423 bss->capability = le_to_host16(mgmt->u.beacon.capab_info); in ieee80211_bss_info()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c811 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in atheros_set_ap_wps_ie() argument
818 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; in atheros_set_ap_wps_ie()
825 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, in atheros_set_ap_wps_ie()
826 beacon ? wpabuf_len(beacon) : 0, in atheros_set_ap_wps_ie()
Ddriver_madwifi.c790 madwifi_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in madwifi_set_ap_wps_ie() argument
794 if (madwifi_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, in madwifi_set_ap_wps_ie()
795 beacon ? wpabuf_len(beacon) : 0, in madwifi_set_ap_wps_ie()
Ddriver_test.c891 static int test_driver_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in test_driver_set_ap_wps_ie() argument
897 if (beacon == NULL) in test_driver_set_ap_wps_ie()
901 beacon); in test_driver_set_ap_wps_ie()
905 if (beacon == NULL) { in test_driver_set_ap_wps_ie()
909 bss->wps_beacon_ie = os_malloc(wpabuf_len(beacon)); in test_driver_set_ap_wps_ie()
915 os_memcpy(bss->wps_beacon_ie, wpabuf_head(beacon), in test_driver_set_ap_wps_ie()
916 wpabuf_len(beacon)); in test_driver_set_ap_wps_ie()
917 bss->wps_beacon_ie_len = wpabuf_len(beacon); in test_driver_set_ap_wps_ie()
Dwireless_copy.h778 __u32 beacon; /* Missed beacons/superframe */ member
Ddriver.h1750 int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon,
Ddriver_hostap.c766 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, in hostap_set_ap_wps_ie() argument
Ddriver_nl80211.c215 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
/external/wpa_supplicant_8/wpa_supplicant/
Dmlme.c1315 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()
[all …]
Ddriver_i.h516 const struct wpabuf *beacon, in wpa_drv_set_ap_wps_ie() argument
522 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, in wpa_drv_set_ap_wps_ie()
DMakefile684 OBJS += ../src/ap/beacon.o
/external/kernel-headers/original/linux/
Dwireless.h700 __u32 beacon; /* Missed beacons/superframe */ member
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwireless_copy.h751 __u32 beacon; /* Missed beacons/superframe */ member
Dieee802_11_defs.h284 } STRUCT_PACKED beacon; member
/external/wpa_supplicant_8/src/common/
Dieee802_11_defs.h378 } STRUCT_PACKED beacon; member
/external/wpa_supplicant_8/hostapd/
DMakefile723 OBJS += ../src/ap/beacon.o
/external/stlport/etc/
DChangeLog2482 present: see beacon that depends upon Solaris version and patch present,

12