soc/intel/common/acpi: Fix ACPI Namespace lookup failure, AE_ALREADY_EXISTS issue
[coreboot.git] / src / include / wrdd.h
blobfea3e2fdda8fbdb880cc3d92230f01e5e6ad55cd
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2012 Google Inc.
5 * Copyright (C) 2015 Intel Corp.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 #ifndef _WRDD_H_
17 #define _WRDD_H_
19 #include <stdint.h>
21 /* WRDD Spec Revision */
22 #define WRDD_REVISION 0x0
24 /* Domain type */
25 #define WRDD_DOMAIN_TYPE_WIFI 0x7
27 /* Default regulatory domain ID */
28 #define WRDD_DEFAULT_REGULATORY_DOMAIN 0x4150
29 /* INDONESIA regulatory domain ID */
30 #define WRDD_REGULATORY_DOMAIN_INDONESIA 0x4944
32 /* Retrieve the regulatory domain information */
33 uint16_t wifi_regulatory_domain(void);
35 #endif /* _WRDD_H_ */