/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | beacon.c | 24 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() 44 /* Always burst out beacon and CAB traffic. */ in ath9k_beaconq_config() 60 if (!ath9k_hw_set_txq_props(ah, sc->beacon.beaconq, &qi)) { in ath9k_beaconq_config() 61 ath_err(common, "Unable to update h/w beacon queue parameters\n"); in ath9k_beaconq_config() 63 ath9k_hw_resettxqueue(ah, sc->beacon.beaconq); in ath9k_beaconq_config() 68 * Associates the beacon frame buffer with a transmit descriptor. Will set 103 info.qcu = sc->beacon.beaconq; in ath9k_beacon_setup() 120 struct ath_txq *cabq = sc->beacon.cabq; in ath9k_beacon_generate() [all …]
|
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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 74 * is an AP, and the beacon interval of the AP is a multiple or in iwl_mvm_mac_tsf_id_iter() 75 * divisor of the beacon interval of the client, the same TSF in iwl_mvm_mac_tsf_id_iter() 100 * The new interface is AP/GO, so if its beacon interval is a in iwl_mvm_mac_tsf_id_iter() 101 * multiple or a divisor of the beacon interval of an existing in iwl_mvm_mac_tsf_id_iter() 596 * more beacon intervals happen until the DTIM TBTT. Therefore in iwl_mvm_set_fw_dtim_tbtt() 781 /* TODO: Assumes that the beacon id == mac context id */ in iwl_mvm_mac_ctxt_cmd_ibss() 842 u8 *beacon, u32 frame_size) in iwl_mvm_mac_ctxt_set_tim() argument 845 struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)beacon; in iwl_mvm_mac_ctxt_set_tim() 848 * variable-length part of the beacon. */ in iwl_mvm_mac_ctxt_set_tim() 849 tim_idx = mgmt->u.beacon.variable - beacon; in iwl_mvm_mac_ctxt_set_tim() [all …]
|
/openbmc/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() 482 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked() 483 local->beacon.mhr.fc.type = IEEE802154_FC_TYPE_BEACON; in mac802154_send_beacons_locked() 484 local->beacon.mhr.fc.security_enabled = 0; in mac802154_send_beacons_locked() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | offload.h | 40 * struct iwl_stored_beacon_notif_common - Stored beacon notif common fields 44 * @beacon_timestamp: beacon on air rise 46 * @channel: channel this beacon was received on 61 * struct iwl_stored_beacon_notif - Stored beacon notification 64 * @data: beacon data, length in @byte_count 72 * struct iwl_stored_beacon_notif_v3 - Stored beacon notification 75 * @sta_id: station for which the beacon was received 77 * @data: beacon data, length in @byte_count
|
H A D | power.h | 546 * @bf_energy_delta: Used for RSSI filtering, if in 'normal' state. Send beacon 548 * passed beacon is greater than this threshold. Zero value means that 549 * the Energy change is ignored for beacon filtering, and beacon will 553 * Send beacon to driver if delta in Energy values calculated for this 554 * and last passed beacon is greater than this threshold. Zero value 555 * means that the Energy change is ignored for beacon filtering while in 558 * calculated for current beacon is less than the threshold, use 566 * @bf_temp_fast_filter: Send Beacon to driver if delta in temperature values 567 * calculated for this and the last passed beacon is greater than this 569 * beacon filtering; beacons will not be forced to be sent to driver [all …]
|
H A D | stats.h | 37 * @beacon_silence_rssi_a: RSSI silence after beacon frame 38 * @beacon_silence_rssi_b: RSSI silence after beacon frame 39 * @beacon_silence_rssi_c: RSSI silence after beacon frame 43 * @beacon_rssi_a: beacon RSSI on antenna A 44 * @beacon_rssi_b: beacon RSSI on antenna B 45 * @beacon_rssi_c: beacon RSSI on antenna C 46 * @beacon_energy_a: beacon energy on antenna A 47 * @beacon_energy_b: beacon energy on antenna B 48 * @beacon_energy_c: beacon energy on antenna C 91 __le32 beacon_silence_rssi_a; /* RSSI silence after beacon frame */ [all …]
|
H A D | tx.h | 732 * struct iwl_mac_beacon_cmd_v6 - beacon template command 733 * @tx: the tx commands associated with the beacon frame 736 * @tim_idx: the offset of the tim IE in the beacon 738 * @frame: the template of the beacon frame 749 * struct iwl_mac_beacon_cmd_v7 - beacon template command with offloaded CSA 750 * @tx: the tx commands associated with the beacon frame 753 * @tim_idx: the offset of the tim IE in the beacon 757 * @frame: the template of the beacon frame 786 * struct iwl_mac_beacon_cmd - beacon template command with offloaded CSA 787 * @byte_cnt: byte count of the beacon frame. [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | Hal8723BReg.h | 165 #define REG_BCNQ_DESA_8723B 0x0308 /* TX Beacon Descriptor Address */ 262 /* [3:0]: TBTT prohibit setup in unit of 32us. The time for HW getting beacon content before TBTT. … 264 /* [19:8]: TBTT prohibit hold in unit of 32us. The time for HW holding to send the beacon packet. */ 272 /* Note: We cannot update beacon content to HW or send any AC packets during the time between Setu… 388 #define IMR_BCNDMAINT0_8723B BIT20 /* Beacon DMA Interrupt 0 */ 389 #define IMR_BCNDERR0_8723B BIT16 /* Beacon Queue DMA OK0 */ 391 #define IMR_BCNDMAINT_E_8723B BIT14 /* Beacon DMA Interrupt Extension for Win7 */ 406 #define IMR_BCNDMAINT7_8723B BIT27 /* Beacon DMA Interrupt 7 */ 407 #define IMR_BCNDMAINT6_8723B BIT26 /* Beacon DMA Interrupt 6 */ 408 #define IMR_BCNDMAINT5_8723B BIT25 /* Beacon DMA Interrupt 5 */ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
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";
|
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";
|
/openbmc/linux/include/net/ |
H A D | nl802154.h | 244 * @NL802154_COORD_PREAMBLE_CODE: Preamble code used when the beacon was received, 246 * @NL802154_COORD_MEAN_PRF: Mean PRF used when the beacon was received, 249 * @NL802154_COORD_LINK_QUALITY: signal quality of beacon in unspecified units, 253 * frame payload, (only if beacon or probe response had data) 281 * @NL802154_SCAN_ACTIVE: Locate any coordinator transmitting Beacon frames using 282 * a Beacon Request command 283 * @NL802154_SCAN_PASSIVE: Locate any coordinator transmitting Beacon frames 285 * @NL802154_SCAN_ENHANCED_ACTIVE: Same as Active using Enhanced Beacon Request 286 * command instead of Beacon Request command 288 * instead of Beacon frames [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | tx.c | 405 * the frame is buffered to be sent after DTIM beacon frame. in ieee80211_tx_h_multicast_ps_buf() 439 /* device releases frame after DTIM beacon */ in ieee80211_tx_h_multicast_ps_buf() 4966 struct beacon_data *beacon, in ieee80211_set_beacon_cntdwn() argument 4977 beacon_data = beacon->tail; in ieee80211_set_beacon_cntdwn() 4978 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn() 4981 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn() 4982 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 4985 beacon_data = beacon->head; in ieee80211_set_beacon_cntdwn() 4986 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn() 4994 bcn_offsets = beacon->cntdwn_counter_offsets; in ieee80211_set_beacon_cntdwn() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_rx.c | 183 /* Process beacon frames also in kernel driver to in libipw_rx_frame_mgmt() 924 * Make the structure we read from the beacon packet to have 1357 *beacon, in libipw_network_init() 1367 memcpy(network->bssid, beacon->header.addr3, ETH_ALEN); in libipw_network_init() 1368 network->capability = le16_to_cpu(beacon->capability); in libipw_network_init() 1370 network->time_stamp[0] = le32_to_cpu(beacon->time_stamp[0]); in libipw_network_init() 1371 network->time_stamp[1] = le32_to_cpu(beacon->time_stamp[1]); in libipw_network_init() 1372 network->beacon_interval = le16_to_cpu(beacon->beacon_interval); in libipw_network_init() 1373 /* Where to pull this? beacon->listen_interval; */ in libipw_network_init() 1392 if (libipw_parse_info_param((void *)beacon->variable, in libipw_network_init() [all …]
|
/openbmc/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()
|
/openbmc/linux/drivers/staging/vt6655/ |
H A D | power.c | 18 * PSbIsNextTBTTWakeUp - Decide if we need to wake up at next Beacon 68 /* clear always listen beacon */ in PSvEnablePowerSaving() 70 /* first time set listen next beacon */ in PSvEnablePowerSaving() 73 /* always listen beacon */ in PSvEnablePowerSaving() 106 /* set always listen beacon */ in PSvDisablePowerSaving() 137 /* Turn on wake up to listen next beacon */ in PSbIsNextTBTTWakeUp()
|
H A D | card.c | 15 * CARDqGetNextTBTT - Calculate Next Beacon TSF counter 16 * CARDvSetFirstNextTBTT - Set NIC Beacon time 17 * CARDvUpdateNextTBTT - Sync. NIC Beacon time 282 * byRxRate - data rate of receive beacon 311 * Description: Set NIC TSF counter for first Beacon time 312 * Get NEXTTBTT from adjusted TSF and Beacon Interval 317 * wBeaconInterval - Beacon Interval 332 /* set HW beacon interval */ in CARDbSetBeaconPeriod() 416 /* set MAC Beacon TX pointer */ in CARDvSafeResetTx() 756 * Get NEXTTBTT from adjusted TSF and Beacon Interval [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
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";
|
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";
|
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/ |
H A D | mac.c | 125 struct sk_buff *beacon; in plfxlc_restore_settings() local 128 beacon_interval = mac->beacon.interval; in plfxlc_restore_settings() 129 beacon_period = mac->beacon.period; in plfxlc_restore_settings() 136 beacon = ieee80211_beacon_get(mac->hw, mac->vif, 0); in plfxlc_restore_settings() 137 if (beacon) { in plfxlc_restore_settings() 138 /*beacon is hardcoded in firmware */ in plfxlc_restore_settings() 139 kfree_skb(beacon); in plfxlc_restore_settings() 150 mac->beacon.last_update = jiffies; in plfxlc_restore_settings() 604 struct sk_buff *beacon = ieee80211_beacon_get(hw, vif, 0); in plfxlc_op_bss_info_changed() local 606 if (beacon) { in plfxlc_op_bss_info_changed() [all …]
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 723 rtllib_authentication_req(struct rtllib_network *beacon, in rtllib_authentication_req() argument 747 ether_addr_copy(auth->header.addr1, beacon->bssid); in rtllib_authentication_req() 749 ether_addr_copy(auth->header.addr3, beacon->bssid); in rtllib_authentication_req() 984 rtllib_association_req(struct rtllib_network *beacon, in rtllib_association_req() argument 1004 unsigned int rate_len = (beacon->rates_len ? in rtllib_association_req() 1005 (beacon->rates_len + 2) : 0) + in rtllib_association_req() 1006 (beacon->rates_ex_len ? (beacon->rates_ex_len) + in rtllib_association_req() 1009 unsigned int wmm_info_len = beacon->qos_data.supported ? 9 : 0; in rtllib_association_req() 1010 unsigned int turbo_info_len = beacon->Turbo_Enable ? 9 : 0; in rtllib_association_req() 1043 if (beacon->bCkipSupported) in rtllib_association_req() [all …]
|