| /freebsd/sys/contrib/dev/iwlwifi/mld/ |
| H A D | ap.c | 20 u8 *beacon, u32 frame_size) in iwl_mld_set_tim_idx() argument 23 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mld_set_tim_idx() 28 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mld_set_tim_idx() 32 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mld_set_tim_idx() 33 tim_idx += beacon[tim_idx + 1] + 2; in iwl_mld_set_tim_idx() 36 if ((tim_idx < (frame_size - 1)) && beacon[tim_idx] == WLAN_EID_TIM) in iwl_mld_set_tim_idx() 75 struct sk_buff *beacon, in iwl_mld_send_beacon_template_cmd() argument 85 hcmd.len[1] = beacon->len; in iwl_mld_send_beacon_template_cmd() 86 hcmd.data[1] = beacon->data; in iwl_mld_send_beacon_template_cmd() 94 struct sk_buff *beacon, in iwl_mld_fill_beacon_template_cmd() argument [all …]
|
| H A D | ap.h | 39 u8 *beacon, u32 frame_size); 42 struct sk_buff *beacon,
|
| H A D | debugfs.c | 716 struct sk_buff *beacon = in _iwl_dbgfs_inject_beacon_ie() local 720 if (!beacon) in _iwl_dbgfs_inject_beacon_ie() 724 hex2bin(skb_put_zero(beacon, n_bytes), in _iwl_dbgfs_inject_beacon_ie() 726 dev_kfree_skb(beacon); in _iwl_dbgfs_inject_beacon_ie() 730 info = IEEE80211_SKB_CB(beacon); in _iwl_dbgfs_inject_beacon_ie() 736 beacon_cmd.byte_cnt = cpu_to_le16((u16)beacon->len); in _iwl_dbgfs_inject_beacon_ie() 741 beacon->data, beacon->len); in _iwl_dbgfs_inject_beacon_ie() 743 offset = iwl_find_ie_offset(beacon->data, in _iwl_dbgfs_inject_beacon_ie() 745 beacon->len); in _iwl_dbgfs_inject_beacon_ie() 749 iwl_mld_send_beacon_template_cmd(mld, beacon, &beacon_cmd); in _iwl_dbgfs_inject_beacon_ie() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-utils.h | 39 u32 iwl_find_ie_offset(u8 *beacon, u8 eid, u32 frame_size) in iwl_find_ie_offset() argument 41 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_find_ie_offset() 44 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_find_ie_offset() 47 frame_size -= mgmt->u.beacon.variable - beacon; in iwl_find_ie_offset() 49 ie = cfg80211_find_ie(eid, mgmt->u.beacon.variable, frame_size); in iwl_find_ie_offset() 53 return ie - beacon; in iwl_find_ie_offset()
|
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 849 u8 *beacon, u32 frame_size) in iwl_mvm_mac_ctxt_set_tim() argument 852 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() 856 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() 860 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mvm_mac_ctxt_set_tim() 861 tim_idx += beacon[tim_idx+1] + 2; in iwl_mvm_mac_ctxt_set_tim() 864 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_mvm_mac_ctxt_set_tim() 866 *tim_size = cpu_to_le32((u32)beacon[tim_idx + 1]); in iwl_mvm_mac_ctxt_set_tim() 978 struct sk_buff *beacon, in iwl_mvm_mac_ctxt_set_tx() argument 986 info = IEEE80211_SKB_CB(beacon); in iwl_mvm_mac_ctxt_set_tx() 989 tx_params->len = cpu_to_le16((u16)beacon->len); in iwl_mvm_mac_ctxt_set_tx() [all …]
|
| H A D | debugfs.c | 1312 struct sk_buff *beacon; in _iwl_dbgfs_inject_beacon_ie() local 1349 beacon = ieee80211_beacon_get_template(mvm->hw, vif, NULL, 0); in _iwl_dbgfs_inject_beacon_ie() 1350 if (!beacon) in _iwl_dbgfs_inject_beacon_ie() 1353 if (len && hex2bin(skb_put_zero(beacon, len), bin, len)) { in _iwl_dbgfs_inject_beacon_ie() 1354 dev_kfree_skb(beacon); in _iwl_dbgfs_inject_beacon_ie() 1361 info = IEEE80211_SKB_CB(beacon); in _iwl_dbgfs_inject_beacon_ie() 1368 beacon_cmd.byte_cnt = cpu_to_le16((u16)beacon->len); in _iwl_dbgfs_inject_beacon_ie() 1377 beacon->data, beacon->len); in _iwl_dbgfs_inject_beacon_ie() 1381 u32 offset = iwl_find_ie_offset(beacon->data, in _iwl_dbgfs_inject_beacon_ie() 1383 beacon->len); in _iwl_dbgfs_inject_beacon_ie() [all …]
|
| /freebsd/sys/dev/iser/ |
| H A D | iser_verbs.c | 148 mtx_lock(&ib_conn->beacon.flush_lock); in iser_handle_wc() 150 cv_signal(&ib_conn->beacon.flush_cv); in iser_handle_wc() 151 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_handle_wc() 642 mtx_lock(&ib_conn->beacon.flush_lock); in iser_conn_terminate() 643 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr)); in iser_conn_terminate() 644 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID; in iser_conn_terminate() 645 ib_conn->beacon.send.opcode = IB_WR_SEND; in iser_conn_terminate() 647 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr); in iser_conn_terminate() 650 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_conn_terminate() 655 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock); in iser_conn_terminate() [all …]
|
| H A D | icl_iser.c | 286 mtx_init(&iser_conn->ib_conn.beacon.flush_lock, "iser_flush_lock", NULL, MTX_DEF); in iser_new_conn() 287 cv_init(&iser_conn->ib_conn.beacon.flush_cv, "flush_cv"); in iser_new_conn() 307 cv_destroy(&iser_conn->ib_conn.beacon.flush_cv); in iser_conn_free() 308 mtx_destroy(&iser_conn->ib_conn.beacon.flush_lock); in iser_conn_free()
|
| /freebsd/sys/contrib/device-tree/src/arm64/renesas/ |
| H A D | r8a774b1-beacon-rzg2n-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2n", "renesas,r8a774b1";
|
| H A D | r8a774a1-beacon-rzg2m-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
|
| H A D | r8a774e1-beacon-rzg2h-kit.dts | 9 #include "beacon-renesom-som.dtsi" 10 #include "beacon-renesom-baseboard.dtsi" 14 compatible = "beacon,beacon-rzg2h", "renesas,r8a774e1";
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | ap_drv_ops.c | 73 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; in hostapd_build_ap_extra_ies() local 88 if (add_buf_data(&beacon, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies() 101 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies() 106 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies() 114 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies() 123 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 || in hostapd_build_ap_extra_ies() 128 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 || in hostapd_build_ap_extra_ies() 135 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies() 137 start = wpabuf_put(beacon, 0); in hostapd_build_ap_extra_ies() 139 wpabuf_put(beacon, p - start); in hostapd_build_ap_extra_ies() [all …]
|
| H A D | hostapd.c | 4139 void free_beacon_data(struct beacon_data *beacon) in free_beacon_data() argument 4141 os_free(beacon->head); in free_beacon_data() 4142 beacon->head = NULL; in free_beacon_data() 4143 os_free(beacon->tail); in free_beacon_data() 4144 beacon->tail = NULL; in free_beacon_data() 4145 os_free(beacon->probe_resp); in free_beacon_data() 4146 beacon->probe_resp = NULL; in free_beacon_data() 4147 os_free(beacon->beacon_ies); in free_beacon_data() 4148 beacon->beacon_ies = NULL; in free_beacon_data() 4149 os_free(beacon->proberesp_ies); in free_beacon_data() [all …]
|
| H A D | Makefile | 21 beacon.o \
|
| /freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
| H A D | imx8mn-beacon-kit.dts | 9 #include "imx8mn-beacon-som.dtsi" 10 #include "imx8mn-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
|
| H A D | imx8mm-beacon-kit.dts | 9 #include "imx8mm-beacon-som.dtsi" 10 #include "imx8mm-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm";
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | Makefile | 7 beacon.o debugfs.o
|
| /freebsd/contrib/wpa/src/wps/ |
| H A D | wps_registrar.c | 1304 struct wpabuf *beacon; in wps_set_ie() local 1321 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie() 1323 if (!beacon || !probe) in wps_set_ie() 1330 if (wps_build_version(beacon) || in wps_set_ie() 1331 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie() 1332 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie() 1333 wps_build_selected_registrar(reg, beacon) || in wps_set_ie() 1334 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie() 1335 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie() 1336 wps_build_sel_pbc_reg_uuid_e(reg, beacon) || in wps_set_ie() [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211.h | 729 #define IEEE80211_BEACON_INTERVAL(beacon) \ argument 730 ((beacon)[8] | ((beacon)[9] << 8)) 731 #define IEEE80211_BEACON_CAPABILITY(beacon) \ argument 732 ((beacon)[10] | ((beacon)[11] << 8))
|
| /freebsd/usr.sbin/wpa/src/ap/ |
| H A D | Makefile | 17 beacon.c \
|
| /freebsd/sys/dev/wtap/ |
| H A D | if_wtapvar.h | 87 struct mbuf *beacon; /* beacon */ member
|
| H A D | if_wtap.c | 216 avp->beacon = ieee80211_beacon_alloc(ni); in wtap_beacon_alloc() 217 if (avp->beacon == NULL) { in wtap_beacon_alloc() 253 m = m_dup(avp->beacon, M_NOWAIT); in wtap_beacon_intrp()
|
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | rx.c | 169 variable = mgmt->u.beacon.variable; in rtw_update_rx_freq_from_ie() 171 u.beacon.variable); in rtw_update_rx_freq_from_ie()
|
| /freebsd/contrib/libxo/ |
| H A D | README.md | 67 [](https://github.com…
|
| /freebsd/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, in wpa_driver_set_ap_wps_p2p_ie() argument
|