Lines Matching +full:max +full:- +full:rx +full:- +full:timeout +full:- +full:ms
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.
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,
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()
2115 #define WMI_MAX_SPATIAL_STREAM 3 /* default max ss */
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 */
2130 #define WMI_HT_CAP_RX_LDPC 0x1000 /* LDPC RX support */
2167 /* The following also refer for max HT AMSDU */
2182 * Interested readers refer to Rx/Tx MCS Map definition as defined in
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 */
2292 __le32 vht_supp_mcs; /* VHT Supported MCS Set field Rx/Tx same */
2299 * Max beacon and Probe Response IE offload size
2332 __le32 vht_supp_mcs; /* VHT Supported MCS Set field Rx/Tx same */
2378 /* For target-based RX reordering */
2384 /* total number of TX/RX data TIDs */
2388 * max skid for resolving hash collisions
2404 * This configuration parameter specifies the nominal chain-mask that
2416 * This configuration parameter specifies the nominal chain-mask that
2417 * should be used when not operating with a reduced set of rx chains.
2422 * what rx reorder timeout (ms) to use for the AC
2424 * Each WMM access class (voice, video, best-effort, background) will
2425 * have its own timeout value to dictate how long to wait for missing
2426 * rx MPDUs to arrive before flushing subsequent MPDUs that have
2428 * This parameter specifies the timeout in milliseconds for each
2437 * what mode the rx should decap packets to
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.
2532 * 0: target responsible for frag timeout and dup checking
2533 * 1: host responsible for frag timeout and dup checking
2540 * and Max no of descriptors for each Video link (node).
2551 * Max. number of Tx fragments per MSDU
2552 * This parameter controls the max number of Tx fragments per MSDU.
2569 /* total number of TX/RX data TIDs */
2573 * max skid for resolving hash collisions
2589 * This configuration parameter specifies the nominal chain-mask that
2601 * This configuration parameter specifies the nominal chain-mask that
2602 * should be used when not operating with a reduced set of rx chains.
2607 * what rx reorder timeout (ms) to use for the AC
2609 * Each WMM access class (voice, video, best-effort, background) will
2610 * have its own timeout value to dictate how long to wait for missing
2611 * rx MPDUs to arrive before flushing subsequent MPDUs that have
2613 * This parameter specifies the timeout in milliseconds for each
2622 * what mode the rx should decap packets to
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.
2717 * 0: target responsible for frag timeout and dup checking
2718 * 1: host responsible for frag timeout and dup checking
2725 * and Max no of descriptors for each Video link (node).
2733 * Max. number of Tx fragments per MSDU
2734 * This parameter controls the max number of Tx fragments per MSDU.
2752 __le32 smart_ant_cap; /* 0-disable, 1-enable */
2783 * Rx reorder buffering
2790 /* Total number of TX/RX data TIDs */
2793 /* Max skid for resolving hash collisions.
2806 * This configuration parameter specifies the nominal chain-mask that
2816 * chain-mask that should be used when not operating with a reduced
2817 * set of rx chains.
2821 /* What rx reorder timeout (ms) to use for the AC.
2822 * Each WMM access class (voice, video, best-effort, background) will
2823 * have its own timeout value to dictate how long to wait for missing
2824 * rx MPDUs to arrive before flushing subsequent MPDUs that have already
2825 * been received. This parameter specifies the timeout in milliseconds
2830 /* What mode the rx should decap packets to.
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
2904 * 0: target responsible for frag timeout and dup checking
2905 * 1: host responsible for frag timeout and dup checking
2909 /* Configuration for VoW : No of Video nodes to be supported and max
2920 /* Max number of tx fragments per MSDU.
2921 * This parameter controls the max number of tx fragments per MSDU.
2927 /* Max number of extended peer stats.
2928 * This parameter controls the max number of peers for which extended
2934 * 1 - Smart antenna is enabled
2935 * 0 - Smart antenna is disabled
2948 /* Rx batch mode capability.
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 */
3220 * max rest time in msec on the BSS channel,only valid if at least
3225 * after min_rest_time the scanner will start checking for tx/rx
3390 /* possibly by high-prio scan */
3428 * as well as rx mgmt frames to the host. The rx buffer
3430 * good idea to pass all the fields in the RX status
3713 ATH10K_PROT_RTSCTS = 2, /* RTS-CTS */
3744 /* Bit 0-15: FC */
3745 /* Bit 16-31: DUR */
3863 /* RX chain mask */
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 */
3910 /* LTR AC latency timeout, in ms */
3914 /* LTR-RX override, in us */
3916 /* Tx activity timeout for LTR, in us */
3922 /* RX buffering flush enable */
3924 /* RX buffering matermark */
3926 /* RX buffering timeout enable */
3928 /* RX buffering timeout value */
3930 /* pdev level stats update period in ms */
3932 /* vdev level stats update period in ms */
3934 /* peer level stats update period in ms */
3967 /* RX chian mask */
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 */
4009 /* LTR AC latency timeout, in ms */
4013 /* LTR-RX override, in us */
4015 /* Tx activity timeout for LTR, in us */
4021 /* pdev level stats update period in ms */
4023 /* vdev level stats update period in ms */
4025 /* peer level stats update period in ms */
4187 /* valid period is 1 ~ 60000ms, unit in millisecond */
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) */
4242 WMI_TP_SCALE_SIZE = 5, /* max num of enum */
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. */
4659 * (wmi_vdev_stats) 0 or max vdevs
4664 * (wmi_peer_stats) 0 or max peers
4699 __le32 cycle_count; /* Total on-channel time */
4707 struct wmi_pdev_stats_rx rx; member
4723 struct wmi_pdev_stats_rx rx; member
4737 struct wmi_pdev_stats_rx rx; member
4747 struct wmi_pdev_stats_rx rx; member
5034 #define WMI_KEY_TX_USAGE 0x02 /* default tx key - static wep */
5081 /* contains key followed by tx mic followed by rx mic */
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
5275 /* BMISS max */
5303 /* Enable Rx STBC */
5313 /* Set the custom rate (rate-code) for multicast data frames */
5327 * TX/RX activity and no downlink frames are buffered for it. Once a
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
5339 * TX/RX activity and downlink frames are buffered for it. Once a STA
5347 /* Enable/Disable RTS-CTS */
5356 * Drops un-encrypted packets if eceived in an encrypted connection
5407 /* BMISS max */
5431 /* Enable Rx STBC */
5441 /* Set the custom rate (rate-code) for multicast data frames */
5455 * TX/RX activity and no downlink frames are buffered for it. Once a
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
5467 * TX/RX activity and downlink frames are buffered for it. Once a STA
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 */
5864 * Wake up when ever there is an RX activity on the VDEV. In this mode
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
5904 * parameter is used when the RX wake policy is
5905 * WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD and ignored when the RX wake
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
5916 * STA PS. This could result in very poor Rx performance with STA doing
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
5994 * TX/RX inactivity time in msec before going to sleep.
5996 * The power save SM will monitor tx/rx activity on the VDEV, if no
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
6366 * info in one word and Rx in another word. This is split
6370 __le32 rx_max_rate; /* Max Rx data rate */
6371 __le32 rx_mcs_set; /* Negotiated RX VHT rates */
6372 __le32 tx_max_rate; /* Max Tx data rate */
7034 WOW_REASON_UNSPECIFIED = -1,
7118 #define WOW_MAX_REDUCE (WOW_HDR_LEN - sizeof(struct ethhdr) - \