mb/google/nissa/var/sundance: Add wifi sar table

Add AX211 wifi sar table for sundance wifi sar config.
Use fw_config to separate different wifi card settings.

WIFI_SAR_TABLE_AX211:	0

BUG=b:332978681
Test=emerge-nissa coreboot

Change-Id: Ide84996da567e4f866a2a1309a6976ed8df635a6
Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83044
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 3789716..e891924 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -413,6 +413,7 @@
 
 config BOARD_GOOGLE_SUNDANCE
 	select BOARD_GOOGLE_BASEBOARD_NISSA
+	select CHROMEOS_WIFI_SAR if CHROMEOS
 	select DRIVERS_GENERIC_GPIO_KEYS
 	select HAVE_WWAN_POWER_SEQUENCE
 
diff --git a/src/mainboard/google/brya/variants/sundance/Makefile.mk b/src/mainboard/google/brya/variants/sundance/Makefile.mk
index 8ae0e3b..be82373 100644
--- a/src/mainboard/google/brya/variants/sundance/Makefile.mk
+++ b/src/mainboard/google/brya/variants/sundance/Makefile.mk
@@ -5,3 +5,4 @@
 
 ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
 ramstage-y += gpio.c
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/sundance/overridetree.cb b/src/mainboard/google/brya/variants/sundance/overridetree.cb
index 2c4a63d..bd5112f 100644
--- a/src/mainboard/google/brya/variants/sundance/overridetree.cb
+++ b/src/mainboard/google/brya/variants/sundance/overridetree.cb
@@ -3,6 +3,9 @@
 		option LTE_ABSENT		0
 		option LTE_PRESENT		1
 	end
+	field WIFI_SAR_ID 12 15
+		option WIFI_SAR_TABLE_AX211	0
+	end
 end
 
 chip soc/intel/alderlake
diff --git a/src/mainboard/google/brya/variants/sundance/variant.c b/src/mainboard/google/brya/variants/sundance/variant.c
new file mode 100644
index 0000000..c4a6fac
--- /dev/null
+++ b/src/mainboard/google/brya/variants/sundance/variant.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <fw_config.h>
+#include <sar.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+	return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
+}