/freebsd-10.0-release/contrib/wpa/src/ap/ |
H A D | ap_drv_ops.c | 45 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local 53 if (wpabuf_resize(&beacon, pos - buf) != 0) 55 wpabuf_put_data(beacon, buf, pos - buf); 75 if (wpabuf_resize(&beacon, pos - buf) != 0) 77 wpabuf_put_data(beacon, buf, pos - buf); 85 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < 88 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); 100 if (wpabuf_resize(&beacon, wpabuf_len(hapd->p2p_beacon_ie)) < 103 wpabuf_put_buf(beacon, hapd->p2p_beacon_ie); 116 if (wpabuf_resize(&beacon, 10 190 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 203 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | beacon.c | 35 #include "beacon.h" 560 struct wpabuf *beacon, *proberesp, *assocresp; local 586 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 599 head->u.beacon.beacon_int = 604 head->u.beacon.capab_info = host_to_le16(capab_info); 605 pos = &head->u.beacon.variable[0]; 738 hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp); 739 params.beacon_ies = beacon; 769 wpa_printf(MSG_ERROR, "Failed to set beacon parameters"); 770 hostapd_free_ap_extra_ies(hapd, beacon, proberes [all...] |
H A D | ap_drv_ops.h | 19 struct wpabuf **beacon, 22 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
|
H A D | ap_list.c | 22 #include "beacon.h" 28 * whenever a beacon has been received from the AP in question. The tail entry 242 ap->beacon_int = le_to_host16(mgmt->u.beacon.beacon_int); 243 ap->capability = le_to_host16(mgmt->u.beacon.capab_info);
|
H A D | ieee802_11.c | 25 #include "beacon.h" 1393 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.beacon)) { 1399 (void) ieee802_11_parse_elems(mgmt->u.beacon.variable, 1401 sizeof(mgmt->u.beacon)), &elems,
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211.h | 497 * octet beacon interval[2] 505 #define IEEE80211_BEACON_INTERVAL(beacon) \ 506 ((beacon)[8] | ((beacon)[9] << 8)) 507 #define IEEE80211_BEACON_CAPABILITY(beacon) \ 508 ((beacon)[10] | ((beacon)[11] << 8)) 782 uint8_t period; /* beacon intervals between quiets */ 1063 #define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */ 1064 #define IEEE80211_BINTVAL_MIN 25 /* min beacon interva [all...] |
/freebsd-10.0-release/contrib/wpa/src/wps/ |
H A D | wps_registrar.c | 1229 struct wpabuf *beacon; local 1246 beacon = wpabuf_alloc(400 + vendor_len); 1247 if (beacon == NULL) 1251 wpabuf_free(beacon); 1259 if (wps_build_version(beacon) || 1260 wps_build_wps_state(reg->wps, beacon) || 1261 wps_build_ap_setup_locked(reg->wps, beacon) || 1262 wps_build_selected_registrar(reg, beacon) || 1263 wps_build_sel_reg_dev_password_id(reg, beacon) || 1264 wps_build_sel_reg_config_methods(reg, beacon) || [all...] |
/freebsd-10.0-release/sys/dev/wtap/ |
H A D | if_wtapvar.h | 117 struct mbuf *beacon; /* beacon */ member in struct:wtap_vap 120 struct callout av_swba; /* software beacon alert */ 121 uint32_t av_bcinterval; /* beacon interval */
|
H A D | if_wtap.c | 161 * Intercept management frames to collect beacon rssi data 193 * Allocate and setup an initial beacon frame. 204 * NB: the beacon data buffer must be 32-bit aligned; 208 avp->beacon = ieee80211_beacon_alloc(ni, &avp->av_boff); 209 if (avp->beacon == NULL) { 234 DWTAP_PRINTF("Skip beacon, not running, state %d", vap->iv_state); 237 DWTAP_PRINTF("[%d] beacon intrp\n", avp->id); //burst mode 239 * Update dynamic beacon contents. If this returns 241 * the beacon frame changed size (probably because 244 m = m_dup(avp->beacon, M_NOWAI [all...] |
/freebsd-10.0-release/usr.sbin/wpa/hostapd/ |
H A D | Makefile | 10 base64.c beacon.c chap.c common.c config_file.c ctrl_iface.c \
|
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/ |
H A D | driver_i.h | 466 const struct wpabuf *beacon, 472 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, 465 wpa_drv_set_ap_wps_ie(struct wpa_supplicant *wpa_s, const struct wpabuf *beacon, const struct wpabuf *proberesp, const struct wpabuf *assocresp) argument
|
/freebsd-10.0-release/sys/dev/iwi/ |
H A D | if_iwi.c | 1307 * periodic beacon frames to trigger the poll event. 1393 struct iwi_notif_beacon_state *beacon; local 1515 beacon = (struct iwi_notif_beacon_state *)(notif + 1); 1518 beacon->state, le32toh(beacon->number))); 1520 if (beacon->state == IWI_BEACON_MISS) { 1522 * The firmware notifies us of every beacon miss 1528 if (le32toh(beacon->number) >= vap->iv_bmissthreshold) { 1530 le32toh(beacon->number),
|
/freebsd-10.0-release/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 457 } STRUCT_PACKED beacon; member in union:ieee80211_mgmt::__anon4462
|
/freebsd-10.0-release/contrib/wpa/src/drivers/ |
H A D | driver.h | 137 * @beacon_int: beacon interval in TUs (host byte order) 1909 * @beacon: WPS IE(s) for Beacon frames or %NULL to remove extra IE(s) 1934 int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon,
|
/freebsd-10.0-release/sys/dev/wpi/ |
H A D | if_wpi.c | 1756 struct wpi_missed_beacon *beacon = local 1760 if (le32toh(beacon->consecutive) >= 1763 le32toh(beacon->consecutive), 2346 /* compute remaining time until next beacon */ 2357 * Build a beacon frame that the firmware will broadcast periodically in 2380 device_printf(sc->sc_dev, "could not allocate beacon frame\n"); 2405 /* assume beacon frame is contiguous */ 2409 device_printf(sc->sc_dev, "could not map beacon\n"); 2416 /* first scatter/gather segment is used by the beacon command */
|
/freebsd-10.0-release/sys/dev/iwn/ |
H A D | if_iwnreg.h | 1302 uint32_t beacon; member in struct:iwn_rx_stat
|