Angel Pons | 32859fc | 2020-04-02 23:48:27 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Felix Durairaj | 5f92a5a | 2015-11-20 15:51:35 -0800 | [diff] [blame] | 3 | #ifndef _WRDD_H_ |
| 4 | #define _WRDD_H_ |
| 5 | |
| 6 | #include <stdint.h> |
| 7 | |
Duncan Laurie | 9fed935 | 2016-05-11 13:52:43 -0700 | [diff] [blame] | 8 | /* WRDD Spec Revision */ |
| 9 | #define WRDD_REVISION 0x0 |
| 10 | |
| 11 | /* Domain type */ |
| 12 | #define WRDD_DOMAIN_TYPE_WIFI 0x7 |
| 13 | |
Felix Durairaj | 5f92a5a | 2015-11-20 15:51:35 -0800 | [diff] [blame] | 14 | /* Default regulatory domain ID */ |
| 15 | #define WRDD_DEFAULT_REGULATORY_DOMAIN 0x4150 |
| 16 | /* INDONESIA regulatory domain ID */ |
| 17 | #define WRDD_REGULATORY_DOMAIN_INDONESIA 0x4944 |
| 18 | |
| 19 | /* Retrieve the regulatory domain information */ |
| 20 | uint16_t wifi_regulatory_domain(void); |
| 21 | |
| 22 | #endif /* _WRDD_H_ */ |