summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-05-11 13:52:43 -0700
committerDuncan Laurie <dlaurie@chromium.org>2016-06-02 05:34:17 +0200
commit9fed935f5a1c2a45b6a5edcc7edd26d96cf28719 (patch)
treeefbdfab52ca450d75818530012a9e6b9a8ddf4dd /src/include
parent40b41bc7992632c696201e84192192e28f7fdfa6 (diff)
wrdd: Export WRDD info in the header
Export the WRDD spec revision and WiFi domain type in the header file so it can be used to generate ACPI tables by wifi drivers. Change-Id: I3222eca723c52fe74a004aa7bac7167264249fd1 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/15018 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/wrdd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/wrdd.h b/src/include/wrdd.h
index 97fa5dc7eb..0ede015c29 100644
--- a/src/include/wrdd.h
+++ b/src/include/wrdd.h
@@ -18,6 +18,12 @@
#include <stdint.h>
+/* WRDD Spec Revision */
+#define WRDD_REVISION 0x0
+
+/* Domain type */
+#define WRDD_DOMAIN_TYPE_WIFI 0x7
+
/* Default regulatory domain ID */
#define WRDD_DEFAULT_REGULATORY_DOMAIN 0x4150
/* INDONESIA regulatory domain ID */