/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | 29 ath9k_hw_get_txq_props(ah, priv->beacon.beaconq, &qi); in ath9k_htc_beaconq_config() 44 * For WIFI Beacon Distribution 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() 217 /* Get a new beacon */ in ath9k_htc_send_beacon() [all …]
|
H A D | common-beacon.c | 34 * This sets up the beacon timers according to the timestamp of the last 35 * received beacon and the current TSF, configures PCF and DTIM 37 * time to receive beacons, and configures the beacon miss handling so 49 /* No need to configure beacon if we are not associated */ in ath9k_cmn_beacon_config_sta() 51 ath_dbg(common, BEACON, in ath9k_cmn_beacon_config_sta() 52 "STA is not yet associated..skipping beacon config\n"); in ath9k_cmn_beacon_config_sta() 61 * last beacon we received (which may be none). in ath9k_cmn_beacon_config_sta() 82 * need calculate based on the beacon interval. Note that we clamp the in ath9k_cmn_beacon_config_sta() 93 * We ensure a multiple of the beacon period is used. Also, if the sleep in ath9k_cmn_beacon_config_sta() 108 ath_dbg(common, BEACON, "bmiss: %u sleep: %u\n", in ath9k_cmn_beacon_config_sta() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 86 * 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/staging/rtl8723bs/include/ |
H A D | rtl8723b_spec.h | 69 #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/zydas/zd1211rw/ |
H A D | zd_mac.c | 133 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() 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 …]
|
/linux/net/mac802154/ |
H A D | scan.c | 189 * 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/arch/arm64/boot/dts/renesas/ |
H A D | r8a774b1-beacon-rzg2n-kit.dts | 9 #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 D | r8a774a1-beacon-rzg2m-kit.dts | 9 #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 D | r8a774e1-beacon-rzg2h-kit.dts | 9 #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/include/net/ |
H A D | nl802154.h | 250 * @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/net/mac80211/ |
H A D | tx.c | 398 * the frame is buffered to be sent after DTIM beacon frame. in ieee80211_tx_h_multicast_ps_buf() 432 /* device releases frame after DTIM beacon */ in ieee80211_tx_h_multicast_ps_buf() 4987 struct beacon_data *beacon, in ieee80211_set_beacon_cntdwn() argument 4998 beacon_data = beacon->tail; in ieee80211_set_beacon_cntdwn() 4999 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn() 5002 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn() 5003 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 5006 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn() 5007 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 5015 bcn_offsets = beacon->cntdwn_counter_offsets; in ieee80211_set_beacon_cntdwn() [all …]
|
H A D | cfg.c | 1140 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_assign_beacon() 1142 /* Need to have a beacon head if we don't have one yet */ in ieee80211_assign_beacon() 1263 rcu_assign_pointer(link->u.ap.beacon, new); in ieee80211_assign_beacon() 1290 if (sdata_dereference(link->u.ap.beacon, sdata)) in ieee80211_num_beaconing_links() 1312 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap() 1325 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap() 1369 if (params->beacon.he_bss_color.enabled) in ieee80211_start_ap() 1464 link_conf->he_bss_color = params->beacon.he_bss_color; in ieee80211_start_ap() 1497 err = ieee80211_assign_beacon(sdata, link, ¶ms->beacon, NULL, NULL, in ieee80211_start_ap() 1515 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | stats.h | 38 * @beacon_silence_rssi_a: RSSI silence after beacon frame 39 * @beacon_silence_rssi_b: RSSI silence after beacon frame 40 * @beacon_silence_rssi_c: RSSI silence after beacon frame 44 * @beacon_rssi_a: beacon RSSI on antenna A 45 * @beacon_rssi_b: beacon RSSI on antenna B 46 * @beacon_rssi_c: beacon RSSI on antenna C 47 * @beacon_energy_a: beacon energy on antenna A 48 * @beacon_energy_b: beacon energy on antenna B 49 * @beacon_energy_c: beacon energy on antenna C 92 __le32 beacon_silence_rssi_a; /* RSSI silence after beacon frame */ [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | rx.c | 35 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/purelifi/plfxlc/ |
H A D | mac.c | 124 struct sk_buff *beacon; in plfxlc_restore_settings() local 127 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings() 128 beacon_period = mac->beacon.period; in plfxlc_restore_settings() 135 beacon = ieee80211_beacon_get(mac->hw, mac->vif, 0); in plfxlc_restore_settings() 136 if (beacon) { in plfxlc_restore_settings() 137 /*beacon is hardcoded in firmware */ in plfxlc_restore_settings() 138 kfree_skb(beacon); in plfxlc_restore_settings() 149 mac->beacon.last_update = jiffies; in plfxlc_restore_settings() 603 struct sk_buff *beacon = ieee80211_beacon_get(hw, vif, 0); in plfxlc_op_bss_info_changed() local 605 if (beacon) { in plfxlc_op_bss_info_changed() [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-beacon-kit.dts | 9 #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 D | imx8mm-beacon-kit.dts | 9 #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 D | rtl8723b_cmd.c | 136 /* beacon interval: 2 bytes */ in ConstructBeacon() 291 * To check if reserved page content is destroyed by beacon because beacon 482 * (1)Beacon, (2)Ps-poll, (3)Null data, (4)ProbeRsp. 489 * true: At the second time, we should send the first packet (default:beacon) 490 * to Hw again and set the length in descriptor to the real beacon length. 527 /* 3 (1) beacon */ in rtl8723b_set_FwRsvdPagePkt() 653 /* Disable Hw protection for a time which revserd for Hw sending beacon. */ in rtl8723b_download_rsvd_page() 661 /* Set FWHW_TXQ_CTRL 0x422[6]= 0 to tell Hw the packet is not a real beacon frame. */ in rtl8723b_download_rsvd_page() 665 /* To tell Hw the packet is not a real beacon frame. */ in rtl8723b_download_rsvd_page() 669 /* Clear beacon valid check bit. */ in rtl8723b_download_rsvd_page() [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | rx.c | 48 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 D | pcu.c | 50 * - 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 D | ath5k.h | 535 * @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 D | base.c | 946 /* 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/ralink/rt2x00/ |
H A D | rt2400pci.h | 108 * 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 …]
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | rtl8180.h | 28 /* 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/realtek/rtl8xxxu/ |
H A D | regs.h | 247 #define IMR0_BCNDMAINT0 BIT(20) /* Beacon DMA Interrupt 0 */ 248 #define IMR0_BCNDERR0 BIT(16) /* Beacon Queue DMA Error 0 */ 251 #define IMR0_BCNDMAINT_E BIT(14) /* Beacon DMA Interrupt 273 #define IMR1_BCNDMAINT7 BIT(27) /* Beacon DMA Interrupt 7 */ 274 #define IMR1_BCNDMAINT6 BIT(26) /* Beacon DMA Interrupt 6 */ 275 #define IMR1_BCNDMAINT5 BIT(25) /* Beacon DMA Interrupt 5 */ 276 #define IMR1_BCNDMAINT4 BIT(24) /* Beacon DMA Interrupt 4 */ 277 #define IMR1_BCNDMAINT3 BIT(23) /* Beacon DMA Interrupt 3 */ 278 #define IMR1_BCNDMAINT2 BIT(22) /* Beacon DMA Interrupt 2 */ 279 #define IMR1_BCNDMAINT1 BIT(21) /* Beacon DMA Interrupt 1 */ [all …]
|