Felix Durairaj | 5f92a5a | 2015-11-20 15:51:35 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Google Inc. |
| 5 | * Copyright (C) 2015 Intel Corp. |
| 6 | * |
| 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. |
| 10 | * |
| 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. |
| 15 | */ |
| 16 | #ifndef _WRDD_H_ |
| 17 | #define _WRDD_H_ |
| 18 | |
| 19 | #include <stdint.h> |
| 20 | |
Duncan Laurie | 9fed935 | 2016-05-11 13:52:43 -0700 | [diff] [blame] | 21 | /* WRDD Spec Revision */ |
| 22 | #define WRDD_REVISION 0x0 |
| 23 | |
| 24 | /* Domain type */ |
| 25 | #define WRDD_DOMAIN_TYPE_WIFI 0x7 |
| 26 | |
Felix Durairaj | 5f92a5a | 2015-11-20 15:51:35 -0800 | [diff] [blame] | 27 | /* Default regulatory domain ID */ |
| 28 | #define WRDD_DEFAULT_REGULATORY_DOMAIN 0x4150 |
| 29 | /* INDONESIA regulatory domain ID */ |
| 30 | #define WRDD_REGULATORY_DOMAIN_INDONESIA 0x4944 |
| 31 | |
| 32 | /* Retrieve the regulatory domain information */ |
| 33 | uint16_t wifi_regulatory_domain(void); |
| 34 | |
| 35 | #endif /* _WRDD_H_ */ |