| /freebsd/sys/contrib/dev/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 …]
|
| /freebsd/sys/dev/rtwn/rtl8192c/pci/ |
| H A D | r92ce_reg.h | 69 #define R92C_IMR_TXBDER 0x00000020 /* beacon transmit error */ 71 #define R92C_IMR_TBDOK 0x00000080 /* beacon transmit OK */ 73 #define R92C_IMR_BDOK 0x00000200 /* beacon queue DMA OK */ 77 #define R92C_IMR_BCNINT 0x00002000 /* beacon DMA interrupt 0 */ 82 #define R92C_IMR_BCNDOK1 0x00040000 /* beacon queue DMA OK (1) */ 83 #define R92C_IMR_BCNDOK2 0x00080000 /* beacon queue DMA OK (2) */ 84 #define R92C_IMR_BCNDOK3 0x00100000 /* beacon queue DMA OK (3) */ 85 #define R92C_IMR_BCNDOK4 0x00200000 /* beacon queue DMA OK (4) */ 86 #define R92C_IMR_BCNDOK5 0x00400000 /* beacon queue DMA OK (5) */ 87 #define R92C_IMR_BCNDOK6 0x00800000 /* beacon queue DMA OK (6) */ [all …]
|
| /freebsd/share/man/man9/ |
| H A D | ieee80211_beacon.9 | 31 .Nd 802.11 beacon support 55 a template-based mechanism for dynamic update of beacon frames transmit 59 to create an initial beacon frame. 62 structure holds information about the beacon contents that is used 67 affects the contents of the beacon frame. 72 beacon frame this work may be as simple as marking a bit in the 86 call done before the next beacon is to be sent. 88 Devices that off-load beacon generation may instead choose to use 91 One possibility is to update the beacon frame contents and extract 93 .Sh MULTI-VAP BEACON SCHEDULING [all …]
|
| H A D | ieee80211_bmiss.9 | 31 .Nd 802.11 beacon miss support 41 handling beacon miss events in station mode. 42 Drivers can dispatch beacon miss events that are recognized in hardware or 44 can detect beacon miss if the driver dispatches received beacon frames 46 Software beacon miss support is especially useful when multiple vaps 47 are operating and any hardware beacon miss support is not available 51 Drivers should dispatch beacon miss events recognized in the driver with 67 The number of beacon miss events (without a ProbeResponse) is user 72 Software beacon miss detection is enabled per-vap by setting the 80 beacon miss. [all …]
|
| /freebsd/sys/dev/rtwn/rtl8188e/ |
| H A D | r88e_reg.h | 61 #define R88E_HIMR_BCNDERR 0x00010000 /* beacon queue DMA error */ 62 #define R88E_HIMR_BCNINT 0x00100000 /* beacon DMA interrupt 0 */ 64 #define R88E_HIMR_TBDOK 0x02000000 /* beacon transmit OK */ 65 #define R88E_HIMR_TBDER 0x04000000 /* beacon transmit error */ 76 #define R88E_HIMRE_BCNDOK1 0x00004000 /* beacon queue DMA OK (1) */ 77 #define R88E_HIMRE_BCNDOK2 0x00008000 /* beacon queue DMA OK (2) */ 78 #define R88E_HIMRE_BCNDOK3 0x00010000 /* beacon queue DMA OK (3) */ 79 #define R88E_HIMRE_BCNDOK4 0x00020000 /* beacon queue DMA OK (4) */ 80 #define R88E_HIMRE_BCNDOK5 0x00040000 /* beacon queue DMA OK (5) */ 81 #define R88E_HIMRE_BCNDOK6 0x00080000 /* beacon queue DMA OK (6) */ [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5416/ |
| H A D | ar5416_beacon.c | 89 * TIMER1: in AP/adhoc mode this controls the DMA beacon in ar5416BeaconInit() 91 * TIMER2: in AP mode, it controls the SBA beacon alert in ar5416BeaconInit() 146 * Set all the beacon related bits on the h/w for stations 162 * Start the beacon timers by setting the BEACON register in ar5416SetStaBeaconTimers() 163 * to the beacon interval; no need to write tim offset since in ar5416SetStaBeaconTimers() 182 * Program the sleep registers to correlate with the beacon setup. in ar5416SetStaBeaconTimers() 187 * save operation (waking up in anticipation of a beacon) in ar5416SetStaBeaconTimers() 190 * don't think the beacon timers are used by venice sta hw in ar5416SetStaBeaconTimers() 194 * assuming an interrupt is generated every beacon which in ar5416SetStaBeaconTimers() 196 * it to go to sleep again; beacon timeout is to allow for in ar5416SetStaBeaconTimers() [all …]
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_beacon.c | 131 * Setup the transmit queue parameters for the beacon queue. 145 * Always burst out beacon and CAB traffic. in ath_beaconq_config() 167 "beacon hardware queue!\n"); in ath_beaconq_config() 177 * Allocate and setup an initial beacon frame. 202 * NB: the beacon data buffer must be 32-bit aligned; in ath_beacon_alloc() 225 * beacons. Note that we assume the format of the beacon in ath_beacon_alloc() 234 * The beacon interval is in TU's; the TSF is in usecs. in ath_beacon_alloc() 238 * each time a beacon frame is sent. Note that we align vap's in ath_beacon_alloc() 240 * timestamp in one beacon interval while the others get a in ath_beacon_alloc() 263 * Setup the beacon frame for transmit. [all …]
|
| H A D | if_ath_tdma.c | 189 * Calculate the beacon interval. This is periodic in the 221 sc->sc_tdmaswba = 0; /* beacon immediately */ in ath_tdma_bintvalsetup() 244 * Setup initially for tdma operation. Start the beacon 297 ath_beaconq_config(sc); /* setup h/w beacon q */ in ath_tdma_config() 300 ath_tdma_bintvalsetup(sc, tdma); /* calculate beacon interval */ in ath_tdma_config() 336 * when a beacon is received from the TDMA station operating 338 * the rx timestamp for the beacon frame to update our 339 * beacon timers so we follow their schedule. Note that 391 /* NB: beacon timers programmed below */ in ath_tdma_update() 421 * However, we can assume that the beacon frames won't be in ath_tdma_update() [all …]
|
| /freebsd/sys/contrib/dev/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 …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5212_beacon.c | 63 * Set the Beacon register after setting all timers. in ar5212SetBeaconTimers() 82 * Old api for setting up beacon timer registers when 95 * TIMER1: in AP/adhoc mode this controls the DMA beacon in ar5212BeaconInit() 97 * TIMER2: in AP mode, it controls the SBA beacon alert in ar5212BeaconInit() 141 * Set all the beacon related bits on the h/w for stations 173 * Set TIMER0(1.024ms) to the anticipated time of the next beacon. in ar5212SetStaBeaconTimers() 178 * Start the beacon timers by setting the BEACON register in ar5212SetStaBeaconTimers() 179 * to the beacon interval; also write the tim offset which in ar5212SetStaBeaconTimers() 201 * Program the sleep registers to correlate with the beacon setup. in ar5212SetStaBeaconTimers() 206 * save operation (waking up in anticipation of a beacon) in ar5212SetStaBeaconTimers() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5210/ |
| H A D | ar5210_beacon.c | 52 * Set the Beacon register after setting all timers. in ar5210SetBeaconTimers() 58 * Legacy api to Initialize all of the beacon registers. 75 * as we don't yet support ATIMs. So since the beacon never in ar5210BeaconInit() 76 * changes, the beacon descriptor is set up once and read in ar5210BeaconInit() 78 * automagically retrieved at each DMA Beacon Alert (DBA). in ar5210BeaconInit() 108 * Set all the beacon related bits on the h/w for stations 112 * dtim_count and cfp_count from the current beacon - their current 120 HALDEBUG(ah, HAL_DEBUG_BEACON, "%s: setting beacon timers\n", __func__); in ar5210SetStaBeaconTimers() 145 * Set TIMER0(1.024ms) to the anticipated time of the next beacon. in ar5210SetStaBeaconTimers() 150 * Start the beacon timers by setting the BEACON register in ar5210SetStaBeaconTimers() [all …]
|
| H A D | ar5210reg.h | 42 #define AR_BCR 0x0028 /* Beacon control register */ 43 #define AR_BSR 0x002c /* Beacon status register */ 74 #define AR_RSSI_THR 0x8018 /* Beacon RSSI warning threshold */ 77 #define AR_BEACON 0x8024 /* Beacon control */ 79 #define AR_TIMER0 0x802c /* Next beacon time */ 80 #define AR_TIMER1 0x8030 /* Next DMA beacon alert time */ 81 #define AR_TIMER2 0x8034 /* Next software beacon alert time */ 96 #define AR_LAST_TSTP 0x8080 /* Lower 32bits of last beacon tstamp */ 104 #define AR_BEACON_CNT 0x80a0 /* Valid beacon counter */ 147 #define AR_ISR_SWBA_INT 0x00010000 /* software beacon alert */ [all …]
|
| /freebsd/sys/contrib/dev/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()
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | offload.h | 42 * struct iwl_stored_beacon_notif_common - Stored beacon notif common fields 46 * @beacon_timestamp: beacon on air rise 48 * @channel: channel this beacon was received on 63 * struct iwl_stored_beacon_notif_v2 - Stored beacon notification 66 * @data: beacon data, length in @byte_count 74 * struct iwl_stored_beacon_notif - Stored beacon notification 77 * @sta_id: station for which the beacon was received 79 * @data: beacon data, length in @byte_count
|
| H A D | power.h | 637 * @bf_energy_delta: Used for RSSI filtering, if in 'normal' state. Send beacon 639 * passed beacon is greater than this threshold. Zero value means that 640 * the Energy change is ignored for beacon filtering, and beacon will 644 * Send beacon to driver if delta in Energy values calculated for this 645 * and last passed beacon is greater than this threshold. Zero value 646 * means that the Energy change is ignored for beacon filtering while in 649 * calculated for current beacon is less than the threshold, use 657 * @bf_temp_fast_filter: Send Beacon to driver if delta in temperature values 658 * calculated for this and the last passed beacon is greater than this 660 * beacon filtering; beacons will not be forced to be sent to driver [all …]
|
| 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 frame. [all …]
|
| 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 …]
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_beacon.c | 79 * Set all the beacon related bits on the h/w for stations 94 * Start the beacon timers by setting the BEACON register in ar9300_set_sta_beacon_timers() 95 * to the beacon interval; no need to write tim offset since in ar9300_set_sta_beacon_timers() 113 * Program the sleep registers to correlate with the beacon setup. in ar9300_set_sta_beacon_timers() 118 * assuming an interrupt is generated every beacon which in ar9300_set_sta_beacon_timers() 120 * it to go to sleep again; beacon timeout is to allow for in ar9300_set_sta_beacon_timers() 121 * beacon jitter; cab timeout is max time to wait for cab in ar9300_set_sta_beacon_timers() 131 * beacon period and not want to receive all beacons; modify the in ar9300_set_sta_beacon_timers() 159 "%s: next beacon %d\n", __func__, next_tbtt); in ar9300_set_sta_beacon_timers() 161 "%s: beacon period %d\n", __func__, beaconintval); in ar9300_set_sta_beacon_timers() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211_beacon.c | 55 * Set the Beacon register after setting all timers. in ar5211SetBeaconTimers() 61 * Legacy api to initialize all of the beacon registers. 71 * TIMER1: in AP/adhoc mode this controls the DMA beacon in ar5211BeaconInit() 73 * TIMER2: in AP mode, it controls the SBA beacon alert in ar5211BeaconInit() 117 * Set all the beacon related bits on the h/w for stations 126 HALDEBUG(ah, HAL_DEBUG_BEACON, "%s: setting beacon timers\n", __func__); in ar5211SetStaBeaconTimers() 150 * Set TIMER0(1.024ms) to the anticipated time of the next beacon. in ar5211SetStaBeaconTimers() 155 * Start the beacon timers by setting the BEACON register in ar5211SetStaBeaconTimers() 156 * to the beacon interval; also write the tim offset which in ar5211SetStaBeaconTimers()
|
| /freebsd/sys/dev/rtwn/ |
| H A D | if_rtwn_beacon.c | 58 "%s: 'beacon valid' bit for vap %d was unset\n", in rtwn_reset_beacon_valid() 75 "%s: beacon for vap %d was recognized\n", in rtwn_check_beacon_valid() 100 /* Reset 'beacon valid' bit. */ in rtwn_switch_bcnq() 119 "%s: could not allocate beacon frame\n", __func__); in rtwn_setup_beacon() 137 * Push a beacon frame into the chip. Beacon will 148 "%s: sending beacon for vap %d\n", __func__, uvp->id); in rtwn_tx_beacon() 171 "%s: could not allocate beacon frame\n", __func__); in rtwn_update_beacon() 185 * XXX two APs with different beacon intervals in rtwn_update_beacon() 259 "%s: cannot push beacon into chip, error %d!\n", in rtwn_tx_beacon_check()
|
| /freebsd/sys/contrib/device-tree/src/arm64/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 | 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 | 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";
|
| /freebsd/sys/dev/wtap/ |
| H A D | if_wtap.c | 140 * Intercept management frames to collect beacon rssi data 201 * Allocate and setup an initial beacon frame. 212 * NB: the beacon data buffer must be 32-bit aligned; in wtap_beacon_alloc() 216 avp->beacon = ieee80211_beacon_alloc(ni); in wtap_beacon_alloc() 217 if (avp->beacon == NULL) { in wtap_beacon_alloc() 243 DWTAP_PRINTF("Skip beacon, not running, state %d", vap->iv_state); in wtap_beacon_intrp() 246 DWTAP_PRINTF("[%d] beacon intrp\n", avp->id); //burst mode in wtap_beacon_intrp() 248 * Update dynamic beacon contents. If this returns in wtap_beacon_intrp() 250 * the beacon frame changed size (probably because in wtap_beacon_intrp() 253 m = m_dup(avp->beacon, M_NOWAIT); in wtap_beacon_intrp() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/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";
|