mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 08:12:41 -04:00
wifi: iwlwifi: api: fix constant version to match FW
The versioning here comes from the firmware, so it should be the same as in the firmware, fix that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240208185302.fbcb99d896b3.Ibf018d22ca673565cb9028adabd04d4804231ac0@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2012-2014, 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation
|
||||
* Copyright (C) 2017 Intel Deutschland GmbH
|
||||
*/
|
||||
#ifndef __iwl_fw_api_mac_h__
|
||||
@@ -431,8 +431,8 @@ enum iwl_he_pkt_ext_constellations {
|
||||
};
|
||||
|
||||
#define MAX_HE_SUPP_NSS 2
|
||||
#define MAX_CHANNEL_BW_INDX_API_D_VER_2 4
|
||||
#define MAX_CHANNEL_BW_INDX_API_D_VER_3 5
|
||||
#define MAX_CHANNEL_BW_INDX_API_D_VER_1 4
|
||||
#define MAX_CHANNEL_BW_INDX_API_D_VER_2 5
|
||||
|
||||
/**
|
||||
* struct iwl_he_pkt_ext_v1 - QAM thresholds
|
||||
@@ -455,7 +455,7 @@ enum iwl_he_pkt_ext_constellations {
|
||||
* (0-low_th, 1-high_th)
|
||||
*/
|
||||
struct iwl_he_pkt_ext_v1 {
|
||||
u8 pkt_ext_qam_th[MAX_HE_SUPP_NSS][MAX_CHANNEL_BW_INDX_API_D_VER_2][2];
|
||||
u8 pkt_ext_qam_th[MAX_HE_SUPP_NSS][MAX_CHANNEL_BW_INDX_API_D_VER_1][2];
|
||||
} __packed; /* PKT_EXT_DOT11AX_API_S_VER_1 */
|
||||
|
||||
/**
|
||||
@@ -480,7 +480,7 @@ struct iwl_he_pkt_ext_v1 {
|
||||
* (0-low_th, 1-high_th)
|
||||
*/
|
||||
struct iwl_he_pkt_ext_v2 {
|
||||
u8 pkt_ext_qam_th[MAX_HE_SUPP_NSS][MAX_CHANNEL_BW_INDX_API_D_VER_3][2];
|
||||
u8 pkt_ext_qam_th[MAX_HE_SUPP_NSS][MAX_CHANNEL_BW_INDX_API_D_VER_2][2];
|
||||
} __packed; /* PKT_EXT_DOT11AX_API_S_VER_2 */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user