You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

/******************************************************************************
*
* Copyright(c) 2020 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*****************************************************************************/
#ifndef _PHL_COUNTRY_H_
#define _PHL_COUNTRY_H_
#define REGULATION_COUNTRY_VERSION 39
#define MAX_COUNTRY_NUM 238
enum TP_OVERWRITE {
TPO_CHILE = 0,
TPO_UK = 1,
TPO_QATAR = 2,
TPO_UKRAINE = 3,
TPO_CN = 4,
TPO_NA = 5
};
#define COUNTRY_CODE_LEN 2
struct country_domain_mapping {
u8 domain_code;
u8 domain_code_6g;
char char2[COUNTRY_CODE_LEN];
u8 tpo; /* tx power overwrite */
/*
* bit0: accept 11bgn
* bit1: accept 11a
* bit2: accept 11ac
* bit3: accept 11ax
*/
u8 support;
u8 country_property;
/*
* bit0: support LPI
* bit1: support SP
* bit2: support VLP
*/
u8 category_6g;
};
#endif /* _PHL_COUNTRY_H_ */