Lines Matching +full:save +full:- +full:mac +full:- +full:address

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))
849 /* 2 word representation of MAC addr */
1154 /* Station power save specific config */
1159 /** DFS-specific commands */
1182 /* AP power save specific config */
1186 /* Rate-control specific commands */
1403 /* Station power save specific config */
1411 /* DFS-specific commands */
1434 /* AP power save specific config */
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()
2122 #define WMI_HT_CAP_RX_STBC 0x0030 /* B4-B5 RX STBC */
2125 #define WMI_HT_CAP_L_SIG_TXOP_PROT 0x0080 /* L-SIG TXOP Protection */
2184 #define WMI_VHT_MAX_MCS_4_SS_MASK(r, ss) ((3 & (r)) << (((ss) - 1) << 1))
2190 REGDMN_MODE_TURBO = 0x00002, /* 11a turbo-only channels */
2199 REGDMN_MODE_11NG_HT20 = 0x00800, /* 11N-G HT20 channels */
2200 REGDMN_MODE_11NA_HT20 = 0x01000, /* 11N-A HT20 channels */
2201 REGDMN_MODE_11NG_HT40PLUS = 0x02000, /* 11N-G HT40 + channels */
2202 REGDMN_MODE_11NG_HT40MINUS = 0x04000, /* 11N-G HT40 - channels */
2203 REGDMN_MODE_11NA_HT40PLUS = 0x08000, /* 11N-A HT40 + channels */
2204 REGDMN_MODE_11NA_HT40MINUS = 0x10000, /* 11N-A HT40 - channels */
2207 REGDMN_MODE_11AC_VHT40MINUS = 0x80000, /* 5Ghz VHT40 - channels */
2377 /* For target-based RX reordering */
2389 * The address search table is sparse, so that if two MAC addresses
2391 * entries can slide to the next index in the address search table,
2403 * This configuration parameter specifies the nominal chain-mask that
2415 * This configuration parameter specifies the nominal chain-mask that
2423 * Each WMM access class (voice, video, best-effort, background) will
2438 * MAC can decap to RAW (no decap), native wifi or Ethernet types
2457 * how many groups to use for mcast->ucast conversion
2461 * multicast->unicast conversion is enabled, the target can convert
2482 * whether/how to do multicast->unicast conversion
2485 * perform multicast --> unicast conversion on transmit, and if so,
2487 * membership table for the multicast IP address in the tx frame.
2489 * 0 -> Do not perform multicast to unicast conversion.
2490 * 1 -> Convert multicast frames to unicast, if the IP multicast
2491 * address from the tx frame is found in the multicast group
2492 * membership table. If the IP multicast address is not found,
2494 * 2 -> Convert multicast frames to unicast, if the IP multicast
2495 * address from the tx frame is found in the multicast group
2496 * membership table. If the IP multicast address is not found,
2505 * to store a log of tx PPDU meta-information (how large the PPDU
2514 * MAC DMA burst size, e.g., For target PCI limit can be
2515 * 0 -default, 1 256B
2527 * non-aggregate MPDU and timing out stale fragments.
2529 * A-MPDU reordering is always performed on the target.
2574 * The address search table is sparse, so that if two MAC addresses
2576 * entries can slide to the next index in the address search table,
2588 * This configuration parameter specifies the nominal chain-mask that
2600 * This configuration parameter specifies the nominal chain-mask that
2608 * Each WMM access class (voice, video, best-effort, background) will
2623 * MAC can decap to RAW (no decap), native wifi or Ethernet types
2642 * how many groups to use for mcast->ucast conversion
2646 * multicast->unicast conversion is enabled, the target can convert
2667 * whether/how to do multicast->unicast conversion
2670 * perform multicast --> unicast conversion on transmit, and if so,
2672 * membership table for the multicast IP address in the tx frame.
2674 * 0 -> Do not perform multicast to unicast conversion.
2675 * 1 -> Convert multicast frames to unicast, if the IP multicast
2676 * address from the tx frame is found in the multicast group
2677 * membership table. If the IP multicast address is not found,
2679 * 2 -> Convert multicast frames to unicast, if the IP multicast
2680 * address from the tx frame is found in the multicast group
2681 * membership table. If the IP multicast address is not found,
2690 * to store a log of tx PPDU meta-information (how large the PPDU
2699 * MAC DMA burst size, e.g., For target PCI limit can be
2700 * 0 -default, 1 256B
2712 * non-aggregate MPDU and timing out stale fragments.
2714 * A-MPDU reordering is always performed on the target.
2751 __le32 smart_ant_cap; /* 0-disable, 1-enable */
2793 * The address search table is sparse, so that if two MAC addresses
2795 * entries can slide to the next index in the address search table,
2805 * This configuration parameter specifies the nominal chain-mask that
2815 * chain-mask that should be used when not operating with a reduced
2821 * Each WMM access class (voice, video, best-effort, background) will
2830 * MAC can decap to RAW (no decap), native wifi or Ethernet types.
2844 /* How many groups to use for mcast->ucast conversion.
2847 * multicast->unicast conversion is enabled, the target can convert
2864 /* Whether/how to do multicast->unicast conversion.
2866 * perform multicast --> unicast conversion on transmit, and if so,
2868 * table for the multicast IP address in the tx frame.
2870 * 0 -> Do not perform multicast to unicast conversion.
2871 * 1 -> Convert multicast frames to unicast, if the IP multicast address
2873 * table. If the IP multicast address is not found, drop the frame
2874 * 2 -> Convert multicast frames to unicast, if the IP multicast address
2876 * table. If the IP multicast address is not found, transmit the
2883 * store a log of tx PPDU meta-information (how large the PPDU was,
2891 /* MAC DMA burst size. 0 -default, 1 -256B */
2900 * non-aggregate MPDU and timing out stale fragments. A-MPDU reordering
2933 * 1 - Smart antenna is enabled
2934 * 0 - Smart antenna is disabled
2948 * 1 - Rx batch mode enabled
2949 * 0 - Rx batch mode disabled
2954 * 1 - Capable of thermal throttling
2955 * 0 - Not capable of thermal throttling
2960 * 1 - Enable ATF
2961 * 0 - Disable ATF
2965 /* Configure padding to manage IP header un-alignment
2966 * 1 - Enable padding
2967 * 0 - Disable padding
2971 /* qwrap configuration (bits 15-0)
2972 * 1 - This is qwrap configuration
2973 * 0 - This is not qwrap
2975 * Bits 31-16 is alloc_frag_desc_for_data_pkt (1 enables, 0 disables)
2976 * In order to get ack-RSSI reporting and to specify the tx-rate for
2978 * 4 bytes per tx-msdu descriptor, so don't enable it unless you need it.
2996 * enum wmi_10_4_feature_mask - WMI 10.4 feature enable/disable flags
3060 /* the physical address the memory chunk */
3297 /* Use random MAC address for TA for Probe Request frame and add
3355 /* possibly by high-prio scan */
3678 ATH10K_PROT_RTSCTS = 2, /* RTS-CTS */
3709 /* Bit 0-15: FC */
3710 /* Bit 16-31: DUR */
3847 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3851 * Dynamic bandwidth - 0: disable, 1: enable
3857 /* Non aggregrate/ 11g sw retry threshold.0-disable */
3859 /* aggregrate sw retry threshold. 0-disable*/
3861 /* Station kickout threshold (non of consecutive failures).0-disable */
3879 /* LTR-RX override, in us */
3951 * 0: no protection 1:use CTS-to-self 2: use RTS/CTS
3956 /* Non aggregrate/ 11g sw retry threshold.0-disable */
3958 /* aggregrate sw retry threshold. 0-disable*/
3960 /* Station kickout threshold (non of consecutive failures).0-disable */
3978 /* LTR-RX override, in us */
4203 WMI_TP_SCALE_50 = 1, /* 50% of max (-3 dBm) */
4204 WMI_TP_SCALE_25 = 2, /* 25% of max (-6 dBm) */
4205 WMI_TP_SCALE_12 = 3, /* 12% of max (-9 dBm) */
4296 /* Customize the DSCP (bit) to TID (0-7) mapping for QOS */
4406 /* frames dropped due to non-availability of stateless TIDs */
4479 /* frames dropped due to non-availability of stateless TIDs */
4521 /* Cnts any change in ring routing mid-ppdu */
4527 /* Extra frags on rings 0-3 */
4550 /* Number of mpdu errors - FCS, MIC, ENC etc. */
4594 /* peer MAC address */
4671 __le32 cycle_count; /* Total on-channel time */
5006 #define WMI_KEY_TX_USAGE 0x02 /* default tx key - static wep */
5071 * - preamble - b7:b6 - see WMI_RATE_PREMABLE_
5072 * - nss - b5:b4 - ss number (0 mean 1ss)
5073 * - rate_mcs - b3:b0 - as below
5074 * CCK: 0 - 11Mbps, 1 - 5,5Mbps, 2 - 2Mbps, 3 - 1Mbps,
5075 * 4 - 11Mbps (s), 5 - 5,5Mbps (s), 6 - 2Mbps (s)
5076 * OFDM: 0 - 48Mbps, 1 - 24Mbps, 2 - 12Mbps, 3 - 6Mbps,
5077 * 4 - 54Mbps, 5 - 36Mbps, 6 - 18Mbps, 7 - 9Mbps
5229 /* age out time in msec for frames queued for station in power save */
5285 /* Set the custom rate (rate-code) for multicast data frames */
5301 * 802.11 data-null as a keep alive to verify the STA is still
5302 * associated. If the STA does ACK the data-null, or if the data-null
5319 /* Enable/Disable RTS-CTS */
5324 /* Set packet power save */
5328 * Drops un-encrypted packets if eceived in an encrypted connection
5361 /* age out time in msec for frames queued for station in power save */
5413 /* Set the custom rate (rate-code) for multicast data frames */
5429 * 802.11 data-null as a keep alive to verify the STA is still
5430 * associated. If the STA does ACK the data-null, or if the data-null
5449 /* Enable/Disable RTS-CTS */
5622 /* TODO: please add more comments if you have in-depth information */
5631 /* number of bins in the FFT: 2^(fft_size - bin_scale) */
5647 * 1: 2-dword summary of metrics for each completed FFT + spectral
5649 * 2: 2-dword summary of metrics for each completed FFT +
5650 * 1x- oversampled bins(in-band) per FFT + spectral scan summary
5652 * 3: 2-dword summary of metrics for each completed FFT +
5653 * 2x- oversampled bins (all) per FFT + spectral scan summary
5690 #define WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT -96
5748 /* physical address of the frame - dma pointer */
5770 /* Filter type - wmi_bcn_filter */
5820 /* enable power save for the given STA VDEV */
5822 /* disable power save for a given STA VDEV */
5831 * Power save mode
5861 * the Power save SM(state machine) will come out of sleep by either
5868 * Here the power save state machine will not wakeup in response to TIM
5871 * access categories are delivery-enabled, the station will send a
5872 * UAPSD trigger frame, otherwise it will send a PS-Poll.
5878 * Number of tx frames/beacon that cause the power save SM to wake up.
5896 * The maximum number of PS-Poll frames the FW will send in response to
5899 * will send as many PS-Poll as are necessary to retrieve buffered BU. This
5907 * Values greater than 0 indicate the maximum number of PS-Poll frames
5911 /* When u-APSD is enabled the firmware will be very reluctant to exit
5913 * PS-Poll for each and every buffered frame. This value is a bit
5982 * Number of PS-Poll to send before STA wakes up
5992 * The power save SM will monitor tx/rx activity on the VDEV, if no
5993 * activity for the specified msec of the parameter the Power save
6012 /* No MIMO power save */
6026 /* U-APSD configuration of peer station from (re)assoc request and TSPECs */
6038 /* U-APSD maximum service period of peer station */
6048 * AP power save parameter
6049 * Set a power save specific parameter for a peer station
6082 /* peer MAC address */
6118 /* Bit 0 - Flag to indicate an update in NOA schedule
6119 * Bits 7-1 - Reserved
6124 /* Bit 0 - Opp PS state of the AP
6125 * Bits 1-7 - Ctwindow in TUs
6168 /* Bit 0 - Flag to indicate an update in NOA schedule
6169 * Bits 7-1 - Reserved
6174 /* Bit 0 - Opp PS state of the AP
6175 * Bits 1-7 - Ctwindow in TUs
6249 /* peer MAC address */
6260 /* peer MAC address */
6267 /* peer MAC address */
6278 /* peer MAC address */
6291 /* peer mac address */
6302 /* peer mac address */
6380 /* peer MAC address */
6391 /* peer MAC address */
6571 /* peer MAC address */
6573 /* wds MAC addr */
6578 /* wds MAC addr */
6583 /* peer MAC address */
6785 /* By default disable power save for IBSS */
7030 WOW_REASON_UNSPECIFIED = -1,
7114 #define WOW_MAX_REDUCE (WOW_HDR_LEN - sizeof(struct ethhdr) - \
7373 /* mac address randomization attributes */