Home
last modified time | relevance | path

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

12345678910>>...14

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c86 * is an AP, and the beacon interval of the AP is a multiple or in iwl_mvm_mac_tsf_id_iter()
87 * divisor of the beacon interval of the client, the same TSF in iwl_mvm_mac_tsf_id_iter()
112 * The new interface is AP/GO, so if its beacon interval is a in iwl_mvm_mac_tsf_id_iter()
113 * multiple or a divisor of the beacon interval of an existing in iwl_mvm_mac_tsf_id_iter()
603 * more beacon intervals happen until the DTIM TBTT. Therefore in iwl_mvm_set_fw_dtim_tbtt()
788 /* TODO: Assumes that the beacon id == mac context id */ in iwl_mvm_mac_ctxt_cmd_ibss()
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()
855 * variable-length part of the beacon. */ in iwl_mvm_mac_ctxt_set_tim()
856 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim()
[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/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/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/net/mac80211/
H A Dtx.c388 * the frame is buffered to be sent after DTIM beacon frame. in ieee80211_tx_h_multicast_ps_buf()
422 /* device releases frame after DTIM beacon */ in ieee80211_tx_h_multicast_ps_buf()
5235 struct beacon_data *beacon, in ieee80211_set_beacon_cntdwn() argument
5246 beacon_data = beacon->tail; in ieee80211_set_beacon_cntdwn()
5247 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn()
5250 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn()
5251 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
5254 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn()
5255 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
5263 bcn_offsets = beacon->cntdwn_counter_offsets; in ieee80211_set_beacon_cntdwn()
[all …]
H A Dcfg.c1433 * Updating the beacon might, without even changing the channel, cause in ieee80211_update_ap_bandwidth()
1435 * if the beacon configuration is EHT with 160 MHz, HE could change in ieee80211_update_ap_bandwidth()
1479 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_assign_beacon()
1481 /* Need to have a beacon head if we don't have one yet */ in ieee80211_assign_beacon()
1595 rcu_assign_pointer(link->u.ap.beacon, new); in ieee80211_assign_beacon()
1624 if (sdata_dereference(link->u.ap.beacon, sdata)) in ieee80211_num_beaconing_links()
1646 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap()
1663 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap()
1697 if (params->he_cap && params->beacon.he_oper) { in ieee80211_start_ap()
1700 le32_get_bits(params->beacon.he_oper->he_oper_params, in ieee80211_start_ap()
[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/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/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/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()
H A Dconf.h479 CONF_WAKE_UP_EVENT_BEACON = 0x01, /* Wake on every Beacon*/
482 CONF_WAKE_UP_EVENT_N_BEACONS = 0x08, /* Wake every Nth beacon */
598 * Range: 0 for beacon and Dtim wakeup
618 * Enable or disable the beacon filtering.
625 * Configure Beacon filter pass-thru rules.
640 * received beacon (or probe response) before issuing the BSS_EVENT_LOSE
648 * Beacon receive timeout.
681 * Specifies if beacon early termination procedure is enabled or
691 * beacon must be correctly received in FW before beacon ET
820 * The weight for rssi/beacon average calculation
[all …]
/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 …]
/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/nxp/nxpwifi/
H A Duap_cmd.c910 /* Update 11n HT params from beacon and fill bss_config. */
921 ht_ie = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, params->beacon.tail, in nxpwifi_set_ht_params()
922 params->beacon.tail_len); in nxpwifi_set_ht_params()
937 /* Update 11ac VHT params from beacon and fill bss_config. */
944 vht_ie = cfg80211_find_ie(WLAN_EID_VHT_CAPABILITY, params->beacon.tail, in nxpwifi_set_vht_params()
945 params->beacon.tail_len); in nxpwifi_set_vht_params()
955 /* Extract TPC request from beacon and set power_constraint. */
962 tpc_ie = cfg80211_find_ie(WLAN_EID_TPC_REQUEST, params->beacon.tail, in nxpwifi_set_tpc_params()
963 params->beacon.tail_len); in nxpwifi_set_tpc_params()
1041 params->beacon.tail, in nxpwifi_set_11ax_status()
[all …]
/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 …]
H A Drt2x00mac.c221 * Loop through all beacon queues to find a free in rt2x00mac_add_interface()
222 * entry. Since there are as much beacon entries in rt2x00mac_add_interface()
246 intf->beacon = entry; in rt2x00mac_add_interface()
293 * Release beacon entry so it is available for in rt2x00mac_remove_interface()
296 clear_bit(ENTRY_BCN_ASSIGNED, &intf->beacon->flags); in rt2x00mac_remove_interface()
429 /* queue work to upodate the beacon template */ in rt2x00mac_set_tim()
603 * Clear the 'enable_beacon' flag and clear beacon because in rt2x00mac_bss_info_changed()
604 * the beacon queue has been stopped after hardware reset. in rt2x00mac_bss_info_changed()
619 * -> stop beacon queue. in rt2x00mac_bss_info_changed()
624 * Clear beacon in the H/W for this vif. This is needed in rt2x00mac_bss_info_changed()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Db43legacy.h130 /* SHM_SHARED beacon/AP variables */
132 #define B43legacy_SHM_SH_BTL0 0x0018 /* Beacon template length 0 */
133 #define B43legacy_SHM_SH_BTL1 0x001A /* Beacon template length 1 */
134 #define B43legacy_SHM_SH_BTSFOFF 0x001C /* Beacon TSF offset */
135 #define B43legacy_SHM_SH_TIMPOS 0x001E /* TIM position in beacon */
136 #define B43legacy_SHM_SH_BEACPHYCTL 0x0054 /* Beacon PHY TX control word */
201 #define B43legacy_MACCTL_BEACPROMISC 0x00100000 /* Beacon Promiscuous */
212 #define B43legacy_MACCMD_BEACON0_VALID 0x00000001 /* Beacon 0 in template RAM is busy/valid */
213 #define B43legacy_MACCMD_BEACON1_VALID 0x00000002 /* Beacon 1 in template RAM is busy/valid */
234 #define B43legacy_IRQ_TBTT_INDI 0x00000004 /* Target Beacon Transmit Time */
[all …]
/linux/net/wireless/
H A Dreg.h57 * regulatory_hint_found_beacon - hints a beacon was found on a channel
58 * @wiphy: the wireless device where the beacon was found on
59 * @beacon_chan: the channel on which the beacon was found on
62 * This informs the wireless core that a beacon from an AP was found on
114 * beacon regulatory hints. The ieee80211_regdom module parameter will always
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmain.c153 /* Parse the beacon frame to find the TIM element and set tim_idx & tim_size */
156 u8 *beacon, u32 frame_size) in iwl_set_beacon_tim() argument
159 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_set_beacon_tim()
163 * variable-length part of the beacon. in iwl_set_beacon_tim()
165 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_set_beacon_tim()
167 /* Parse variable-length elements of beacon to find WLAN_EID_TIM */ in iwl_set_beacon_tim()
169 (beacon[tim_idx] != WLAN_EID_TIM)) in iwl_set_beacon_tim()
170 tim_idx += beacon[tim_idx+1] + 2; in iwl_set_beacon_tim()
173 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_set_beacon_tim()
175 tx_beacon_cmd->tim_size = beacon[tim_idx+1]; in iwl_set_beacon_tim()
[all …]

12345678910>>...14