aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/wifi/generic/acpi.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index ee0963178e..88bcf3a483 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -42,14 +42,6 @@ __weak int get_wifi_sar_limits(union wifi_sar_limits *sar_limits)
}
/*
- * Generate ACPI AML code for _DSM method.
- * This function takes as input uuid for the device, set of callbacks and
- * argument to pass into the callbacks. Callbacks should ensure that Local0 and
- * Local1 are left untouched. Use of Local2-Local7 is permitted in callbacks.
- */
-void wifi_emit_dsm(struct dsm_profile *dsm);
-
-/*
* Function 1: Allow PC OEMs to set ETSI 5.8GHz SRD in Passive/Disabled ESTI SRD
* Channels: 149, 153, 157, 161, 165
* 0 - ETSI 5.8GHz SRD active scan
@@ -180,21 +172,6 @@ static void (*wifi_dsm2_callbacks[])(void *) = {
wifi_dsm_ddrrfim_func3_cb, /* Function 3 */
};
-void wifi_emit_dsm(struct dsm_profile *dsm)
-{
- int i;
- size_t count = ARRAY_SIZE(wifi_dsm_callbacks);
-
- if (dsm == NULL)
- return;
-
- for (i = 1; i < count; i++)
- if (!(dsm->supported_functions & (1 << i)))
- wifi_dsm_callbacks[i] = NULL;
-
- acpigen_write_dsm(ACPI_DSM_OEM_WIFI_UUID, wifi_dsm_callbacks, count, dsm);
-}
-
static const uint8_t *sar_fetch_set(const struct sar_profile *sar, size_t set_num)
{
const uint8_t *sar_table = &sar->sar_table[0];