Lines Matching +full:micro +full:- +full:frames

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-2023 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()
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
2416 * This configuration parameter specifies the nominal chain-mask that
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
2463 * multicast tx frames to a series of unicast tx frames, to each
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
2601 * This configuration parameter specifies the nominal chain-mask that
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
2648 * multicast tx frames to a series of unicast tx frames, to each
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
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
2849 * multicast tx frames to a series of unicast tx frames, to each peer
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
2978 * individual frames, this option must be enabled. This uses an extra
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
3289 /* Filter Probe request frames */
3356 /* possibly by high-prio scan */
3394 * as well as rx mgmt frames to the host. The rx buffer
3679 ATH10K_PROT_RTSCTS = 2, /* RTS-CTS */
3710 /* Bit 0-15: FC */
3711 /* Bit 16-31: DUR */
3848 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3852 * Dynamic bandwidth - 0: disable, 1: enable
3855 * retransmitting frames.
3858 /* Non aggregate/ 11g sw retry threshold.0-disable */
3860 /* aggregate sw retry threshold. 0-disable*/
3862 /* Station kickout threshold (non of consecutive failures).0-disable */
3880 /* LTR-RX override, in us */
3906 /* Access category on which ARP frames are sent */
3952 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3957 /* Non aggregate/ 11g sw retry threshold.0-disable */
3959 /* aggregate sw retry threshold. 0-disable*/
3961 /* Station kickout threshold (non of consecutive failures).0-disable */
3979 /* LTR-RX override, in us */
3997 /* Access category on which ARP and DHCP frames are sent */
4204 WMI_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */
4205 WMI_TP_SCALE_25 = 2, /* 25% of max (-6 dBm) */
4206 WMI_TP_SCALE_12 = 3, /* 12% of max (-9 dBm) */
4297 /* Customize the DSCP (bit) to TID (0-7) mapping for QOS */
4362 /* Num Local frames queued */
4365 /* Num Local frames done */
4392 /* frames dropped due to excessive sw retries */
4407 /* frames dropped due to non-availability of stateless TIDs */
4432 /* Num Local frames queued */
4435 /* Num Local frames done */
4465 /* frames dropped due to excessive sw retries */
4480 /* frames dropped due to non-availability of stateless TIDs */
4522 /* Cnts any change in ring routing mid-ppdu */
4528 /* Extra frags on rings 0-3 */
4551 /* Number of mpdu errors - FCS, MIC, ENC etc. */
4669 __le32 tx_frame_count; /* Cycles spent transmitting frames */
4670 __le32 rx_frame_count; /* Cycles spent receiving frames */
4672 __le32 cycle_count; /* Total on-channel time */
4914 __le32 duration; /* Absent period duration in micro seconds */
4915 __le32 interval; /* Absent period interval in micro seconds */
4942 * During CAC, Our HW shouldn't ack ditected frames
5007 #define WMI_KEY_TX_USAGE 0x02 /* default tx key - static wep */
5072 * - preamble - b7:b6 - see WMI_RATE_PREMABLE_
5073 * - nss - b5:b4 - ss number (0 mean 1ss)
5074 * - rate_mcs - b3:b0 - as below
5075 * CCK: 0 - 11Mbps, 1 - 5,5Mbps, 2 - 2Mbps, 3 - 1Mbps,
5076 * 4 - 11Mbps (s), 5 - 5,5Mbps (s), 6 - 2Mbps (s)
5077 * OFDM: 0 - 48Mbps, 1 - 24Mbps, 2 - 12Mbps, 3 - 6Mbps,
5078 * 4 - 54Mbps, 5 - 36Mbps, 6 - 18Mbps, 7 - 9Mbps
5230 /* age out time in msec for frames queued for station in power save */
5264 /* Rate to be used with Management frames */
5284 /* Set the custom rate for the broadcast data frames */
5286 /* Set the custom rate (rate-code) for multicast data frames */
5300 * TX/RX activity and no downlink frames are buffered for it. Once a
5302 * 802.11 data-null as a keep alive to verify the STA is still
5303 * associated. If the STA does ACK the data-null, or if the data-null
5312 * TX/RX activity and downlink frames are buffered for it. Once a STA
5320 /* Enable/Disable RTS-CTS */
5329 * Drops un-encrypted packets if eceived in an encrypted connection
5335 * Set the encapsulation type for frames.
5362 /* age out time in msec for frames queued for station in power save */
5392 /* Rate to be used with Management frames */
5412 /* Set the custom rate for the broadcast data frames */
5414 /* Set the custom rate (rate-code) for multicast data frames */
5428 * TX/RX activity and no downlink frames are buffered for it. Once a
5430 * 802.11 data-null as a keep alive to verify the STA is still
5431 * associated. If the STA does ACK the data-null, or if the data-null
5440 * TX/RX activity and downlink frames are buffered for it. Once a STA
5450 /* Enable/Disable RTS-CTS */
5623 /* TODO: please add more comments if you have in-depth information */
5632 /* number of bins in the FFT: 2^(fft_size - bin_scale) */
5648 * 1: 2-dword summary of metrics for each completed FFT + spectral
5650 * 2: 2-dword summary of metrics for each completed FFT +
5651 * 1x- oversampled bins(in-band) per FFT + spectral scan summary
5653 * 3: 2-dword summary of metrics for each completed FFT +
5654 * 2x- oversampled bins (all) per FFT + spectral scan summary
5691 #define WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT -96
5749 /* physical address of the frame - dma pointer */
5771 /* Filter type - wmi_bcn_filter */
5854 * This parameter controls the policy for retrieving frames from AP while the
5872 * access categories are delivery-enabled, the station will send a
5873 * UAPSD trigger frame, otherwise it will send a PS-Poll.
5879 * Number of tx frames/beacon that cause the power save SM to wake up.
5897 * The maximum number of PS-Poll frames the FW will send in response to
5900 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
5908 * Values greater than 0 indicate the maximum number of PS-Poll frames
5912 /* When u-APSD is enabled the firmware will be very reluctant to exit
5914 * PS-Poll for each and every buffered frame. This value is a bit
5969 * Controls how frames are retrievd from AP while STA is sleeping
5983 * Number of PS-Poll to send before STA wakes up
6027 /* U-APSD configuration of peer station from (re)assoc request and TSPECs */
6039 /* U-APSD maximum service period of peer station */
6075 /* Time in seconds for aging out buffered frames for STA in PS */
6119 /* Bit 0 - Flag to indicate an update in NOA schedule
6120 * Bits 7-1 - Reserved
6125 /* Bit 0 - Opp PS state of the AP
6126 * Bits 1-7 - Ctwindow in TUs
6169 /* Bit 0 - Flag to indicate an update in NOA schedule
6170 * Bits 7-1 - Reserved
6175 /* Bit 0 - Opp PS state of the AP
6176 * Bits 1-7 - Ctwindow in TUs
7031 WOW_REASON_UNSPECIFIED = -1,
7115 #define WOW_MAX_REDUCE (WOW_HDR_LEN - sizeof(struct ethhdr) - \