Lines Matching +full:normal +full:- +full:power

8  * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
73 /* APMG (power management) constants */
105 * in special SRAM that does not power down when the embedded control
106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio).
119 * The uCode used for open-source drivers includes two programs:
121 * 1) Initialization -- performs hardware calibration and sets up some
128 * 2) Runtime/Protocol -- performs all normal runtime operations. This
151 * 6) Enable future boot loads whenever NIC's power management triggers it:
168 * 5) Wait for "alive" notification, then issue normal runtime commands.
170 * Data caching during power-downs:
173 * power-saving modes, or for RFKILL), uCode stores (via PCI busmaster DMA)
186 * uCode from where it left off before the power-down.
191 * This save/restore method is mostly for autonomous power management during
192 * normal operation (result of C_POWER_TBL). Platform suspend/resume and
193 * RFKILL should use complete restarts (with total re-initialization) of uCode,
196 * Note that, during normal operation, the host DRAM that held the initial
198 * for modified data! If you need to completely re-initialize the NIC, make
230 * BSM special memory, stays powered on during power-save sleeps.
231 * Read/write, address range from LOWER_BOUND to (LOWER_BOUND + SIZE -1)
259 * 0 -- EDCA BK (background) frames, lowest priority
260 * 1 -- EDCA BE (best effort) frames, normal priority
261 * 2 -- EDCA VI (video) frames, higher priority
262 * 3 -- EDCA VO (voice) and management frames, highest priority
263 * 4 -- Commands (e.g. RXON, etc.)
264 * 5 -- unused (HCCA)
265 * 6 -- unused (HCCA)
266 * 7 -- not used by driver (device-internal only)
269 * Driver should normally map queues 0-6 to Tx DMA/FIFO channels 0-6.
271 * channels 0-3 to support 11n aggregation via EDCA DMA channels.
275 * 1) Scheduler-Ack, in which the scheduler automatically supports a
276 * block-ack (BA) win of up to 64 TFDs. In this mode, each queue
279 * Quality-Of-Service (QOS) priority, destined for a single station.
281 * In scheduler-ack mode, the scheduler keeps track of the Tx status of
284 * automatically processes block-acks received from the receiving STA,
285 * and reschedules un-acked frames to be retransmitted (successful
286 * Tx completion may end up being out-of-order).
292 * 2) FIFO (a.k.a. non-Scheduler-ACK), in which each TFD is processed in order.
319 * can keep track of at one time when creating block-ack chains of frames.
320 * Note that "64" matches the number of ack bits in a block-ack packet.
337 * Driver may need to update queue-empty bits after changing queue's
338 * write and read pointers (idxes) during (re-)initialization (i.e. when
341 * 31-16: Write mask -- 1: update empty bit, 0: don't change empty bit
342 * 15-00: Empty state, one for each queue -- 1: empty, 0: non-empty
349 * Each Tx queue has a BC CB in host DRAM to support Scheduler-ACK mode.
350 * This register points to BC CB for queue 0, must be on 1024-byte boundary.
355 * 25-00: Byte Count CB physical address [35:10], must be 1024-byte aligned.
362 * Set this to 0xff to enable all 8 channels (normal usage).
364 * 7- 0: Enable (1), disable (0), one bit for each channel 0-7
379 * For Scheduler-ACK mode, idx indicates first frame in Tx win.
388 * 31-16: Reserved
389 * 15-00: Mode, one bit for each queue -- 1: Chain mode, 0: one-at-a-time
391 * Scheduler-ACK mode as well, via SCD_QUEUE_STATUS_BITS(x).
399 * 31-16: Reserved
400 * 15-00: Interrupt enable, one bit for each queue -- 1: enabled, 0: disabled
401 * NOTE: This functionality is apparently a no-op; driver relies on interrupts
410 * 19-10: Write mask/enable bits for bits 0-9
412 * 8: Scheduler-ACK mode (1), non-Scheduler-ACK (i.e. FIFO) mode (0).
414 * 7-6: Driver should init to "0"
417 * this bit to "1" for aggregation mode, or "0" for non-agg.
418 * 4-1: Tx FIFO to use (range 0-7).
422 * NOTE: If enabling Scheduler-ACK mode, chain mode should also be enabled
455 * Queue context. One 8-byte entry for each of 16 queues.
462 * 0-06: Max Tx win size for Scheduler-ACK. Driver should init to 64.
465 * 16-22: Frame limit. Driver should init to 10 (0xa).
493 * When queue is in Scheduler-ACK mode, frames placed in a that queue must be
496 * not final destination). The SCD_TRANSLATE_TBL area provides 16 16-bit
497 * mappings, one for each of the 16 queues. If queue is not in Scheduler-ACK
500 * Bit fields, for each 16-bit map:
501 * 15-9: Reserved, set to 0
502 * 8-4: Index into device's station table for recipient station
503 * 3-0: Traffic ID (tid), range 0-15
506 * "Alive" notification from uCode. To update a 16-bit map value, driver
507 * must read a dword-aligned value from device SRAM, replace the 16-bit map