Home
last modified time | relevance | path

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

1234

/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dap.c20 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 Dap.h39 u8 *beacon, u32 frame_size);
42 struct sk_buff *beacon,
H A Ddebugfs.c717 struct sk_buff *beacon = in _iwl_dbgfs_inject_beacon_ie() local
721 if (!beacon) in _iwl_dbgfs_inject_beacon_ie()
725 hex2bin(skb_put_zero(beacon, n_bytes), in _iwl_dbgfs_inject_beacon_ie()
727 dev_kfree_skb(beacon); in _iwl_dbgfs_inject_beacon_ie()
731 info = IEEE80211_SKB_CB(beacon); in _iwl_dbgfs_inject_beacon_ie()
737 beacon_cmd.byte_cnt = cpu_to_le16((u16)beacon->len); in _iwl_dbgfs_inject_beacon_ie()
742 beacon->data, beacon->len); in _iwl_dbgfs_inject_beacon_ie()
744 offset = iwl_find_ie_offset(beacon->data, in _iwl_dbgfs_inject_beacon_ie()
746 beacon->len); in _iwl_dbgfs_inject_beacon_ie()
750 iwl_mld_send_beacon_template_cmd(mld, beacon, &beacon_cmd); in _iwl_dbgfs_inject_beacon_ie()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-utils.h39 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 Dmac-ctxt.c849 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()
960 struct sk_buff *beacon, in iwl_mvm_mac_ctxt_set_tx() argument
968 info = IEEE80211_SKB_CB(beacon); in iwl_mvm_mac_ctxt_set_tx()
971 tx_params->len = cpu_to_le16((u16)beacon->len); in iwl_mvm_mac_ctxt_set_tx()
[all …]
H A Ddebugfs.c1313 struct sk_buff *beacon; in _iwl_dbgfs_inject_beacon_ie() local
1350 beacon = ieee80211_beacon_get_template(mvm->hw, vif, NULL, 0); in _iwl_dbgfs_inject_beacon_ie()
1351 if (!beacon) in _iwl_dbgfs_inject_beacon_ie()
1354 if (len && hex2bin(skb_put_zero(beacon, len), bin, len)) { in _iwl_dbgfs_inject_beacon_ie()
1355 dev_kfree_skb(beacon); in _iwl_dbgfs_inject_beacon_ie()
1362 info = IEEE80211_SKB_CB(beacon); in _iwl_dbgfs_inject_beacon_ie()
1369 beacon_cmd.byte_cnt = cpu_to_le16((u16)beacon->len); in _iwl_dbgfs_inject_beacon_ie()
1378 beacon->data, beacon->len); in _iwl_dbgfs_inject_beacon_ie()
1382 u32 offset = iwl_find_ie_offset(beacon->data, in _iwl_dbgfs_inject_beacon_ie()
1384 beacon->len); in _iwl_dbgfs_inject_beacon_ie()
[all …]
/freebsd/sys/dev/iser/
H A Diser_verbs.c148 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()
640 mtx_lock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()
641 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr)); in iser_conn_terminate()
642 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID; in iser_conn_terminate()
643 ib_conn->beacon.send.opcode = IB_WR_SEND; in iser_conn_terminate()
645 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr); in iser_conn_terminate()
648 mtx_unlock(&ib_conn->beacon.flush_lock); in iser_conn_terminate()
653 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock); in iser_conn_terminate()
[all …]
H A Dicl_iser.c286 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 Dr8a774b1-beacon-rzg2n-kit.dts9 #include "beacon-renesom-som.dtsi"
10 #include "beacon-renesom-baseboard.dtsi"
14 compatible = "beacon,beacon-rzg2n", "renesas,r8a774b1";
H A Dr8a774a1-beacon-rzg2m-kit.dts9 #include "beacon-renesom-som.dtsi"
10 #include "beacon-renesom-baseboard.dtsi"
14 compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
H A Dr8a774e1-beacon-rzg2h-kit.dts9 #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 Dhostapd.c4379 void free_beacon_data(struct beacon_data *beacon) in free_beacon_data() argument
4381 os_free(beacon->head); in free_beacon_data()
4382 beacon->head = NULL; in free_beacon_data()
4383 os_free(beacon->tail); in free_beacon_data()
4384 beacon->tail = NULL; in free_beacon_data()
4385 os_free(beacon->probe_resp); in free_beacon_data()
4386 beacon->probe_resp = NULL; in free_beacon_data()
4387 os_free(beacon->beacon_ies); in free_beacon_data()
4388 beacon->beacon_ies = NULL; in free_beacon_data()
4389 os_free(beacon->proberesp_ies); in free_beacon_data()
[all …]
H A Dap_drv_ops.c76 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; in hostapd_build_ap_extra_ies() local
91 if (add_buf_data(&beacon, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
104 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
109 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
117 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
128 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
133 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
140 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
142 start = wpabuf_put(beacon, 0); in hostapd_build_ap_extra_ies()
144 wpabuf_put(beacon, p - start); in hostapd_build_ap_extra_ies()
[all …]
H A DMakefile24 beacon.o \
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mn-beacon-kit.dts9 #include "imx8mn-beacon-som.dtsi"
10 #include "imx8mn-beacon-baseboard.dtsi"
14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
H A Dimx8mm-beacon-kit.dts9 #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 DMakefile7 beacon.o debugfs.o
/freebsd/contrib/wpa/src/wps/
H A Dwps_registrar.c1304 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 Dieee80211.h729 #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 DMakefile18 beacon.c \
/freebsd/sys/dev/wtap/
H A Dif_wtapvar.h87 struct mbuf *beacon; /* beacon */ member
H A Dif_wtap.c216 avp->beacon = ieee80211_beacon_alloc(ni); in wtap_beacon_alloc()
217 if (avp->beacon == NULL) { in wtap_beacon_alloc()
290 m = m_dup(avp->beacon, M_NOWAIT); in wtap_beacon_intrp()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c679 struct sk_buff *beacon; in brcms_ops_bss_info_changed() local
683 beacon = ieee80211_beacon_get_tim(hw, vif, &tim_offset, NULL, 0); in brcms_ops_bss_info_changed()
684 brcms_c_set_new_beacon(wl->wlc, beacon, tim_offset, in brcms_ops_bss_info_changed()
948 struct sk_buff *beacon = NULL; in brcms_ops_beacon_set_tim() local
953 beacon = ieee80211_beacon_get_tim(hw, wl->wlc->vif, in brcms_ops_beacon_set_tim()
955 if (beacon) in brcms_ops_beacon_set_tim()
956 brcms_c_set_new_beacon(wl->wlc, beacon, tim_offset, in brcms_ops_beacon_set_tim()
/freebsd/sys/contrib/dev/rtw88/
H A Drx.c169 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 DREADME.md67 [![Analytics](https://ga-beacon.appspot.com/UA-56056421-1/Juniper/libxo/Readme)](https://github.com…

1234