Home
last modified time | relevance | path

Searched full:beacon (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/linux/drivers/net/wireless/intel/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()
26 * variable-length part of the beacon. in iwl_mld_set_tim_idx()
28 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mld_set_tim_idx()
30 /* Parse variable-length elements of beacon to find WLAN_EID_TIM */ 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()
39 IWL_WARN(mld, "Unable to find TIM Element in beacon\n"); in iwl_mld_set_tim_idx()
51 /* if beacon rate was configured try using it */ in iwl_mld_get_rate_flags()
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Drtl8723b_spec.h69 #define REG_BCNQ_DESA_8723B 0x0308 /* TX Beacon Descriptor Address */
199 #define IMR_BCNDMAINT0_8723B BIT20 /* Beacon DMA Interrupt 0 */
200 #define IMR_BCNDERR0_8723B BIT16 /* Beacon Queue DMA OK0 */
202 #define IMR_BCNDMAINT_E_8723B BIT14 /* Beacon DMA Interrupt Extension for Win7 */
217 #define IMR_BCNDMAINT7_8723B BIT27 /* Beacon DMA Interrupt 7 */
218 #define IMR_BCNDMAINT6_8723B BIT26 /* Beacon DMA Interrupt 6 */
219 #define IMR_BCNDMAINT5_8723B BIT25 /* Beacon DMA Interrupt 5 */
220 #define IMR_BCNDMAINT4_8723B BIT24 /* Beacon DMA Interrupt 4 */
221 #define IMR_BCNDMAINT3_8723B BIT23 /* Beacon DMA Interrupt 3 */
222 #define IMR_BCNDMAINT2_8723B BIT22 /* Beacon DMA Interrupt 2 */
[all …]
/linux/drivers/net/wireless/intel/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()
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c35 * This sets up the beacon timers according to the timestamp of the last
36 * received beacon and the current TSF, configures PCF and DTIM
38 * time to receive beacons, and configures the beacon miss handling so
50 /* No need to configure beacon if we are not associated */ in ath9k_cmn_beacon_config_sta()
52 ath_dbg(common, BEACON, in ath9k_cmn_beacon_config_sta()
53 "STA is not yet associated..skipping beacon config\n"); in ath9k_cmn_beacon_config_sta()
62 * last beacon we received (which may be none). in ath9k_cmn_beacon_config_sta()
83 * need calculate based on the beacon interval. Note that we clamp the in ath9k_cmn_beacon_config_sta()
94 * We ensure a multiple of the beacon period is used. Also, if the sleep in ath9k_cmn_beacon_config_sta()
109 ath_dbg(common, BEACON, "bmiss: %u sleep: %u\n", in ath9k_cmn_beacon_config_sta()
[all …]
/linux/drivers/net/wireless/zydas/zd1211rw/
H A 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, 0); 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()
678 static bool zd_mac_match_cur_beacon(struct zd_mac *mac, struct sk_buff *beacon) in zd_mac_match_cur_beacon() argument
680 if (!mac->beacon.cur_beacon) in zd_mac_match_cur_beacon()
[all …]
/linux/net/mac802154/
H A Dscan.c189 * which one a beacon might have been received. in mac802154_scan_worker()
255 "Error when transmitting beacon request (%d)\n", ret); in mac802154_scan_worker()
325 "BEACON received on page %u channel %u\n", in mac802154_process_beacon()
355 local->beacon.mhr.seq = atomic_inc_return(&wpan_dev->bsn) & 0xFF; in mac802154_transmit_beacon()
374 ret = ieee802154_beacon_push(skb, &local->beacon); in mac802154_transmit_beacon()
433 dev_dbg(&sdata->dev->dev, "Sending beacon\n"); in mac802154_beacon_worker()
437 "Beacon could not be transmitted (%d)\n", ret); in mac802154_beacon_worker()
483 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked()
484 local->beacon.mhr.fc.type = IEEE802154_FC_TYPE_BEACON; in mac802154_send_beacons_locked()
485 local->beacon.mhr.fc.security_enabled = 0; in mac802154_send_beacons_locked()
[all …]
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_rx.c180 /* Process beacon frames also in kernel driver to in libipw_rx_frame_mgmt()
831 * Make the structure we read from the beacon packet to have
1264 *beacon, in libipw_network_init()
1274 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in libipw_network_init()
1275 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init()
1277 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in libipw_network_init()
1278 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in libipw_network_init()
1279 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in libipw_network_init()
1280 /* Where to pull this? beacon->listen_interval; */ in libipw_network_init()
1299 if (libipw_parse_info_param((void *)beacon->variable, in libipw_network_init()
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a774b1-beacon-rzg2n-kit.dts9 #include "beacon-renesom-som.dtsi"
10 #include "beacon-renesom-baseboard.dtsi"
13 model = "Beacon Embedded Works RZ/G2N Development Kit";
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"
13 model = "Beacon EmbeddedWorks RZ/G2M Development Kit";
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"
13 model = "Beacon Embedded Works RZ/G2H Development Kit";
14 compatible = "beacon,beacon-rzg2h", "renesas,r8a774e1";
/linux/net/mac80211/
H A Dtx.c391 * the frame is buffered to be sent after DTIM beacon frame. in ieee80211_tx_h_multicast_ps_buf()
425 /* device releases frame after DTIM beacon */ in ieee80211_tx_h_multicast_ps_buf()
5079 struct beacon_data *beacon, in ieee80211_beacon_update_cntdwn()
5090 beacon_data = beacon->tail; in ieee80211_beacon_set_cntdwn() local
5091 beacon_data_len = beacon->tail_len; in ieee80211_beacon_set_cntdwn()
5094 beacon_data = beacon->head; in ieee80211_beacon_set_cntdwn()
5095 beacon_data_len = beacon->head_len; in ieee80211_beacon_set_cntdwn()
5098 beacon_data = beacon->head; in ieee80211_beacon_set_cntdwn()
5099 beacon_data_len = beacon->head_len; in ieee80211_beacon_set_cntdwn()
5107 bcn_offsets = beacon in ieee80211_beacon_set_cntdwn()
4982 ieee80211_set_beacon_cntdwn(struct ieee80211_sub_if_data * sdata,struct beacon_data * beacon,struct ieee80211_link_data * link) ieee80211_set_beacon_cntdwn() argument
5031 __ieee80211_beacon_update_cntdwn(struct ieee80211_link_data * link,struct beacon_data * beacon) __ieee80211_beacon_update_cntdwn() argument
5057 struct beacon_data *beacon = NULL; ieee80211_beacon_update_cntdwn() local
5117 struct beacon_data *beacon = NULL; ieee80211_beacon_cntdwn_is_complete() local
5221 ieee80211_beacon_get_finish(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,struct beacon_data * beacon,struct sk_buff * skb,struct ieee80211_chanctx_conf * chanctx_conf,u16 csa_off_base) ieee80211_beacon_get_finish() argument
5274 ieee80211_beacon_add_mbssid(struct sk_buff * skb,struct beacon_data * beacon,u8 i) ieee80211_beacon_add_mbssid() argument
5308 __ieee80211_beacon_get_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf,u8 ema_index) __ieee80211_beacon_get_ap() argument
5420 ieee80211_beacon_get_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf,u8 ema_index,struct s1g_short_beacon_data * s1g_sb) ieee80211_beacon_get_ap() argument
5441 ieee80211_beacon_get_ap_ema_list(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_data * link,struct ieee80211_mutable_offsets * offs,bool is_template,struct beacon_data * beacon,struct ieee80211_chanctx_conf * chanctx_conf) ieee80211_beacon_get_ap_ema_list() argument
5483 struct beacon_data *beacon = NULL; __ieee80211_beacon_get() local
5990 struct beacon_data *beacon = ieee80211_get_buffered_bc() local
[all...]
H A Dcfg.c1310 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_assign_beacon()
1312 /* Need to have a beacon head if we don't have one yet */ in ieee80211_assign_beacon()
1436 rcu_assign_pointer(link->u.ap.beacon, new); in ieee80211_start_ap()
1463 if (sdata_dereference(link->u.ap.beacon, sdata)) in ieee80211_start_ap()
1485 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap()
1499 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap()
1543 if (params->beacon.he_bss_color.enabled) in ieee80211_start_ap()
1641 link_conf->he_bss_color = params->beacon.he_bss_color; in ieee80211_change_beacon()
1674 err = ieee80211_assign_beacon(sdata, link, &params->beacon, NULL, NULL, in ieee80211_change_beacon()
1699 old = sdata_dereference(link->u.ap.beacon, sdat in ieee80211_free_next_beacon()
1636 struct cfg80211_beacon_data *beacon = &params->beacon; ieee80211_change_beacon() local
3779 cfg80211_beacon_dup(struct cfg80211_beacon_data * beacon) cfg80211_beacon_dup() argument
[all...]
/linux/include/net/
H A Dnl802154.h250 * @NL802154_COORD_PREAMBLE_CODE: Preamble code used when the beacon was received,
252 * @NL802154_COORD_MEAN_PRF: Mean PRF used when the beacon was received,
255 * @NL802154_COORD_LINK_QUALITY: signal quality of beacon in unspecified units,
259 * frame payload, (only if beacon or probe response had data)
287 * @NL802154_SCAN_ACTIVE: Locate any coordinator transmitting Beacon frames using
288 * a Beacon Request command
289 * @NL802154_SCAN_PASSIVE: Locate any coordinator transmitting Beacon frames
291 * @NL802154_SCAN_ENHANCED_ACTIVE: Same as Active using Enhanced Beacon Request
292 * command instead of Beacon Request command
294 * instead of Beacon frames
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A 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()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtx.h747 * struct iwl_mac_beacon_cmd_v6 - beacon template command
748 * @tx: the tx commands associated with the beacon frame
751 * @tim_idx: the offset of the tim IE in the beacon
753 * @frame: the template of the beacon frame
764 * struct iwl_mac_beacon_cmd_v7 - beacon template command with offloaded CSA
765 * @tx: the tx commands associated with the beacon frame
768 * @tim_idx: the offset of the tim IE in the beacon
772 * @frame: the template of the beacon frame
801 * struct iwl_mac_beacon_cmd - beacon template command with offloaded CSA
802 * @byte_cnt: byte count of the beacon frame.
[all …]
/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.c118 struct sk_buff *beacon; in plfxlc_restore_settings() local
121 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings()
122 beacon_period = mac->beacon.period; in plfxlc_restore_settings()
129 beacon = ieee80211_beacon_get(mac->hw, mac->vif, 0); in plfxlc_restore_settings()
130 if (beacon) { in plfxlc_restore_settings()
131 /*beacon is hardcoded in firmware */ in plfxlc_restore_settings()
132 kfree_skb(beacon); in plfxlc_restore_settings()
143 mac->beacon.last_update = jiffies; in plfxlc_restore_settings()
597 struct sk_buff *beacon = ieee80211_beacon_get(hw, vif, 0); in plfxlc_op_bss_info_changed() local
599 if (beacon) { in plfxlc_op_bss_info_changed()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mn-beacon-kit.dts9 #include "imx8mn-beacon-som.dtsi"
10 #include "imx8mn-beacon-baseboard.dtsi"
13 model = "Beacon EmbeddedWorks i.MX8M Nano Development Kit";
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"
13 model = "Beacon EmbeddedWorks i.MX8M Mini Development Kit";
14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm";
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_cmd.c134 /* beacon interval: 2 bytes */ in ConstructBeacon()
467 * (1)Beacon, (2)Ps-poll, (3)Null data, (4)ProbeRsp.
474 * true: At the second time, we should send the first packet (default:beacon)
475 * to Hw again and set the length in descriptor to the real beacon length.
512 /* 3 (1) beacon */ in rtl8723b_set_FwRsvdPagePkt()
635 /* Disable Hw protection for a time which revserd for Hw sending beacon. */ in rtl8723b_download_rsvd_page()
643 /* Set FWHW_TXQ_CTRL 0x422[6]= 0 to tell Hw the packet is not a real beacon frame. */ in rtl8723b_download_rsvd_page()
647 /* To tell Hw the packet is not a real beacon frame. */ in rtl8723b_download_rsvd_page()
651 /* Clear beacon valid check bit. */ in rtl8723b_download_rsvd_page()
683 /* To make sure that if there exists an adapter which would like to send beacon. */ in rtl8723b_download_rsvd_page()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A 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()
/linux/drivers/net/wireless/ath/ath5k/
H A Dpcu.c50 * - Updating beacon data (with TSF etc)
550 * Beacon control *
639 * ath5k_hw_init_beacon_timers() - Initialize beacon timers
642 * @interval: Current beacon interval
644 * This function is used to initialize beacon timers based on current
677 * beacon alert (DBA) timer and timer2 as next in ath5k_hw_init_beacon_timers()
678 * software beacon alert. Both in 1/8TUs. */ in ath5k_hw_init_beacon_timers()
690 * Set the beacon register and enable all timers. in ath5k_hw_init_beacon_timers()
758 * ath5k_hw_check_beacon_timers() - Check if the beacon timers are correct
760 * @intval: beacon interval
[all …]
H A Dath5k.h535 * @AR5K_TX_QUEUE_BEACON: The beacon queue
536 * @AR5K_TX_QUEUE_CAB: The after-beacon queue
572 * @AR5K_TX_QUEUE_ID_NOQCU_BEACON: Beacon queue on AR5210 (no QCU available)
575 * @AR5K_TX_QUEUE_ID_CAB: Content after beacon queue
576 * @AR5K_TX_QUEUE_ID_BEACON: Beacon queue
670 * @AR5K_PKT_TYPE_BEACON: Beacon
736 BEACON TIMERS DEFINITIONS
740 #define AR5K_BEACON_ENA 0x00800000 /*enable beacon xmit*/
972 * @AR5K_INT_SWBA: SoftWare Beacon Alert - indicates its time to send a
973 * beacon that must be handled in software. The alternative is if
[all …]
H A Dbase.c946 /* beacon buffers */ in ath5k_desc_alloc()
1099 * Always burst out beacon and CAB traffic in ath5k_beaconq_config()
1115 "beacon queueprops tqi_aifs:%d tqi_cw_min:%d tqi_cw_max:%d\n", in ath5k_beaconq_config()
1120 ATH5K_ERR(ah, "%s: unable to update parameters for beacon " in ath5k_beaconq_config()
1292 if (le16_to_cpu(mgmt->u.beacon.capab_info) & WLAN_CAPABILITY_IBSS) { in ath5k_check_ibss_tsf()
1294 * Received an IBSS beacon with the same BSSID. Hardware *must* in ath5k_check_ibss_tsf()
1299 bc_tstamp = le64_to_cpu(mgmt->u.beacon.timestamp); in ath5k_check_ibss_tsf()
1303 "beacon %llx mactime %llx (diff %lld) tsf now %llx\n", in ath5k_check_ibss_tsf()
1312 * (This seems to happen especially with beacon frames bigger in ath5k_check_ibss_tsf()
1315 * timestamp of the beacon since HW must have synced to that. in ath5k_check_ibss_tsf()
[all …]
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h28 /* rtl8180/rtl8185 have 3 queue + beacon queue.
29 * mac80211 can use just one, + beacon = 2 tot.
33 /* rtl8187SE have 6 queues + beacon queues
34 * mac80211 can use 4 QoS data queue, + beacon = 5 tot
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2400pci.h108 * TBCN_EXPIRE: Beacon timer expired interrupt.
128 * TBCN_EXPIRE: Beacon timer expired interrupt.
170 * BEACON_INTERVAL: Beacon interval, default is 100 TU.
194 * BEACON_GEN: Enable beacon generator.
212 * BEACON_SENT: Beacon is send.
252 * TBCN_BEFORE_WAKEUP: Number of beacon before wakeup.
345 * TXCSR6: Beacon Base address register.
530 * BEACON_EXPECT: Beacon expect window.
573 * BCNCSR: Beacon interval control register.
574 * CHANGE: Write one to change beacon interval.
[all …]

12345678910>>...15