Lines Matching +full:operating +full:- +full:range +full:- +full:celsius
1 /* SPDX-License-Identifier: ISC */
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
25 * proper range, or any other checking.
29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
45 * variable is already 4-byte aligned by virtue of being a u32
527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
1160 /** DFS-specific commands */
1187 /* Rate-control specific commands */
1412 /* DFS-specific commands */
1439 /* Rate-control specific commands */
1480 WMI_10X_PDEV_UTF_CMDID = WMI_10X_END_CMDID - 1,
1539 /* TPC config for the current operating channel */
1543 WMI_10X_PDEV_UTF_EVENTID = WMI_10X_END_EVENTID - 1,
1666 WMI_10_2_PDEV_UTF_CMDID = WMI_10_2_END_CMDID - 1,
1711 WMI_10_2_PDEV_UTF_EVENTID = WMI_10_2_END_EVENTID - 1,
1892 WMI_10_4_PDEV_UTF_CMDID = WMI_10_4_END_CMDID - 1,
1970 WMI_10_4_PDEV_UTF_EVENTID = WMI_10_4_END_EVENTID - 1,
2007 return "11na-ht20"; in ath10k_wmi_phymode_str()
2009 return "11ng-ht20"; in ath10k_wmi_phymode_str()
2011 return "11na-ht40"; in ath10k_wmi_phymode_str()
2013 return "11ng-ht40"; in ath10k_wmi_phymode_str()
2015 return "11ac-vht20"; in ath10k_wmi_phymode_str()
2017 return "11ac-vht40"; in ath10k_wmi_phymode_str()
2019 return "11ac-vht80"; in ath10k_wmi_phymode_str()
2021 return "11ac-vht160"; in ath10k_wmi_phymode_str()
2023 return "11ac-vht80+80"; in ath10k_wmi_phymode_str()
2025 return "11ac-vht20-2g"; in ath10k_wmi_phymode_str()
2027 return "11ac-vht40-2g"; in ath10k_wmi_phymode_str()
2029 return "11ac-vht80-2g"; in ath10k_wmi_phymode_str()
2123 #define WMI_HT_CAP_RX_STBC 0x0030 /* B4-B5 RX STBC */
2126 #define WMI_HT_CAP_L_SIG_TXOP_PROT 0x0080 /* L-SIG TXOP Protection */
2185 #define WMI_VHT_MAX_MCS_4_SS_MASK(r, ss) ((3 & (r)) << (((ss) - 1) << 1))
2191 REGDMN_MODE_TURBO = 0x00002, /* 11a turbo-only channels */
2200 REGDMN_MODE_11NG_HT20 = 0x00800, /* 11N-G HT20 channels */
2201 REGDMN_MODE_11NA_HT20 = 0x01000, /* 11N-A HT20 channels */
2202 REGDMN_MODE_11NG_HT40PLUS = 0x02000, /* 11N-G HT40 + channels */
2203 REGDMN_MODE_11NG_HT40MINUS = 0x04000, /* 11N-G HT40 - channels */
2204 REGDMN_MODE_11NA_HT40PLUS = 0x08000, /* 11N-A HT40 + channels */
2205 REGDMN_MODE_11NA_HT40MINUS = 0x10000, /* 11N-A HT40 - channels */
2208 REGDMN_MODE_11AC_VHT40MINUS = 0x80000, /* 5Ghz VHT40 - channels */
2378 /* For target-based RX reordering */
2404 * This configuration parameter specifies the nominal chain-mask that
2405 * should be used when not operating with a reduced set of tx chains.
2416 * This configuration parameter specifies the nominal chain-mask that
2417 * should be used when not operating with a reduced set of rx chains.
2424 * Each WMM access class (voice, video, best-effort, background) will
2458 * how many groups to use for mcast->ucast conversion
2462 * multicast->unicast conversion is enabled, the target can convert
2483 * whether/how to do multicast->unicast conversion
2486 * perform multicast --> unicast conversion on transmit, and if so,
2490 * 0 -> Do not perform multicast to unicast conversion.
2491 * 1 -> Convert multicast frames to unicast, if the IP multicast
2495 * 2 -> Convert multicast frames to unicast, if the IP multicast
2506 * to store a log of tx PPDU meta-information (how large the PPDU
2516 * 0 -default, 1 256B
2528 * non-aggregate MPDU and timing out stale fragments.
2530 * A-MPDU reordering is always performed on the target.
2589 * This configuration parameter specifies the nominal chain-mask that
2590 * should be used when not operating with a reduced set of tx chains.
2601 * This configuration parameter specifies the nominal chain-mask that
2602 * should be used when not operating with a reduced set of rx chains.
2609 * Each WMM access class (voice, video, best-effort, background) will
2643 * how many groups to use for mcast->ucast conversion
2647 * multicast->unicast conversion is enabled, the target can convert
2668 * whether/how to do multicast->unicast conversion
2671 * perform multicast --> unicast conversion on transmit, and if so,
2675 * 0 -> Do not perform multicast to unicast conversion.
2676 * 1 -> Convert multicast frames to unicast, if the IP multicast
2680 * 2 -> Convert multicast frames to unicast, if the IP multicast
2691 * to store a log of tx PPDU meta-information (how large the PPDU
2701 * 0 -default, 1 256B
2713 * non-aggregate MPDU and timing out stale fragments.
2715 * A-MPDU reordering is always performed on the target.
2752 __le32 smart_ant_cap; /* 0-disable, 1-enable */
2806 * This configuration parameter specifies the nominal chain-mask that
2807 * should be used when not operating with a reduced set of tx chains.
2816 * chain-mask that should be used when not operating with a reduced
2822 * Each WMM access class (voice, video, best-effort, background) will
2845 /* How many groups to use for mcast->ucast conversion.
2848 * multicast->unicast conversion is enabled, the target can convert
2865 /* Whether/how to do multicast->unicast conversion.
2867 * perform multicast --> unicast conversion on transmit, and if so,
2871 * 0 -> Do not perform multicast to unicast conversion.
2872 * 1 -> Convert multicast frames to unicast, if the IP multicast address
2875 * 2 -> Convert multicast frames to unicast, if the IP multicast address
2884 * store a log of tx PPDU meta-information (how large the PPDU was,
2892 /* MAC DMA burst size. 0 -default, 1 -256B */
2901 * non-aggregate MPDU and timing out stale fragments. A-MPDU reordering
2934 * 1 - Smart antenna is enabled
2935 * 0 - Smart antenna is disabled
2949 * 1 - Rx batch mode enabled
2950 * 0 - Rx batch mode disabled
2955 * 1 - Capable of thermal throttling
2956 * 0 - Not capable of thermal throttling
2961 * 1 - Enable ATF
2962 * 0 - Disable ATF
2966 /* Configure padding to manage IP header un-alignment
2967 * 1 - Enable padding
2968 * 0 - Disable padding
2972 /* qwrap configuration (bits 15-0)
2973 * 1 - This is qwrap configuration
2974 * 0 - This is not qwrap
2976 * Bits 31-16 is alloc_frag_desc_for_data_pkt (1 enables, 0 disables)
2977 * In order to get ack-RSSI reporting and to specify the tx-rate for
2979 * 4 bytes per tx-msdu descriptor, so don't enable it unless you need it.
2997 * enum wmi_10_4_feature_mask - WMI 10.4 feature enable/disable flags
3056 __le32 input; /* 0 - Output/ 1 - Input */
3390 /* possibly by high-prio scan */
3713 ATH10K_PROT_RTSCTS = 2, /* RTS-CTS */
3744 /* Bit 0-15: FC */
3745 /* Bit 16-31: DUR */
3882 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3886 * Dynamic bandwidth - 0: disable, 1: enable
3892 /* Non aggregate/ 11g sw retry threshold.0-disable */
3894 /* aggregate sw retry threshold. 0-disable*/
3896 /* Station kickout threshold (non of consecutive failures).0-disable */
3914 /* LTR-RX override, in us */
3986 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3991 /* Non aggregate/ 11g sw retry threshold.0-disable */
3993 /* aggregate sw retry threshold. 0-disable*/
3995 /* Station kickout threshold (non of consecutive failures).0-disable */
4013 /* LTR-RX override, in us */
4238 WMI_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */
4239 WMI_TP_SCALE_25 = 2, /* 25% of max (-6 dBm) */
4240 WMI_TP_SCALE_12 = 3, /* 12% of max (-9 dBm) */
4324 /* Customize the DSCP (bit) to TID (0-7) mapping for QOS */
4434 /* frames dropped due to non-availability of stateless TIDs */
4507 /* frames dropped due to non-availability of stateless TIDs */
4549 /* Cnts any change in ring routing mid-ppdu */
4555 /* Extra frags on rings 0-3 */
4578 /* Number of mpdu errors - FCS, MIC, ENC etc. */
4699 __le32 cycle_count; /* Total on-channel time */
5034 #define WMI_KEY_TX_USAGE 0x02 /* default tx key - static wep */
5099 * - preamble - b7:b6 - see WMI_RATE_PREMABLE_
5100 * - nss - b5:b4 - ss number (0 mean 1ss)
5101 * - rate_mcs - b3:b0 - as below
5102 * CCK: 0 - 11Mbps, 1 - 5,5Mbps, 2 - 2Mbps, 3 - 1Mbps,
5103 * 4 - 11Mbps (s), 5 - 5,5Mbps (s), 6 - 2Mbps (s)
5104 * OFDM: 0 - 48Mbps, 1 - 24Mbps, 2 - 12Mbps, 3 - 6Mbps,
5105 * 4 - 54Mbps, 5 - 36Mbps, 6 - 18Mbps, 7 - 9Mbps
5313 /* Set the custom rate (rate-code) for multicast data frames */
5329 * 802.11 data-null as a keep alive to verify the STA is still
5330 * associated. If the STA does ACK the data-null, or if the data-null
5347 /* Enable/Disable RTS-CTS */
5356 * Drops un-encrypted packets if eceived in an encrypted connection
5441 /* Set the custom rate (rate-code) for multicast data frames */
5457 * 802.11 data-null as a keep alive to verify the STA is still
5458 * associated. If the STA does ACK the data-null, or if the data-null
5477 /* Enable/Disable RTS-CTS */
5650 /* TODO: please add more comments if you have in-depth information */
5659 /* number of bins in the FFT: 2^(fft_size - bin_scale) */
5675 * 1: 2-dword summary of metrics for each completed FFT + spectral
5677 * 2: 2-dword summary of metrics for each completed FFT +
5678 * 1x- oversampled bins(in-band) per FFT + spectral scan summary
5680 * 3: 2-dword summary of metrics for each completed FFT +
5681 * 2x- oversampled bins (all) per FFT + spectral scan summary
5718 #define WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT -96
5776 /* physical address of the frame - dma pointer */
5798 /* Filter type - wmi_bcn_filter */
5875 * access categories are delivery-enabled, the station will send a
5876 * UAPSD trigger frame, otherwise it will send a PS-Poll.
5900 * The maximum number of PS-Poll frames the FW will send in response to
5903 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
5911 * Values greater than 0 indicate the maximum number of PS-Poll frames
5915 /* When u-APSD is enabled the firmware will be very reluctant to exit
5917 * PS-Poll for each and every buffered frame. This value is a bit
5986 * Number of PS-Poll to send before STA wakes up
6030 /* U-APSD configuration of peer station from (re)assoc request and TSPECs */
6042 /* U-APSD maximum service period of peer station */
6122 /* Bit 0 - Flag to indicate an update in NOA schedule
6123 * Bits 7-1 - Reserved
6128 /* Bit 0 - Opp PS state of the AP
6129 * Bits 1-7 - Ctwindow in TUs
6172 /* Bit 0 - Flag to indicate an update in NOA schedule
6173 * Bits 7-1 - Reserved
6178 /* Bit 0 - Opp PS state of the AP
6179 * Bits 1-7 - Ctwindow in TUs
6954 /* temperature value in Celsius degree */
7034 WOW_REASON_UNSPECIFIED = -1,
7118 #define WOW_MAX_REDUCE (WOW_HDR_LEN - sizeof(struct ethhdr) - \