Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dbeacon.c24 sc->beacon.tx_processed = false; in ath9k_reset_beacon_status()
25 sc->beacon.tx_last = false; in ath9k_reset_beacon_status()
40 ath9k_hw_get_txq_props(ah, sc->beacon.beaconq, &qi); in ath9k_beaconq_config()
60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config()
63 ath9k_hw_resettxqueue(ah, sc->beacon.beaconq); in ath9k_beaconq_config()
103 info.qcu = sc->beacon.beaconq; in ath9k_beacon_setup()
120 struct ath_txq *cabq = sc->beacon.cabq; in ath9k_beacon_generate()
145 mgmt_hdr->u.beacon.timestamp = avp->tsf_adjust; in ath9k_beacon_generate()
201 avp->av_bcbuf = list_first_entry(&sc->beacon.bbuf, struct ath_buf, list); in ath9k_beacon_assign_slot()
205 if (sc->beacon.bslot[slot] == NULL) { in ath9k_beacon_assign_slot()
[all …]
Dhtc_drv_beacon.c29 ath9k_hw_get_txq_props(ah, priv->beacon.beaconq, &qi); in ath9k_htc_beaconq_config()
57 if (!ath9k_hw_set_txq_props(ah, priv->beacon.beaconq, &qi)) { in ath9k_htc_beaconq_config()
59 "Unable to update beacon queue %u!\n", priv->beacon.beaconq); in ath9k_htc_beaconq_config()
61 ath9k_hw_resettxqueue(ah, priv->beacon.beaconq); in ath9k_htc_beaconq_config()
87 priv->beacon.bmisscnt = 0; in ath9k_htc_beacon_init()
148 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_buffered()
201 struct sk_buff *beacon; in ath9k_htc_send_beacon() local
209 vif = priv->beacon.bslot[slot]; in ath9k_htc_send_beacon()
218 beacon = ieee80211_beacon_get(priv->hw, vif); in ath9k_htc_send_beacon()
219 if (!beacon) { in ath9k_htc_send_beacon()
[all …]
DMakefile2 ath9k-y += beacon.o \
63 common-beacon.o \
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c816 u8 *beacon, u32 frame_size) in iwl_mvm_mac_ctxt_set_tim() argument
819 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim()
823 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim()
827 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_mvm_mac_ctxt_set_tim()
828 tim_idx += beacon[tim_idx+1] + 2; in iwl_mvm_mac_ctxt_set_tim()
831 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_mvm_mac_ctxt_set_tim()
833 *tim_size = cpu_to_le32((u32)beacon[tim_idx + 1]); in iwl_mvm_mac_ctxt_set_tim()
839 static u32 iwl_mvm_find_ie_offset(u8 *beacon, u8 eid, u32 frame_size) in iwl_mvm_find_ie_offset() argument
841 struct ieee80211_mgmt *mgmt = (void *)beacon; in iwl_mvm_find_ie_offset()
844 if (WARN_ON_ONCE(frame_size <= (mgmt->u.beacon.variable - beacon))) in iwl_mvm_find_ie_offset()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c133 struct sk_buff *beacon, bool in_intr);
359 struct sk_buff *beacon; in zd_restore_settings() local
370 beacon_interval = mac->beacon.interval; in zd_restore_settings()
371 beacon_period = mac->beacon.period; in zd_restore_settings()
401 beacon = ieee80211_beacon_get(mac->hw, mac->vif); in zd_restore_settings()
402 if (beacon) in zd_restore_settings()
403 zd_mac_config_beacon(mac->hw, beacon, false); in zd_restore_settings()
410 mac->beacon.last_update = jiffies; in zd_restore_settings()
674 static bool zd_mac_match_cur_beacon(struct zd_mac *mac, struct sk_buff *beacon) in zd_mac_match_cur_beacon() argument
676 if (!mac->beacon.cur_beacon) in zd_mac_match_cur_beacon()
[all …]
Dzd_mac.h153 struct beacon { struct
176 struct beacon beacon; argument
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mm-beacon-kit.dts9 #include "imx8mm-beacon-som.dtsi"
10 #include "imx8mm-beacon-baseboard.dtsi"
14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a774a1-beacon-rzg2m-kit.dts9 #include "beacon-renesom-som.dtsi"
10 #include "beacon-renesom-baseboard.dtsi"
14 compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1379 *beacon, in libipw_network_init()
1389 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in libipw_network_init()
1390 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init()
1392 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in libipw_network_init()
1393 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in libipw_network_init()
1394 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in libipw_network_init()
1415 (beacon->info_element, stats->len - sizeof(*beacon), network)) in libipw_network_init()
1527 *beacon, struct libipw_rx_stats in libipw_process_probe_response()
1535 struct libipw_info_element *info_element = beacon->info_element; in libipw_process_probe_response()
1541 beacon->header.addr3, in libipw_process_probe_response()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Drx.c35 u8 beacon) in wl1251_rx_status() argument
53 if ((wl->bss_type == BSS_TYPE_IBSS) && beacon) { in wl1251_rx_status()
138 u8 *rx_buffer, beacon = 0; in wl1251_rx_body() local
174 beacon = 1; in wl1251_rx_body()
176 wl1251_rx_status(wl, desc, &status, beacon); in wl1251_rx_body()
179 beacon ? "beacon" : ""); in wl1251_rx_body()
/kernel/linux/linux-5.10/net/mac80211/
Dtx.c4596 struct beacon_data *beacon) in ieee80211_set_beacon_cntdwn() argument
4602 u8 count = beacon->cntdwn_current_counter; in ieee80211_set_beacon_cntdwn()
4606 beacon_data = beacon->tail; in ieee80211_set_beacon_cntdwn()
4607 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn()
4610 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn()
4611 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4614 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn()
4615 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4625 if (beacon->cntdwn_counter_offsets[i]) { in ieee80211_set_beacon_cntdwn()
4626 if (WARN_ON_ONCE(beacon->cntdwn_counter_offsets[i] >= in ieee80211_set_beacon_cntdwn()
[all …]
Dcfg.c964 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_assign_beacon()
1046 rcu_assign_pointer(sdata->u.ap.beacon, new); in ieee80211_assign_beacon()
1071 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1179 err = ieee80211_assign_beacon(sdata, &params->beacon, NULL); in ieee80211_start_ap()
1202 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
1206 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_start_ap()
1243 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_change_beacon()
1267 old_beacon = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_stop_ap()
1297 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_stop_ap()
2302 if (!sdata_dereference(sdata->u.ap.beacon, sdata)) in ieee80211_change_bss()
[all …]
Doffchannel.c803 !rcu_access_pointer(sdata->bss->beacon)) in ieee80211_mgmt_tx()
885 struct beacon_data *beacon = NULL; in ieee80211_mgmt_tx() local
890 beacon = rcu_dereference(sdata->u.ap.beacon); in ieee80211_mgmt_tx()
892 beacon = rcu_dereference(sdata->u.ibss.presp); in ieee80211_mgmt_tx()
894 beacon = rcu_dereference(sdata->u.mesh.beacon); in ieee80211_mgmt_tx()
896 if (beacon) in ieee80211_mgmt_tx()
899 beacon->cntdwn_current_counter; in ieee80211_mgmt_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Drx.c48 u8 beacon, u8 probe_rsp) in wl1271_rx_status() argument
95 if (beacon || probe_rsp) in wl1271_rx_status()
98 if (beacon) in wl1271_rx_status()
109 u8 beacon = 0; in wl1271_rx_handle_data() local
179 beacon = 1; in wl1271_rx_handle_data()
183 wl1271_rx_status(wl, desc, IEEE80211_SKB_RXCB(skb), beacon, in wl1271_rx_handle_data()
190 beacon ? "beacon" : "", in wl1271_rx_handle_data()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_softmac.c771 rtllib_authentication_req(struct rtllib_network *beacon, in rtllib_authentication_req() argument
795 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req()
797 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req()
1143 rtllib_association_req(struct rtllib_network *beacon, in rtllib_association_req() argument
1163 unsigned int rate_len = (beacon->rates_len ? in rtllib_association_req()
1164 (beacon->rates_len + 2) : 0) + in rtllib_association_req()
1165 (beacon->rates_ex_len ? (beacon->rates_ex_len) + in rtllib_association_req()
1168 unsigned int wmm_info_len = beacon->qos_data.supported ? 9 : 0; in rtllib_association_req()
1169 unsigned int turbo_info_len = beacon->Turbo_Enable ? 9 : 0; in rtllib_association_req()
1202 if (beacon->bCkipSupported) in rtllib_association_req()
[all …]
Drtllib_rx.c2312 struct rtllib_probe_response *beacon, in rtllib_network_init() argument
2319 ether_addr_copy(network->bssid, beacon->header.addr3); in rtllib_network_init()
2320 network->capability = le16_to_cpu(beacon->capability); in rtllib_network_init()
2322 network->time_stamp[0] = beacon->time_stamp[0]; in rtllib_network_init()
2323 network->time_stamp[1] = beacon->time_stamp[1]; in rtllib_network_init()
2324 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in rtllib_network_init()
2361 beacon->info_element, in rtllib_network_init()
2362 (stats->len - sizeof(*beacon)), in rtllib_network_init()
2563 struct rtllib_probe_response *beacon, in rtllib_process_probe_response() argument
2568 struct rtllib_info_element *info_element = &beacon->info_element[0]; in rtllib_process_probe_response()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c167 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, params->beacon.tail, in mwifiex_set_ht_params()
168 params->beacon.tail_len); in mwifiex_set_ht_params()
191 vht_ie = cfg80211_find_ie(WLAN_EID_VHT_CAPABILITY, params->beacon.tail, in mwifiex_set_vht_params()
192 params->beacon.tail_len); in mwifiex_set_vht_params()
213 tpc_ie = cfg80211_find_ie(WLAN_EID_TPC_REQUEST, params->beacon.tail, in mwifiex_set_tpc_params()
214 params->beacon.tail_len); in mwifiex_set_tpc_params()
261 int var_offset = offsetof(struct ieee80211_mgmt, u.beacon.variable); in mwifiex_set_uap_rates()
262 const u8 *var_pos = params->beacon.head + var_offset; in mwifiex_set_uap_rates()
263 int len = params->beacon.head_len - var_offset; in mwifiex_set_uap_rates()
275 params->beacon.tail, in mwifiex_set_uap_rates()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c615 ieee80211_authentication_req(struct ieee80211_network *beacon, in ieee80211_authentication_req() argument
637 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req()
639 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req()
935 ieee80211_association_req(struct ieee80211_network *beacon, in ieee80211_association_req() argument
961 unsigned int wmm_info_len = beacon->qos_data.supported ? 9 : 0; in ieee80211_association_req()
963 unsigned int turbo_info_len = beacon->Turbo_Enable ? 9 : 0; in ieee80211_association_req()
983 wmm_info_len = beacon->qos_data.supported ? 9 : 0; in ieee80211_association_req()
985 if (beacon->bCkipSupported) in ieee80211_association_req()
988 if (beacon->bCcxRmEnable) in ieee80211_association_req()
991 if (beacon->BssCcxVerNumber >= 2) in ieee80211_association_req()
[all …]
Dieee80211_rx.c2039 struct ieee80211_probe_response *beacon, in ieee80211_network_init() argument
2054 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in ieee80211_network_init()
2055 network->capability = le16_to_cpu(beacon->capability); in ieee80211_network_init()
2057 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in ieee80211_network_init()
2058 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in ieee80211_network_init()
2059 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in ieee80211_network_init()
2093 (ieee, beacon->info_element, stats->len - sizeof(*beacon), network, stats)) in ieee80211_network_init()
2267 struct ieee80211_probe_response *beacon, in ieee80211_process_probe_response() argument
2274 struct ieee80211_info_element *info_element = &beacon->info_element[0]; in ieee80211_process_probe_response()
2276 int fc = WLAN_FC_GET_STYPE(le16_to_cpu(beacon->header.frame_ctl)); in ieee80211_process_probe_response()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-uwb_rc28 What: /sys/class/uwb_rc/uwbN/beacon
53 included in this device's beacon, in space separated
103 controllers beacon group.
111 interval superframe timer) of the last beacon from
136 The latest IEs included in this device's beacon, in
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c165 int lbtf_beacon_set(struct lbtf_private *priv, struct sk_buff *beacon) in lbtf_beacon_set() argument
172 if (beacon->len > MRVL_MAX_BCN_SIZE) { in lbtf_beacon_set()
176 size = sizeof(cmd) - sizeof(cmd.beacon) + beacon->len; in lbtf_beacon_set()
178 cmd.len = cpu_to_le16(beacon->len); in lbtf_beacon_set()
179 memcpy(cmd.beacon, (u8 *) beacon->data, beacon->len); in lbtf_beacon_set()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.c727 if (unlikely(!intf->beacon)) in rt2x00queue_clear_beacon()
733 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_clear_beacon()
740 rt2x00dev->ops->lib->clear_beacon(intf->beacon); in rt2x00queue_clear_beacon()
752 if (unlikely(!intf->beacon)) in rt2x00queue_update_beacon()
758 rt2x00queue_free_skb(intf->beacon); in rt2x00queue_update_beacon()
760 intf->beacon->skb = ieee80211_beacon_get(rt2x00dev->hw, vif); in rt2x00queue_update_beacon()
761 if (!intf->beacon->skb) in rt2x00queue_update_beacon()
769 rt2x00queue_create_tx_descriptor(rt2x00dev, intf->beacon->skb, &txdesc, NULL); in rt2x00queue_update_beacon()
774 skbdesc = get_skb_frame_desc(intf->beacon->skb); in rt2x00queue_update_beacon()
780 rt2x00dev->ops->lib->write_beacon(intf->beacon, &txdesc); in rt2x00queue_update_beacon()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c118 struct iwlagn_beacon_notif *beacon = (void *)pkt->data; in iwlagn_rx_beacon_notif() local
120 u16 status = le16_to_cpu(beacon->beacon_notify_hdr.status.status); in iwlagn_rx_beacon_notif()
121 u8 rate = iwl_hw_get_rate(beacon->beacon_notify_hdr.rate_n_flags); in iwlagn_rx_beacon_notif()
126 beacon->beacon_notify_hdr.failure_frame, in iwlagn_rx_beacon_notif()
127 le32_to_cpu(beacon->ibss_mgr_status), in iwlagn_rx_beacon_notif()
128 le32_to_cpu(beacon->high_tsf), in iwlagn_rx_beacon_notif()
129 le32_to_cpu(beacon->low_tsf), rate); in iwlagn_rx_beacon_notif()
132 priv->ibss_manager = le32_to_cpu(beacon->ibss_mgr_status); in iwlagn_rx_beacon_notif()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c395 u8 *beacon; in rtl8723e_set_fw_rsvdpagepkt() local
404 beacon = &reserved_page_packet[BEACON_PG * 128]; in rtl8723e_set_fw_rsvdpagepkt()
405 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl8723e_set_fw_rsvdpagepkt()
406 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8723e_set_fw_rsvdpagepkt()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c1527 u8 *beacon; in rtl8812ae_set_fw_rsvdpagepkt() local
1538 beacon = &reserved_page_packet_8812[BEACON_PG * 512]; in rtl8812ae_set_fw_rsvdpagepkt()
1539 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl8812ae_set_fw_rsvdpagepkt()
1540 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8812ae_set_fw_rsvdpagepkt()
1664 u8 *beacon; in rtl8821ae_set_fw_rsvdpagepkt() local
1675 beacon = &reserved_page_packet_8821[BEACON_PG * 256]; in rtl8821ae_set_fw_rsvdpagepkt()
1676 SET_80211_HDR_ADDRESS2(beacon, mac->mac_addr); in rtl8821ae_set_fw_rsvdpagepkt()
1677 SET_80211_HDR_ADDRESS3(beacon, mac->bssid); in rtl8821ae_set_fw_rsvdpagepkt()

123456