/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | ap_drv_ops.c | 72 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; local 79 if (add_buf_data(&beacon, buf, pos - buf) < 0) 92 if (add_buf_data(&beacon, buf, pos - buf) < 0 || 97 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || 105 if (add_buf_data(&beacon, buf, pos - buf) < 0 || 110 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 || 115 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 || 122 if (wpabuf_resize(&beacon, 100) == 0) { 124 start = wpabuf_put(beacon, 0); 126 wpabuf_put(beacon, 214 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 236 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | hostapd.c | 30 #include "beacon.h" 1210 /* Set SSID for the kernel driver (to be used in beacon and probe 1655 wpa_printf(MSG_WARNING, "FST: Cannot set beacon"); 1823 "OWE: Matching transition mode interface enabled - update beacon data for %s", 3172 static void free_beacon_data(struct beacon_data *beacon) argument 3174 os_free(beacon->head); 3175 beacon->head = NULL; 3176 os_free(beacon->tail); 3177 beacon->tail = NULL; 3178 os_free(beacon 3189 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument [all...] |
H A D | beacon.c | 30 #include "beacon.h" 1103 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 1116 head->u.beacon.beacon_int = 1121 head->u.beacon.capab_info = host_to_le16(capab_info); 1122 pos = &head->u.beacon.variable[0]; 1403 struct wpabuf *beacon, *proberesp, *assocresp; local 1416 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < 1420 params.beacon_ies = beacon; 1439 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); 1441 wpa_printf(MSG_ERROR, "Failed to set beacon parameter [all...] |
H A D | ap_drv_ops.h | 21 struct wpabuf **beacon, 24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
|
H A D | ieee802_11.c | 33 #include "beacon.h" 4374 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.beacon)) { 4380 (void) ieee802_11_parse_elems(mgmt->u.beacon.variable, 4382 sizeof(mgmt->u.beacon)), &elems,
|
/freebsd-11-stable/sys/dev/iser/ |
H A D | iser_verbs.c | 149 mtx_lock(&ib_conn->beacon.flush_lock); 151 cv_signal(&ib_conn->beacon.flush_cv); 152 mtx_unlock(&ib_conn->beacon.flush_lock); 654 mtx_lock(&ib_conn->beacon.flush_lock); 655 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr)); 656 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID; 657 ib_conn->beacon.send.opcode = IB_WR_SEND; 659 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr); 662 mtx_unlock(&ib_conn->beacon.flush_lock); 667 cv_wait(&ib_conn->beacon [all...] |
H A D | icl_iser.c | 260 mtx_init(&iser_conn->ib_conn.beacon.flush_lock, "iser_flush_lock", NULL, MTX_DEF); 261 cv_init(&iser_conn->ib_conn.beacon.flush_cv, "flush_cv"); 281 cv_destroy(&iser_conn->ib_conn.beacon.flush_cv); 282 mtx_destroy(&iser_conn->ib_conn.beacon.flush_lock);
|
H A D | icl_iser.h | 387 * struct iser_beacon - beacon to signal all flush errors were drained 392 * @flush_cv: condition variable for beacon flush 419 struct iser_beacon beacon; member in struct:ib_conn
|
/freebsd-11-stable/sys/dev/wtap/ |
H A D | if_wtapvar.h | 115 struct mbuf *beacon; /* beacon */ member in struct:wtap_vap 117 struct callout av_swba; /* software beacon alert */ 118 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); 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-11-stable/contrib/wpa/src/wps/ |
H A D | wps_registrar.c | 1295 struct wpabuf *beacon; local 1312 beacon = wpabuf_alloc(400 + vendor_len); 1313 if (beacon == NULL) 1317 wpabuf_free(beacon); 1325 if (wps_build_version(beacon) || 1326 wps_build_wps_state(reg->wps, beacon) || 1327 wps_build_ap_setup_locked(reg->wps, beacon) || 1328 wps_build_selected_registrar(reg, beacon) || 1329 wps_build_sel_reg_dev_password_id(reg, beacon) || 1330 wps_build_sel_reg_config_methods(reg, beacon) || [all...] |
/freebsd-11-stable/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_android.c | 174 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon, argument
|
H A D | driver_nl80211.h | 288 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
|
H A D | driver_atheros.c | 1040 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument 1046 wpa_hexdump_buf(MSG_DEBUG, "atheros: set_ap_wps_ie - beacon", beacon); 1052 drv->wps_beacon_ie = beacon ? wpabuf_dup(beacon) : NULL; 1059 if (atheros_set_wps_ie(priv, beacon ? wpabuf_head(beacon) : NULL, 1060 beacon ? wpabuf_len(beacon) : 0,
|
H A D | driver.h | 301 * @beacon_int: beacon interval in TUs (host byte order) 2076 * @beacon_after: Next beacon/probe resp/asooc resp info 2077 * @counter_offset_beacon: Offset to the count field in beacon's tail 3107 * @beacon: WPS IE(s) for Beacon frames or %NULL to remove extra IE(s) 3132 int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon, 3737 * stop_ap - Removes beacon from AP
|
H A D | driver_hostap.c | 761 static int hostap_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, argument
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211.h | 530 * octet beacon interval[2] 538 #define IEEE80211_BEACON_INTERVAL(beacon) \ 539 ((beacon)[8] | ((beacon)[9] << 8)) 540 #define IEEE80211_BEACON_CAPABILITY(beacon) \ 541 ((beacon)[10] | ((beacon)[11] << 8)) 1053 uint8_t period; /* beacon intervals between quiets */ 1335 #define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */ 1336 #define IEEE80211_BINTVAL_MIN 25 /* min beacon interva [all...] |
/freebsd-11-stable/usr.sbin/wpa/hostapd/ |
H A D | Makefile | 21 beacon.c \
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | driver_i.h | 523 const struct wpabuf *beacon, 529 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, 522 wpa_drv_set_ap_wps_ie(struct wpa_supplicant *wpa_s, const struct wpabuf *beacon, const struct wpabuf *proberesp, const struct wpabuf *assocresp) argument
|
H A D | Android.mk | 873 OBJS += src/ap/beacon.c
|
/freebsd-11-stable/sys/dev/iwi/ |
H A D | if_iwi.c | 1280 * 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-11-stable/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 908 } STRUCT_PACKED beacon; member in union:ieee80211_mgmt::__anon3633
|
/freebsd-11-stable/sys/dev/iwn/ |
H A D | if_iwnreg.h | 943 * For the most reliable scan, set > AP beacon interval (typically 100msec). 1426 uint32_t beacon; member in struct:iwn_rx_stat 1788 * @IWN_UCODE_TLV_FLAGS_BF_UPDATED: new beacon filtering API
|