From d70f4818911c40aec2a0ad927eb09b0a6cd14d16 Mon Sep 17 00:00:00 2001 From: Sugnan Prabhu S Date: Wed, 25 Aug 2021 17:36:44 +0530 Subject: wifi: Add support for DSM methods for intel wifi card Add support for DSM methods as per the connectivity document 559910_Intel_Connectivity_Platforms_BIOS_Guidelines_Rev6_4.pdf BUG=b:191720858 TEST=Check the generated SSDT tables for DSM methods Change-Id: Ie154edf188531fe6c260274edaa694cf3b3605d3 Signed-off-by: Sugnan Prabhu S Reviewed-on: https://review.coreboot.org/c/coreboot/+/56751 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/include/sar.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/sar.h b/src/include/sar.h index f4ee0c5ac3..5a4f7ae58a 100644 --- a/src/include/sar.h +++ b/src/include/sar.h @@ -8,7 +8,7 @@ #define MAX_DENYLIST_ENTRY 16 #define MAX_DSAR_SET_COUNT 3 #define MAX_GEO_OFFSET_REVISION 3 -#define MAX_PROFILE_COUNT 4 +#define MAX_PROFILE_COUNT 5 #define MAX_SAR_REVISION 2 #define REVISION_SIZE 1 #define SAR_REV0_CHAINS_COUNT 2 @@ -47,6 +47,17 @@ struct avg_profile { uint8_t deny_list_entry[MAX_DENYLIST_ENTRY]; } __packed; +struct dsm_profile { + uint32_t supported_functions; + uint32_t disable_active_sdr_channels; + uint32_t support_indonesia_5g_band; + uint32_t support_ultra_high_band; + uint32_t regulatory_configurations; + uint32_t uart_configurations; + uint32_t enablement_11ax; + uint32_t unii_4; +}; + struct sar_header { char marker[SAR_STR_PREFIX_SIZE]; uint8_t version; @@ -60,6 +71,7 @@ union wifi_sar_limits { struct geo_profile *wgds; struct gain_profile *ppag; struct avg_profile *wtas; + struct dsm_profile *dsm; }; void *profile[MAX_PROFILE_COUNT]; }; -- cgit v1.2.3