/freebsd-11.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); 88 if (wpabuf_resize(&beacon, add) < 0) 90 wpabuf_put_buf(beacon, hapd->iface->fst_ies); 101 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) < 104 wpabuf_put_buf(beacon, hapd->wps_beacon_ie); 116 if (wpabuf_resize(&beacon, wpabuf_le 225 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument 247 struct wpabuf *beacon, *proberesp, *assocresp; local [all...] |
H A D | hostapd.c | 26 #include "beacon.h" 997 /* Set SSID for the kernel driver (to be used in beacon and probe 1413 wpa_printf(MSG_WARNING, "FST: Cannot set beacon"); 2638 static void free_beacon_data(struct beacon_data *beacon) argument 2640 os_free(beacon->head); 2641 beacon->head = NULL; 2642 os_free(beacon->tail); 2643 beacon->tail = NULL; 2644 os_free(beacon->probe_resp); 2645 beacon 2655 hostapd_build_beacon_data(struct hostapd_data *hapd, struct beacon_data *beacon) argument [all...] |
H A D | beacon.c | 29 #include "beacon.h" 939 wpa_printf(MSG_ERROR, "Failed to set beacon data"); 952 head->u.beacon.beacon_int = 957 head->u.beacon.capab_info = host_to_le16(capab_info); 958 pos = &head->u.beacon.variable[0]; 1177 struct wpabuf *beacon, *proberesp, *assocresp; local 1190 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < 1194 params.beacon_ies = beacon; 1212 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); 1214 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 | 28 #include "beacon.h" 2073 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.beacon)) { 2079 (void) ieee802_11_parse_elems(mgmt->u.beacon.variable, 2081 sizeof(mgmt->u.beacon)), &elems,
|
/freebsd-11.0-release/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); 675 mtx_lock(&ib_conn->beacon.flush_lock); 676 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr)); 677 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID; 678 ib_conn->beacon.send.opcode = IB_WR_SEND; 680 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr); 683 mtx_unlock(&ib_conn->beacon.flush_lock); 688 cv_wait(&ib_conn->beacon [all...] |
H A D | icl_iser.c | 260 mtx_init(&iser_conn->ib_conn.beacon.flush_lock, "flush_lock", NULL, MTX_DEF); 261 cv_init(&iser_conn->ib_conn.beacon.flush_cv, "flush_cv"); 280 cv_destroy(&iser_conn->ib_conn.beacon.flush_cv); 281 mtx_destroy(&iser_conn->ib_conn.beacon.flush_lock);
|
H A D | icl_iser.h | 389 * struct iser_beacon - beacon to signal all flush errors were drained 394 * @flush_cv: condition variable for beacon flush 421 struct iser_beacon beacon; member in struct:ib_conn
|
/freebsd-11.0-release/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.0-release/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 | 248 int wpa_driver_set_ap_wps_p2p_ie(void *priv, const struct wpabuf *beacon,
|
H A D | driver.h | 209 * @beacon_int: beacon interval in TUs (host byte order) 1545 * @beacon_after: Next beacon/probe resp/asooc resp info 1546 * @counter_offset_beacon: Offset to the count field in beacon's tail 2483 * @beacon: WPS IE(s) for Beacon frames or %NULL to remove extra IE(s) 2508 int (*set_ap_wps_ie)(void *priv, const struct wpabuf *beacon, 3110 * stop_ap - Removes beacon from AP
|
/freebsd-11.0-release/contrib/wpa/src/wps/ |
H A D | wps_registrar.c | 1244 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...] |
/freebsd-11.0-release/usr.sbin/wpa/hostapd/ |
H A D | Makefile | 11 base64.c beacon.c bss_load.c chap.c common.c config_file.c \
|
/freebsd-11.0-release/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.0-release/contrib/wpa/wpa_supplicant/ |
H A D | driver_i.h | 498 const struct wpabuf *beacon, 504 return wpa_s->driver->set_ap_wps_ie(wpa_s->drv_priv, beacon, 497 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-11.0-release/sys/dev/iwi/ |
H A D | if_iwi.c | 1273 * periodic beacon frames to trigger the poll event. 1386 struct iwi_notif_beacon_state *beacon; local 1508 beacon = (struct iwi_notif_beacon_state *)(notif + 1); 1511 beacon->state, le32toh(beacon->number))); 1513 if (beacon->state == IWI_BEACON_MISS) { 1515 * The firmware notifies us of every beacon miss 1521 if (le32toh(beacon->number) >= vap->iv_bmissthreshold) { 1523 le32toh(beacon->number),
|
/freebsd-11.0-release/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 518 } STRUCT_PACKED beacon; member in union:ieee80211_mgmt::__anon5603
|
/freebsd-11.0-release/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
|