Lines Matching +full:cts +full:- +full:override

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.
28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
44 * variable is already 4-byte aligned by virtue of being a u32
526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4))
1159 /** DFS-specific commands */
1186 /* Rate-control specific commands */
1411 /* DFS-specific commands */
1438 /* Rate-control specific commands */
1479 WMI_10X_PDEV_UTF_CMDID = WMI_10X_END_CMDID - 1,
1542 WMI_10X_PDEV_UTF_EVENTID = WMI_10X_END_EVENTID - 1,
1665 WMI_10_2_PDEV_UTF_CMDID = WMI_10_2_END_CMDID - 1,
1710 WMI_10_2_PDEV_UTF_EVENTID = WMI_10_2_END_EVENTID - 1,
1891 WMI_10_4_PDEV_UTF_CMDID = WMI_10_4_END_CMDID - 1,
1969 WMI_10_4_PDEV_UTF_EVENTID = WMI_10_4_END_EVENTID - 1,
2006 return "11na-ht20"; in ath10k_wmi_phymode_str()
2008 return "11ng-ht20"; in ath10k_wmi_phymode_str()
2010 return "11na-ht40"; in ath10k_wmi_phymode_str()
2012 return "11ng-ht40"; in ath10k_wmi_phymode_str()
2014 return "11ac-vht20"; in ath10k_wmi_phymode_str()
2016 return "11ac-vht40"; in ath10k_wmi_phymode_str()
2018 return "11ac-vht80"; in ath10k_wmi_phymode_str()
2020 return "11ac-vht160"; in ath10k_wmi_phymode_str()
2022 return "11ac-vht80+80"; in ath10k_wmi_phymode_str()
2024 return "11ac-vht20-2g"; in ath10k_wmi_phymode_str()
2026 return "11ac-vht40-2g"; in ath10k_wmi_phymode_str()
2028 return "11ac-vht80-2g"; in ath10k_wmi_phymode_str()
2119 #define WMI_HT_CAP_RX_STBC 0x0030 /* B4-B5 RX STBC */
2122 #define WMI_HT_CAP_L_SIG_TXOP_PROT 0x0080 /* L-SIG TXOP Protection */
2181 #define WMI_VHT_MAX_MCS_4_SS_MASK(r, ss) ((3 & (r)) << (((ss) - 1) << 1))
2187 REGDMN_MODE_TURBO = 0x00002, /* 11a turbo-only channels */
2196 REGDMN_MODE_11NG_HT20 = 0x00800, /* 11N-G HT20 channels */
2197 REGDMN_MODE_11NA_HT20 = 0x01000, /* 11N-A HT20 channels */
2198 REGDMN_MODE_11NG_HT40PLUS = 0x02000, /* 11N-G HT40 + channels */
2199 REGDMN_MODE_11NG_HT40MINUS = 0x04000, /* 11N-G HT40 - channels */
2200 REGDMN_MODE_11NA_HT40PLUS = 0x08000, /* 11N-A HT40 + channels */
2201 REGDMN_MODE_11NA_HT40MINUS = 0x10000, /* 11N-A HT40 - channels */
2204 REGDMN_MODE_11AC_VHT40MINUS = 0x80000, /* 5Ghz VHT40 - channels */
2374 /* For target-based RX reordering */
2400 * This configuration parameter specifies the nominal chain-mask that
2412 * This configuration parameter specifies the nominal chain-mask that
2420 * Each WMM access class (voice, video, best-effort, background) will
2454 * how many groups to use for mcast->ucast conversion
2458 * multicast->unicast conversion is enabled, the target can convert
2479 * whether/how to do multicast->unicast conversion
2482 * perform multicast --> unicast conversion on transmit, and if so,
2486 * 0 -> Do not perform multicast to unicast conversion.
2487 * 1 -> Convert multicast frames to unicast, if the IP multicast
2491 * 2 -> Convert multicast frames to unicast, if the IP multicast
2502 * to store a log of tx PPDU meta-information (how large the PPDU
2512 * 0 -default, 1 256B
2524 * non-aggregate MPDU and timing out stale fragments.
2526 * A-MPDU reordering is always performed on the target.
2585 * This configuration parameter specifies the nominal chain-mask that
2597 * This configuration parameter specifies the nominal chain-mask that
2605 * Each WMM access class (voice, video, best-effort, background) will
2639 * how many groups to use for mcast->ucast conversion
2643 * multicast->unicast conversion is enabled, the target can convert
2664 * whether/how to do multicast->unicast conversion
2667 * perform multicast --> unicast conversion on transmit, and if so,
2671 * 0 -> Do not perform multicast to unicast conversion.
2672 * 1 -> Convert multicast frames to unicast, if the IP multicast
2676 * 2 -> Convert multicast frames to unicast, if the IP multicast
2687 * to store a log of tx PPDU meta-information (how large the PPDU
2697 * 0 -default, 1 256B
2709 * non-aggregate MPDU and timing out stale fragments.
2711 * A-MPDU reordering is always performed on the target.
2748 __le32 smart_ant_cap; /* 0-disable, 1-enable */
2802 * This configuration parameter specifies the nominal chain-mask that
2812 * chain-mask that should be used when not operating with a reduced
2818 * Each WMM access class (voice, video, best-effort, background) will
2841 /* How many groups to use for mcast->ucast conversion.
2844 * multicast->unicast conversion is enabled, the target can convert
2861 /* Whether/how to do multicast->unicast conversion.
2863 * perform multicast --> unicast conversion on transmit, and if so,
2867 * 0 -> Do not perform multicast to unicast conversion.
2868 * 1 -> Convert multicast frames to unicast, if the IP multicast address
2871 * 2 -> Convert multicast frames to unicast, if the IP multicast address
2880 * store a log of tx PPDU meta-information (how large the PPDU was,
2888 /* MAC DMA burst size. 0 -default, 1 -256B */
2897 * non-aggregate MPDU and timing out stale fragments. A-MPDU reordering
2930 * 1 - Smart antenna is enabled
2931 * 0 - Smart antenna is disabled
2945 * 1 - Rx batch mode enabled
2946 * 0 - Rx batch mode disabled
2951 * 1 - Capable of thermal throttling
2952 * 0 - Not capable of thermal throttling
2957 * 1 - Enable ATF
2958 * 0 - Disable ATF
2962 /* Configure padding to manage IP header un-alignment
2963 * 1 - Enable padding
2964 * 0 - Disable padding
2968 /* qwrap configuration (bits 15-0)
2969 * 1 - This is qwrap configuration
2970 * 0 - This is not qwrap
2972 * Bits 31-16 is alloc_frag_desc_for_data_pkt (1 enables, 0 disables)
2973 * In order to get ack-RSSI reporting and to specify the tx-rate for
2975 * 4 bytes per tx-msdu descriptor, so don't enable it unless you need it.
2993 * enum wmi_10_4_feature_mask - WMI 10.4 feature enable/disable flags
3350 /* possibly by high-prio scan */
3670 ATH10K_PROT_CTSONLY = 1, /* CTS to self */
3671 ATH10K_PROT_RTSCTS = 2, /* RTS-CTS */
3702 /* Bit 0-15: FC */
3703 /* Bit 16-31: DUR */
3840 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3844 * Dynamic bandwidth - 0: disable, 1: enable
3850 /* Non aggregrate/ 11g sw retry threshold.0-disable */
3852 /* aggregrate sw retry threshold. 0-disable*/
3854 /* Station kickout threshold (non of consecutive failures).0-disable */
3870 /* LTR platform latency override, in us */
3872 /* LTR-RX override, in us */
3944 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3949 /* Non aggregrate/ 11g sw retry threshold.0-disable */
3951 /* aggregrate sw retry threshold. 0-disable*/
3953 /* Station kickout threshold (non of consecutive failures).0-disable */
3969 /* LTR platform latency override, in us */
3971 /* LTR-RX override, in us */
4196 WMI_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */
4197 WMI_TP_SCALE_25 = 2, /* 25% of max (-6 dBm) */
4198 WMI_TP_SCALE_12 = 3, /* 12% of max (-9 dBm) */
4289 /* Customize the DSCP (bit) to TID (0-7) mapping for QOS */
4399 /* frames dropped due to non-availability of stateless TIDs */
4472 /* frames dropped due to non-availability of stateless TIDs */
4514 /* Cnts any change in ring routing mid-ppdu */
4520 /* Extra frags on rings 0-3 */
4543 /* Number of mpdu errors - FCS, MIC, ENC etc. */
4664 __le32 cycle_count; /* Total on-channel time */
4999 #define WMI_KEY_TX_USAGE 0x02 /* default tx key - static wep */
5064 * - preamble - b7:b6 - see WMI_RATE_PREMABLE_
5065 * - nss - b5:b4 - ss number (0 mean 1ss)
5066 * - rate_mcs - b3:b0 - as below
5067 * CCK: 0 - 11Mbps, 1 - 5,5Mbps, 2 - 2Mbps, 3 - 1Mbps,
5068 * 4 - 11Mbps (s), 5 - 5,5Mbps (s), 6 - 2Mbps (s)
5069 * OFDM: 0 - 48Mbps, 1 - 24Mbps, 2 - 12Mbps, 3 - 6Mbps,
5070 * 4 - 54Mbps, 5 - 36Mbps, 6 - 18Mbps, 7 - 9Mbps
5278 /* Set the custom rate (rate-code) for multicast data frames */
5294 * 802.11 data-null as a keep alive to verify the STA is still
5295 * associated. If the STA does ACK the data-null, or if the data-null
5312 /* Enable/Disable RTS-CTS */
5321 * Drops un-encrypted packets if eceived in an encrypted connection
5406 /* Set the custom rate (rate-code) for multicast data frames */
5422 * 802.11 data-null as a keep alive to verify the STA is still
5423 * associated. If the STA does ACK the data-null, or if the data-null
5442 /* Enable/Disable RTS-CTS */
5615 /* TODO: please add more comments if you have in-depth information */
5624 /* number of bins in the FFT: 2^(fft_size - bin_scale) */
5640 * 1: 2-dword summary of metrics for each completed FFT + spectral
5642 * 2: 2-dword summary of metrics for each completed FFT +
5643 * 1x- oversampled bins(in-band) per FFT + spectral scan summary
5645 * 3: 2-dword summary of metrics for each completed FFT +
5646 * 2x- oversampled bins (all) per FFT + spectral scan summary
5683 #define WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT -96
5741 /* physical address of the frame - dma pointer */
5763 /* Filter type - wmi_bcn_filter */
5864 * access categories are delivery-enabled, the station will send a
5865 * UAPSD trigger frame, otherwise it will send a PS-Poll.
5889 * The maximum number of PS-Poll frames the FW will send in response to
5892 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
5900 * Values greater than 0 indicate the maximum numer of PS-Poll frames
5904 /* When u-APSD is enabled the firmware will be very reluctant to exit
5906 * PS-Poll for each and every buffered frame. This value is a bit
5975 * Number of PS-Poll to send before STA wakes up
6019 /* U-APSD configuration of peer station from (re)assoc request and TSPECs */
6031 /* U-APSD maximum service period of peer station */
6111 /* Bit 0 - Flag to indicate an update in NOA schedule
6112 * Bits 7-1 - Reserved
6117 /* Bit 0 - Opp PS state of the AP
6118 * Bits 1-7 - Ctwindow in TUs
6161 /* Bit 0 - Flag to indicate an update in NOA schedule
6162 * Bits 7-1 - Reserved
6167 /* Bit 0 - Opp PS state of the AP
6168 * Bits 1-7 - Ctwindow in TUs
7022 WOW_REASON_UNSPECIFIED = -1,
7106 #define WOW_MAX_REDUCE (WOW_HDR_LEN - sizeof(struct ethhdr) - \