blob: f87e31badca534414c2a3f6afb4a3d80902d2466 [file] [log] [blame]
Angel Pons32859fc2020-04-02 23:48:27 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Felix Durairaj5f92a5a2015-11-20 15:51:35 -08002#ifndef _WRDD_H_
3#define _WRDD_H_
4
5#include <stdint.h>
6
Duncan Laurie9fed9352016-05-11 13:52:43 -07007/* WRDD Spec Revision */
8#define WRDD_REVISION 0x0
9
10/* Domain type */
11#define WRDD_DOMAIN_TYPE_WIFI 0x7
12
Felix Durairaj5f92a5a2015-11-20 15:51:35 -080013/* 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 */
19uint16_t wifi_regulatory_domain(void);
20
21#endif /* _WRDD_H_ */