| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 20 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 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/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/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() 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/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-utils.h | 39 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 D | common-beacon.c | 35 * 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/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/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_rx.c | 180 /* 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 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 | 248 * @NL802154_COORD_PREAMBLE_CODE: Preamble code used when the beacon was received, 250 * @NL802154_COORD_MEAN_PRF: Mean PRF used when the beacon was received, 253 * @NL802154_COORD_LINK_QUALITY: signal quality of beacon in unspecified units, 257 * frame payload, (only if beacon or probe response had data) 285 * @NL802154_SCAN_ACTIVE: Locate any coordinator transmitting Beacon frames using 286 * a Beacon Request command 287 * @NL802154_SCAN_PASSIVE: Locate any coordinator transmitting Beacon frames 289 * @NL802154_SCAN_ENHANCED_ACTIVE: Same as Active using Enhanced Beacon Request 290 * command instead of Beacon Request command 292 * instead of Beacon frame [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | tx.h | 747 * 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 fram [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/net/mac80211/ |
| H A D | cfg.c | 1327 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_assign_beacon() 1329 /* Need to have a beacon head if we don't have one yet */ in ieee80211_assign_beacon() 1453 rcu_assign_pointer(link->u.ap.beacon, new); in ieee80211_assign_beacon() 1480 if (sdata_dereference(link->u.ap.beacon, sdata)) in ieee80211_num_beaconing_links() 1502 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap() 1516 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap() 1560 if (params->beacon.he_bss_color.enabled) in ieee80211_start_ap() 1658 link_conf->he_bss_color = params->beacon.he_bss_color; in ieee80211_start_ap() 1691 err = ieee80211_assign_beacon(sdata, link, ¶ms->beacon, NULL, NULL, in ieee80211_start_ap() 1716 old = sdata_dereference(link->u.ap.beacon, sdata); in ieee80211_start_ap() [all …]
|
| /linux/drivers/net/wireless/purelifi/plfxlc/ |
| H A D | mac.c | 118 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 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 | 134 /* 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 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
|