/* SPDX-License-Identifier: BSD-3-Clause-Clear */ /* * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/
struct ath12k_generic_iter { struct ath12k *ar; int ret;
};
/* number of failed packets (20 packets with 16 sw reties each) */ #define ATH12K_KICKOUT_THRESHOLD (20 * 16)
/* Use insanely high numbers to make sure that the firmware implementation * won't start, we have the same functionality already in hostapd. Unit * is seconds.
*/ #define ATH12K_KEEPALIVE_MIN_IDLE 3747 #define ATH12K_KEEPALIVE_MAX_IDLE 3895 #define ATH12K_KEEPALIVE_MAX_UNRESPONSIVE 3900
/* FIXME: should these be in ieee80211.h? */ #define IEEE80211_VHT_MCS_SUPPORT_0_11_MASK GENMASK(23, 16) #define IEEE80211_DISABLE_VHT_MCS_SUPPORT_0_11 BIT(24)
/* Default link after the IEEE802.11 defined Max link id limit * for driver usage purpose.
*/ #define ATH12K_FIRST_SCAN_LINK IEEE80211_MLD_MAX_NUM_LINKS #define ATH12K_SCAN_MAX_LINKS ATH12K_GROUP_MAX_RADIO /* Define 1 scan link for each radio for parallel scan purposes */ #define ATH12K_NUM_MAX_LINKS (IEEE80211_MLD_MAX_NUM_LINKS + ATH12K_SCAN_MAX_LINKS) #define ATH12K_SCAN_LINKS_MASK GENMASK(ATH12K_NUM_MAX_LINKS, IEEE80211_MLD_MAX_NUM_LINKS)
/** * struct ath12k_chan_power_info - TPE containing power info per channel chunk * @chan_cfreq: channel center freq (MHz) * e.g. * channel 37/20 MHz, it is 6135 * channel 37/40 MHz, it is 6125 * channel 37/80 MHz, it is 6145 * channel 37/160 MHz, it is 6185 * @tx_power: transmit power (dBm)
*/ struct ath12k_chan_power_info {
u16 chan_cfreq;
s8 tx_power;
};
/* ath12k only deals with 320 MHz, so 16 subchannels */ #define ATH12K_NUM_PWR_LEVELS 16
/** * struct ath12k_reg_tpc_power_info - regulatory TPC power info * @is_psd_power: is PSD power or not * @eirp_power: Maximum EIRP power (dBm), valid only if power is PSD * @ap_power_type: type of power (SP/LPI/VLP) * @num_pwr_levels: number of power levels * @reg_max: Array of maximum TX power (dBm) per PSD value * @ap_constraint_power: AP constraint power (dBm) * @tpe: TPE values processed from TPE IE * @chan_power_info: power info to send to firmware
*/ struct ath12k_reg_tpc_power_info { bool is_psd_power;
u8 eirp_power; enum wmi_reg_6g_ap_type ap_power_type;
u8 num_pwr_levels;
u8 reg_max[ATH12K_NUM_PWR_LEVELS];
u8 ap_constraint_power;
s8 tpe[ATH12K_NUM_PWR_LEVELS]; struct ath12k_chan_power_info chan_power_info[ATH12K_NUM_PWR_LEVELS];
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.