Lines Matching +full:half +full:- +full:dbm

1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014 Intel Corporation
7 * Please use iwl-xxxx-hw.h for hardware-related definitions.
29 /* Multi-Station support */
93 /* RF-KILL commands and notifications */
138 * - 4 standard TX queues
139 * - the command queue
140 * - 4 PAN TX queues
141 * - the PAN multicast queue, and
142 * - the AUX (TX during scan dwell) queue.
160 /* re-uses the VO FIFO, uCode will properly flush/schedule */
189 * High-throughput (HT) rate format for bits 7:0 (bit 8 must be "1"):
190 * 2-0: 0) 6 Mbps
199 * 4-3: 0) Single stream (SISO)
206 * 3-0: 0xD) 6 Mbps
216 * 6-0: 10) 1 Mbps
292 s8 global_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */
294 s8 srv_chan_lmt; /*in half-dBm (e.g. 30 = 15 dBm) */
330 * a 256-entry history of uCode execution within a circular buffer.
341 * __le32 event_id; range 0 - 1500
343 * __le32 data; event_id-specific data value
359 * read with u32-sized accesses, any members with a different size
370 u32 data1; /* error-specific data */
371 u32 data2; /* error-specific data */
490 /* rx response to host with 8-byte TSF
526 /* accept multi-cast */
528 /* don't decrypt uni-cast frames */
530 /* don't decrypt multi-cast frames */
544 * RXON_FILTER_ASSOC_MSK to 0. This will clear station-dependent
618 * @band: 0- 5.2GHz, 1- 2.4GHz
619 * @expect_beacon: 0- resume transmits after channel switch
620 * 1- wait for beacon to resume transmits
639 * @band: 0- 5.2GHz, 1- 2.4GHz
640 * @expect_beacon: 0- resume transmits after channel switch
641 * 1- wait for beacon to resume transmits
664 __le32 status; /* 0 - OK, 1 - fail */
669 * Quality-of-Service (QOS) Commands & Responses:
674 * struct iwl_ac_qos -- QOS timing params for REPLY_QOS_PARAM
678 * Should be a power-of-2, minus 1. Device's default is 0x0f.
680 * Should be a power-of-2, minus 1. Device's default is 0x3f.
762 /* wep key in STA: 5-bytes (0) or 13-bytes (1) */
783 __le16 tkip_rx_ttak[5]; /* 10-byte unicast TKIP TTAK */
786 u8 key[16]; /* 16-byte unicast decryption key */
799 * or the index to a pre-existing station entry when modifying that station.
815 * The device contains an internal table of per-station information,
821 * a new entry, or modifying a pre-existing one.
852 /* TID for which to add block-ack support.
856 /* TID for which to remove block-ack support.
860 /* Starting Sequence Number for added block-ack support.
866 * it is asleep -- used to synchronise PS-poll and u-APSD
1052 __le32 beacon_time_stamp; /* beacon at on-air rise */
1057 __le16 byte_count; /* frame's byte-count */
1080 * handle reception of block-acks; uCode updates the host driver via
1094 * 1: Use RTS/CTS protocol or CTS-to-self if spec allows it
1095 * before this frame. if CTS-to-self required check
1113 /* 1: Expect immediate block-ack.
1114 * Set when Txing a block-ack request frame. Also set TX_CMD_FLG_ACK_MSK. */
1126 * Set this for management frames, non-QOS data frames, non-unicast frames,
1130 /* 1: This frame is non-last MPDU; more fragments are coming.
1148 * 0 - no CCMP encryption; 1 - CCMP encryption */
1151 /* HCCA-AP - disable duration overwriting. */
1170 * Used for managing Tx retries when expecting block-acks.
1185 * + 8-byte MIC (not used for CCM/WEP)
1186 * NOTE: Does not include Tx command bytes, post-MAC pad bytes,
1188 * Range: 14-2342 bytes.
1218 * rate (via non-0 value) for special frames (e.g. management), while
1245 * Duration of EDCA burst Tx Opportunity, in 32-usec units.
1362 * 2 or more frames that used block-acknowledge. All frames were
1366 * Note that, for aggregation, ACK (block-ack) status is not delivered here;
1367 * block-ack has not been received by the time the agn device records
1390 /* For non-agg: Rate at which frame was successful.
1394 /* For non-agg: RTS + CTS + frame tx attempts time + ACK.
1395 * For agg: RTS + CTS + aggregation tx time + block-ack time. */
1410 * For non-agg: frame status TX_STATUS_*
1414 * 11- 0: AGG_TX_STATE_* status code
1415 * 15-12: Retry count for 1st frame in aggregation (retries
1420 * 31-16: Sequence # for this frame's Tx cmd (not SSN!)
1422 struct agg_tx_status status; /* TX status (in aggregation -
1428 * Reports Block-Acknowledge from recipient station
1435 /* Index of recipient (BA-sending) station in uCode's station table */
1486 * EDCA QOS access categories (as implemented by tx fifos 0-3),
1567 * 1) If using High-throughput (HT) (SISO or MIMO) initial rate:
1602 * (attempted - success), and control the size of the window (attempted).
1611 * which rate-specific history to update, and record only those attempts that
1614 * When using block-ack (aggregation), all frames are transmitted at the same
1615 * rate, since there is no per-attempt acknowledgment from the destination
1617 * rate_n_flags field. After receiving a block-ack, the driver can update
1665 * 6) Re-evaluate the rate after each tx frame. If working with block-
1668 * before re-evaluation.
1678 * For high-throughput modes (SISO or MIMO), search for new mode after:
1739 * Rate info; when using rate-scaling, Tx command's initial_rate_index
1751 * bit 0 - 1: BT channel announcement enabled
1753 * bit 1 - 1: priority of BT device enabled
1755 * bit 2 - 1: BT 2 wire support enabled
1819 #define IWLAGN_BT_PSP_MIN_RSSI_THRESHOLD -75 /* dBm */
1820 #define IWLAGN_BT_PSP_MAX_RSSI_THRESHOLD -65 /* dBm */
1881 * bit 1 - 7: reserved
1948 u8 id; /* measurement id -- 0 or 1 */
1967 __le16 status; /* 0 - command will be handled
1968 * 1 - cannot handle (conflicts with another
1982 /* 4-5 reserved */
2015 u8 id; /* measurement id -- 0 or 1 */
2018 u8 state; /* 0 - start, 1 - stop */
2019 __le32 start_time; /* lower 32-bits of TSF */
2020 u8 band; /* 0 - 5.2GHz, 1 - 2.4GHz */
2029 u8 basic_type; /* 0 - bss, 1 - ofdm preamble, 2 -
2033 __le32 stop_time; /* lower 32-bits of TSF */
2044 * struct iwl_powertable_cmd - Power Table Command
2050 * bit 0 - '0' Driver not allow power management
2054 * bit 1 - '0' Don't send sleep notification
2058 * bit 2 - '0' PM have to walk up every DTIM
2062 * bit 3 - '0' (PCI_CFG_LINK_CTRL & 0x1)
2066 * bit 4 - '1' Put radio to sleep when receiving frame for others
2069 * bit 31/30- '00' use both mac/xtal sleeps
2074 * NOTE: if sleep_interval[SLEEP_INTRVL_TABLE_SIZE-1] > DTIM period then
2175 * struct iwl_scan_channel - entry in REPLY_SCAN_CMD channel table
2181 * 3) How long to stay on-channel (behavior may be modified by quiet_time,
2189 * 3) If restricting off-channel time (i.e. max_out_time !=0):
2206 __le16 active_dwell; /* in 1024-uSec TU (time units), typ 5-50 */
2207 __le16 passive_dwell; /* in 1024-uSec TU (time units), typ 20-500 */
2211 #define IWL_SCAN_PROBE_MASK(n) cpu_to_le32((BIT(n) | (BIT(n) - BIT(1))))
2214 * struct iwl_ssid_ie - directed scan network information element
2244 * max_out_time is the max time off-channel (in usec), and suspend_time
2256 * 3) Sends NULL packet, with power-save (PS) bit set to 1,
2257 * to tell AP that we're going off-channel
2261 * 7) Repeats 4-6 until it no longer has time to scan the next channel
2266 * 11) Repeats entire process 2-10 until list is complete
2290 /* bits 2-7 reserved */
2300 __le16 good_CRC_th; /* passive -> active promotion threshold */
2310 /* For active scans (set to all-0s for passive scans).
2314 /* For directed active scans (set to all-0s otherwise) */
2558 * struct statistics_tx_power - current tx power
2631 * count the number of times we have to re-tune
2784 * other non-associated-network source. Pertinent statistics include:
2802 * Signal locks abandoned early (before phy-level header).
2805 * Signal locks abandoned late (during phy-level header).
2810 * after counting up to 2^32 - 1. Driver must differentiate vs.
2835 * 1). 20-beacon history of maximum background noise, indicated by
2840 * 2). 10-beacon history of strongest signal level, as indicated
2890 * "silence reference" (prev - current) is 2 or more,
2957 #define ENHANCE_HD_TABLE_ENTRIES (ENHANCE_HD_TABLE_SIZE - HD_TABLE_SIZE)
3017 * in from scanning, or any other non-network source).
3051 * (accum_noise[i] - accum_noise[reference]) / 30
3055 * driver should limit the difference results to a range of 0-3 (0-4.5 dB),
3061 * 1-0: amount of gain, units of 1.5 dB
3210 * RP - Requested Priority
3211 * WP - Win Medium Priority: priority assigned when the contention has been won
3300 /* un-association part */
3364 * bit 0 - 2: medium status
3366 * bit 4 - 31: reserved
3368 /* status option values, (0 - 2 bits) */
3427 /* BT UART message - Share Part (BT -> WiFi) */
3525 /* BT Session Activity 2 UART message (BT -> WiFi) */
3603 #define BT_ENABLE_REDUCED_TXPOWER_THRESHOLD (-62)
3604 #define BT_DISABLE_REDUCED_TXPOWER_THRESHOLD (-65)
3619 u8 bt_status; /* 0 - off, 1 - on */
3621 u8 bt_ci_compliance; /* 0 - not complied, 1 - complied */
3848 * 0 - BSS
3849 * 1 - PAN
3870 * 1 - work in slotted mode
3871 * 0 - work in non slotted mode
3876 * @num_slots: 1 - 10