| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | #ifndef _WRDD_H_ |
| 3 | #define _WRDD_H_ |
| 4 | |
| 5 | #include <stdint.h> |
| 6 | |
| 7 | /* WRDD Spec Revision */ |
| 8 | #define WRDD_REVISION 0x0 |
| 9 | |
| 10 | /* Domain type */ |
| 11 | #define WRDD_DOMAIN_TYPE_WIFI 0x7 |
| 12 | |
| 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_ */ |