Lines Matching +full:txpower +full:- +full:5 +full:g
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2004 - 2010 Ivo van Doorn <[email protected]>
28 * RF2820 2.4G 2T3R
29 * RF2850 2.4G/5G 2T3R
30 * RF2720 2.4G 1T2R
31 * RF2750 2.4G/5G 1T2R
32 * RF3020 2.4G 1T1R
33 * RF2020 2.4G B/G
34 * RF3021 2.4G 1T2R
35 * RF3022 2.4G 2T2R
36 * RF3052 2.4G/5G 2T2R
37 * RF2853 2.4G/5G 3T3R
38 * RF3320 2.4G 1T1R(RT3350/RT3370/RT3390)
39 * RF3322 2.4G 2T2R(RT3352/RT3371/RT3372/RT3391/RT3392)
40 * RF3053 2.4G/5G 3T3R(RT3563/RT3573/RT3593)
41 * RF3853 2.4G/5G 3T3R(RT3883/RT3662)
42 * RF5592 2.4G/5G 2T2R
43 * RF3070 2.4G 1T1R
44 * RF5360 2.4G 1T1R
45 * RF5362 2.4G 1T1R
46 * RF5370 2.4G 1T1R
47 * RF5390 2.4G 1T1R
283 * AUX_CTRL: Aux/PCI-E related configuration
573 * HOST-MCU shared memory
751 * Used to mask off bits from byte 5 of the MAC address
773 * 0: 1-BSSID mode (BSS index = 0)
774 * 1: 2-BSSID mode (BSS index: Byte5, bit 0)
775 * 2: 4-BSSID mode (BSS index: byte5, bit 0 - 1)
776 * 3: 8-BSSID mode (BSS index: byte5, bit 0 - 2)
777 * This mask is used to mask off bits 0, 1 and 2 of byte 5 of the
837 * 1: 5 system clock cycle (62.5usec)
874 * AMPDU_MAX_LEN_20M1S: Per MCS max A-MPDU length, 20 MHz, MCS 0-7
875 * AMPDU_MAX_LEN_20M2S: Per MCS max A-MPDU length, 20 MHz, MCS 8-15
876 * AMPDU_MAX_LEN_40M1S: Per MCS max A-MPDU length, 40 MHz, MCS 0-7
877 * AMPDU_MAX_LEN_40M2S: Per MCS max A-MPDU length, 40 MHz, MCS 8-15
878 * Maximum A-MPDU length = 2^(AMPDU_MAX - 5) kilobytes
954 * TSF_SYNC: Enable TSF sync, 00: disable, 01: infra mode, 10: ad-hoc mode
977 * TSF_TIMER_DW0: Local lsb TSF timer, read-only
983 * TSF_TIMER_DW1: Local msb TSF timer, read-only
989 * TBTT_TIMER: TImer remains till next TBTT, read-only
1003 * INT_TIMER_EN: GP-timer and pre-tbtt Int enable
1050 * MIMO_PS_CFG: MIMO Power-save Configuration
1310 * LSIG_TXOP_EN: Enable/Disable L-SIG TXOP protection
1358 * NON_AGG_RTY_MODE: Non-Aggregate MPDU retry mode
1380 * TX_CF_ACK_EN: Piggyback CF-ACK enable
1446 * 0:none, 1:RTS/CTS, 2:CTS-to-self
1618 * Unit: 0.1 dB, Range: -3.2 dB to 3.1 dB
1633 * Format: 7-bit, signed value
1634 * Unit: 0.5 dB, Range: -20 dB to -5 dB
1660 * Unit: 0.5 dB, Range: -10 dB to 10 dB
1662 * Unit: 0.1 dB, Range: -0.8 dB to 0.7 dB
1667 * RF_TOS_TIMEOUT: time-out value for RF_TOS_ENABLE
1685 * Format: 5-bit signed values
1686 * Unit: 0.5 dB, Range: -8 dB to 7 dB
1916 * 0: no valid tx result -> driver should stop reading
1920 * PID_QUEUE: Part of PID_TYPE, this is the queue index number (0-3)
1921 * PID_ENTRY: Part of PID_TYPE, this is the queue entry index number (1-3)
2026 * ---------------------------------------------
2030 * |0x5BC0 | |-------------------
2032 * |0x5DC0 | |-------------------
2034 * |0x5FC0 | |-------------------
2036 * --------------------------
2038 * MAC_WCID_BASE: 8-bytes (use only 6 bytes) * 256 entry
2039 * PAIRWISE_KEY_TABLE_BASE: 32-byte * 256 entry
2040 * MAC_IVEIV_TABLE_BASE: 8-byte * 256-entry
2041 * MAC_WCID_ATTRIBUTE_BASE: 4-byte * 256-entry
2042 * SHARED_KEY_TABLE_BASE: 32-byte * 16-entry
2043 * SHARED_KEY_MODE_BASE: 4-byte * 16-entry
2105 * HOST-MCU communication
2109 * H2M_MAILBOX_CSR: Host-to-MCU Mailbox.
2153 * Carrier-sense CTS frame base address.
2154 * It's where mac stores carrier-sense frame for carrier-sense function.
2165 * TXRX control registers - base address 0x3000
2188 * 2. Extract memory from FCE table for BCN 4~5
2189 * 3. Extract memory from Pair-wise key table for BCN 6~7
2208 (((__index) < 6) ? (HW_BEACON_BASE4 + ((__index - 4) * 0x0200)) : \
2209 (HW_BEACON_BASE6 - ((__index - 6) * 0x0200))))
2211 #define BEACON_BASE_TO_OFFSET(_base) (((_base) - 0x4000) / 64)
2221 * 0 - normal,
2222 * 1 - drop tx power by 6dBm,
2223 * 2 - drop tx power by 12dBm,
2224 * 3 - increase tx power by 6dBm
2263 * - bit0: detect SIG on primary channel only (on 40MHz bandwidth)
2264 * - bit1: FEQ (Feed Forward Compensation) for independend streams
2265 * - bit2: MLD (Maximum Likehood Detection) for 2 streams (reserved on single
2267 * - bit4: channel estimation updates based on remodulation of
2268 * L-SIG and HT-SIG symbols
2333 /* Bits [7-4] for RF3320 (RT3370/RT3390), on other chipsets reserved */
2352 * FRCSR 5:
2650 /* IDs for extended EEPROM format used by three-chain devices */
2811 * EEPROM TXpower delta: 20MHZ AND 40 MHZ use different power.
2825 * EEPROM TXPOWER 802.11BG
2834 * reduced by (agc_step * -4)
2836 * reduced by (agc_step * -3)
2844 * reduced by (agc_step * -2)
2846 * reduced by (agc_step * -1)
2880 * EEPROM TXPOWER 802.11A
2886 /* EEPROM_TXPOWER_{A,G} fields for RT3593 */
2893 * reduced by (agc_step * -4)
2895 * reduced by (agc_step * -3)
2903 * reduced by (agc_step * -2)
2905 * reduced by (agc_step * -1)
2939 * EEPROM TXPOWER by rate: tx power per tx rate for HT20 mode
3016 * MCU_SLEEP - go to power-save mode.
3021 * arg0: 0: do power-saving, NOT turn off radio.
3053 #define TXWI_DESC_SIZE_5WORDS (5 * sizeof(__le32))
3056 #define RXWI_DESC_SIZE_5WORDS (5 * sizeof(__le32))
3066 * MIMO_PS: The remote peer is in dynamic MIMO-PS mode
3070 * STBC: 1: STBC support MCS =0-7, 2,3 : RESERVED
3105 * PACKETID_QUEUE: Part of PACKETID, This is the queue index (0-3)
3106 * PACKETID_ENTRY: Part of PACKETID, THis is the queue entry index (1-3)
3168 * Macros for converting txpower from EEPROM to mac80211 value
3172 #define MIN_A_TXPOWER -7
3175 #define DEFAULT_TXPOWER 5