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