3253 lines
126 KiB
C
3253 lines
126 KiB
C
/** @file wlan_txpwrlimit_cfg_WW_rw610.h
|
|
*
|
|
* @brief This file provides WLAN World Wide Safe Mode Tx Power Limits.
|
|
*
|
|
* Copyright 2008-2021 NXP
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
* a copy of this software and associated documentation files (the
|
|
* 'Software'), to deal in the Software without restriction, including
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
* distribute, sub license, and/or sell copies of the Software, and to
|
|
* permit persons to whom the Software is furnished to do so, subject
|
|
* to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice (including the
|
|
* next paragraph) shall be included in all copies or substantial
|
|
* portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
* IN NO EVENT SHALL NXP AND/OR ITS SUPPLIERS BE LIABLE FOR ANY
|
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
*
|
|
*/
|
|
#ifndef _WLAN_TXPWRLIMIT_CFG_WW_RW610_H_
|
|
#define _WLAN_TXPWRLIMIT_CFG_WW_RW610_H_
|
|
|
|
#include <wlan.h>
|
|
#include <wifi.h>
|
|
|
|
static wlan_chanlist_t chanlist_2g_cfg = {
|
|
.num_chans = 14,
|
|
.chan_info[0] =
|
|
{
|
|
.chan_num = 1,
|
|
.chan_freq = 2412,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[1] =
|
|
{
|
|
.chan_num = 2,
|
|
.chan_freq = 2417,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[2] =
|
|
{
|
|
.chan_num = 3,
|
|
.chan_freq = 2422,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[3] =
|
|
{
|
|
.chan_num = 4,
|
|
.chan_freq = 2427,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[4] =
|
|
{
|
|
.chan_num = 5,
|
|
.chan_freq = 2432,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[5] =
|
|
{
|
|
.chan_num = 6,
|
|
.chan_freq = 2437,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[6] =
|
|
{
|
|
.chan_num = 7,
|
|
.chan_freq = 2442,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[7] =
|
|
{
|
|
.chan_num = 8,
|
|
.chan_freq = 2447,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[8] =
|
|
{
|
|
.chan_num = 9,
|
|
.chan_freq = 2452,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[9] =
|
|
{
|
|
.chan_num = 10,
|
|
.chan_freq = 2457,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[10] =
|
|
{
|
|
.chan_num = 11,
|
|
.chan_freq = 2462,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[11] =
|
|
{
|
|
.chan_num = 12,
|
|
.chan_freq = 2467,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[12] =
|
|
{
|
|
.chan_num = 13,
|
|
.chan_freq = 2472,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[13] =
|
|
{
|
|
.chan_num = 14,
|
|
.chan_freq = 2484,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[14] = {0},
|
|
.chan_info[15] = {0},
|
|
.chan_info[16] = {0},
|
|
.chan_info[17] = {0},
|
|
.chan_info[18] = {0},
|
|
.chan_info[19] = {0},
|
|
.chan_info[20] = {0},
|
|
.chan_info[21] = {0},
|
|
.chan_info[22] = {0},
|
|
.chan_info[23] = {0},
|
|
.chan_info[24] = {0},
|
|
.chan_info[25] = {0},
|
|
.chan_info[26] = {0},
|
|
.chan_info[27] = {0},
|
|
.chan_info[28] = {0},
|
|
.chan_info[29] = {0},
|
|
.chan_info[30] = {0},
|
|
.chan_info[31] = {0},
|
|
.chan_info[32] = {0},
|
|
.chan_info[33] = {0},
|
|
.chan_info[34] = {0},
|
|
.chan_info[35] = {0},
|
|
.chan_info[36] = {0},
|
|
.chan_info[37] = {0},
|
|
.chan_info[38] = {0},
|
|
.chan_info[39] = {0},
|
|
.chan_info[40] = {0},
|
|
.chan_info[41] = {0},
|
|
.chan_info[42] = {0},
|
|
.chan_info[43] = {0},
|
|
.chan_info[44] = {0},
|
|
.chan_info[45] = {0},
|
|
.chan_info[46] = {0},
|
|
.chan_info[47] = {0},
|
|
.chan_info[48] = {0},
|
|
.chan_info[49] = {0},
|
|
.chan_info[50] = {0},
|
|
.chan_info[51] = {0},
|
|
.chan_info[52] = {0},
|
|
.chan_info[53] = {0},
|
|
};
|
|
|
|
#ifdef CONFIG_5GHz_SUPPORT
|
|
static wlan_chanlist_t chanlist_5g_cfg = {
|
|
.num_chans = 25,
|
|
.chan_info[0] =
|
|
{
|
|
.chan_num = 36,
|
|
.chan_freq = 5180,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[1] =
|
|
{
|
|
.chan_num = 40,
|
|
.chan_freq = 5200,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[2] =
|
|
{
|
|
.chan_num = 44,
|
|
.chan_freq = 5220,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[3] =
|
|
{
|
|
.chan_num = 48,
|
|
.chan_freq = 5240,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[4] =
|
|
{
|
|
.chan_num = 52,
|
|
.chan_freq = 5260,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[5] =
|
|
{
|
|
.chan_num = 56,
|
|
.chan_freq = 5280,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[6] =
|
|
{
|
|
.chan_num = 60,
|
|
.chan_freq = 5300,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[7] =
|
|
{
|
|
.chan_num = 64,
|
|
.chan_freq = 5320,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[8] =
|
|
{
|
|
.chan_num = 100,
|
|
.chan_freq = 5500,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[9] =
|
|
{
|
|
.chan_num = 104,
|
|
.chan_freq = 5520,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[10] =
|
|
{
|
|
.chan_num = 108,
|
|
.chan_freq = 5540,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[11] =
|
|
{
|
|
.chan_num = 112,
|
|
.chan_freq = 5560,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[12] =
|
|
{
|
|
.chan_num = 116,
|
|
.chan_freq = 5580,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[13] =
|
|
{
|
|
.chan_num = 120,
|
|
.chan_freq = 5600,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[14] =
|
|
{
|
|
.chan_num = 124,
|
|
.chan_freq = 5620,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[15] =
|
|
{
|
|
.chan_num = 128,
|
|
.chan_freq = 5640,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[16] =
|
|
{
|
|
.chan_num = 132,
|
|
.chan_freq = 5660,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[17] =
|
|
{
|
|
.chan_num = 136,
|
|
.chan_freq = 5680,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[18] =
|
|
{
|
|
.chan_num = 140,
|
|
.chan_freq = 5700,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[19] =
|
|
{
|
|
.chan_num = 144,
|
|
.chan_freq = 5720,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[20] =
|
|
{
|
|
.chan_num = 149,
|
|
.chan_freq = 5745,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[21] =
|
|
{
|
|
.chan_num = 153,
|
|
.chan_freq = 5765,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[22] =
|
|
{
|
|
.chan_num = 157,
|
|
.chan_freq = 5785,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[23] =
|
|
{
|
|
.chan_num = 161,
|
|
.chan_freq = 5805,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[24] =
|
|
{
|
|
.chan_num = 165,
|
|
.chan_freq = 5825,
|
|
.passive_scan_or_radar_detect = true,
|
|
},
|
|
.chan_info[25] =
|
|
{
|
|
.chan_num = 169,
|
|
.chan_freq = 5845,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[26] =
|
|
{
|
|
.chan_num = 173,
|
|
.chan_freq = 5865,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[27] =
|
|
{
|
|
.chan_num = 177,
|
|
.chan_freq = 5885,
|
|
.passive_scan_or_radar_detect = false,
|
|
},
|
|
.chan_info[28] = {0},
|
|
.chan_info[29] = {0},
|
|
.chan_info[30] = {0},
|
|
.chan_info[31] = {0},
|
|
.chan_info[32] = {0},
|
|
.chan_info[33] = {0},
|
|
.chan_info[34] = {0},
|
|
.chan_info[35] = {0},
|
|
.chan_info[36] = {0},
|
|
.chan_info[37] = {0},
|
|
.chan_info[38] = {0},
|
|
.chan_info[39] = {0},
|
|
.chan_info[40] = {0},
|
|
.chan_info[41] = {0},
|
|
.chan_info[42] = {0},
|
|
.chan_info[43] = {0},
|
|
.chan_info[44] = {0},
|
|
.chan_info[45] = {0},
|
|
.chan_info[46] = {0},
|
|
.chan_info[47] = {0},
|
|
.chan_info[48] = {0},
|
|
.chan_info[49] = {0},
|
|
.chan_info[50] = {0},
|
|
.chan_info[51] = {0},
|
|
.chan_info[52] = {0},
|
|
.chan_info[53] = {0},
|
|
};
|
|
#endif
|
|
|
|
#ifdef CONFIG_COMPRESS_TX_PWTBL
|
|
static const t_u8 rg_rw610[] = {
|
|
0x01, 0x00, 0xee, 0x01, 0x06, 0x00, 0x55, 0x53, 0x20, 0x10, 0x00, 0x01, 0x06, 0x02, 0xd8, 0x00, 0x88, 0x88,
|
|
0x03, 0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53, 0x20, 0x10, 0x63, 0x0c, 0x00, 0x02, 0x0c, 0x07,
|
|
0x05, 0x41, 0xc1, 0x20, 0x08, 0x4c, 0x04, 0x15, 0x02, 0x84, 0xc0, 0x30, 0x40, 0x88, 0x04, 0x2a, 0x02, 0x00,
|
|
0x42, 0xe0, 0xb0, 0x78, 0x4c, 0x4a, 0x1a, 0x14, 0x88, 0x44, 0xa1, 0x41, 0x20, 0x44, 0x34, 0x25, 0x19, 0x86,
|
|
0xc1, 0xa3, 0x01, 0x50, 0x1c, 0x7e, 0x1b, 0x0f, 0x88, 0xc8, 0x40, 0x41, 0x40, 0x2c, 0x98, 0x03, 0x18, 0x94,
|
|
0xc2, 0xc1, 0x31, 0xe8, 0x80, 0xac, 0x20, 0x0d, 0x00, 0x11, 0xc1, 0xe0, 0x10, 0x80, 0x04, 0x1e, 0x04, 0x08,
|
|
0x00, 0xa7, 0x61, 0x00, 0x20, 0x00, 0x56, 0x0c, 0x02, 0x03, 0xc1, 0xe0, 0xc0, 0x42, 0x00, 0x1d, 0x3b, 0x00,
|
|
0x0a, 0xa4, 0x70, 0x98, 0x38, 0x2c, 0x28, 0x03, 0x0a, 0xd1, 0x60, 0x32, 0xf8, 0xa4, 0x18, 0x2a, 0x0a, 0x0a,
|
|
0x01, 0xa5, 0x15, 0xb0, 0x98, 0x0c, 0x29, 0x05, 0x02, 0x04, 0x80, 0x71, 0xb0, 0x15, 0x96, 0x09, 0x1b, 0xb5,
|
|
0xc2, 0xeb, 0x50, 0xaa, 0x9d, 0x78, 0x24, 0x00, 0xad, 0xdd, 0x60, 0xf6, 0x0b, 0x14, 0x42, 0xb7, 0x6a, 0x09,
|
|
0xda, 0x40, 0xb3, 0x4b, 0x64, 0x2a, 0x3c, 0x07, 0xbc, 0x42, 0x80, 0x07, 0xe0, 0x80, 0x0c, 0x22, 0x05, 0xa1,
|
|
0x80, 0xe8, 0x60, 0x28, 0x68, 0x40, 0x10, 0x0f, 0x01, 0xde, 0x27, 0xa0, 0x03, 0x4e, 0x72, 0x7b, 0x43, 0xa4,
|
|
0xcf, 0x27, 0xc0, 0x7a, 0x08, 0x3c, 0x04, 0x0e, 0x9f, 0x01, 0x01, 0xd9, 0x9a, 0x78, 0x07, 0x16};
|
|
static const t_u16 rg_rw610_len = 232;
|
|
|
|
static const t_u8 rg_rw610_qfn[] = {
|
|
0x49, 0x02, 0xd2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0xee, 0x01, 0x06, 0x00, 0x55, 0x53, 0x20, 0x10,
|
|
0x00, 0x01, 0x06, 0x02, 0xba, 0x00, 0x88, 0x88, 0x03, 0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53,
|
|
0x20, 0x10, 0x83, 0x0a, 0x00, 0x02, 0x0c, 0x07, 0x05, 0x41, 0xc1, 0x20, 0x08, 0x4c, 0x02, 0x14, 0x00, 0x85,
|
|
0x40, 0xa1, 0x30, 0x10, 0x46, 0x12, 0x02, 0x00, 0x00, 0x60, 0x90, 0x68, 0x44, 0x2a, 0x19, 0x0e, 0x0a, 0xc4,
|
|
0x22, 0x50, 0x50, 0x4c, 0x38, 0x29, 0x1a, 0x87, 0x44, 0xe0, 0xe0, 0x20, 0xa8, 0x0e, 0x0d, 0x04, 0x8c, 0x48,
|
|
0x23, 0x71, 0x48, 0x5c, 0x6e, 0x3d, 0x20, 0x05, 0xc3, 0x00, 0x02, 0xb0, 0x88, 0x34, 0x00, 0x47, 0x08, 0x00,
|
|
0x81, 0xe0, 0x79, 0xc8, 0x3e, 0x20, 0x2b, 0x06, 0x01, 0x01, 0xe0, 0xf0, 0x60, 0x21, 0x00, 0x0e, 0x07, 0x80,
|
|
0x40, 0x02, 0xa8, 0xfc, 0x5a, 0x48, 0x12, 0x00, 0x40, 0x64, 0x74, 0xe0, 0xad, 0x42, 0xa4, 0x14, 0x02, 0x05,
|
|
0x64, 0x61, 0x30, 0x1c, 0x7e, 0x19, 0x5e, 0x02, 0x05, 0x00, 0xf5, 0x19, 0x3c, 0x92, 0x5b, 0x04, 0xaa, 0xd4,
|
|
0x6b, 0x41, 0x2b, 0x34, 0x9e, 0x13, 0x56, 0xb5, 0x80, 0x82, 0x92, 0xd0, 0x8c, 0xc6, 0xe4, 0x02, 0x09, 0x81,
|
|
0x2a, 0x30, 0xe0, 0x01, 0xf8, 0x22, 0x08, 0x07, 0x82, 0xc2, 0x00, 0x8a, 0x8d, 0x24, 0x00, 0x69, 0xc3, 0x84,
|
|
0x40, 0x72, 0x8a, 0x10, 0x0c, 0x20, 0x10, 0xa8, 0x84, 0x29, 0x47, 0xe0};
|
|
static const t_u16 rg_rw610_len_qfn = 202;
|
|
|
|
static const t_u8 rg_rw610_EU[] = {
|
|
0x01, 0x00, 0xee, 0x01, 0x06, 0x00, 0x55, 0x53, 0x20, 0x10, 0x00, 0x01, 0x06, 0x02, 0xc0, 0x00, 0x88, 0x88, 0x03,
|
|
0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53, 0x20, 0x10, 0xe3, 0x0a, 0x00, 0x02, 0x0c, 0x07, 0x04, 0xc1,
|
|
0xa1, 0x50, 0x08, 0x4c, 0x06, 0x14, 0x03, 0xc1, 0x80, 0x10, 0x58, 0x3c, 0x24, 0x07, 0x0b, 0x09, 0x80, 0x82, 0x40,
|
|
0xb8, 0x80, 0x08, 0x28, 0x09, 0x09, 0x80, 0x42, 0x40, 0x18, 0xac, 0x5e, 0x33, 0x1b, 0x85, 0x84, 0x81, 0xa0, 0x01,
|
|
0x58, 0x42, 0x46, 0x47, 0x07, 0x80, 0x42, 0x00, 0x10, 0x78, 0x10, 0x20, 0x02, 0x94, 0x84, 0x00, 0x92, 0x40, 0x60,
|
|
0x10, 0x1e, 0x0f, 0x06, 0x02, 0x10, 0x00, 0xe9, 0x48, 0x00, 0x55, 0x19, 0x0a, 0xc1, 0xc0, 0x71, 0x90, 0xa0, 0x2a,
|
|
0x32, 0x0e, 0x04, 0x00, 0x20, 0x20, 0x2a, 0x08, 0x52, 0x86, 0x01, 0xa2, 0xc6, 0xe9, 0x14, 0xa8, 0xdc, 0x18, 0x29,
|
|
0x05, 0x02, 0x04, 0xa9, 0xe1, 0x20, 0x14, 0x1a, 0xb9, 0x53, 0x07, 0x55, 0x40, 0x34, 0xda, 0x7d, 0x14, 0x22, 0x01,
|
|
0xb0, 0x59, 0xe8, 0x14, 0x2a, 0x20, 0x2a, 0xcf, 0x69, 0x8d, 0x50, 0xeb, 0x20, 0x5b, 0x3d, 0x72, 0x3e, 0x02, 0xb7,
|
|
0xd2, 0x41, 0xd6, 0x70, 0x01, 0xf8, 0x20, 0x03, 0x08, 0x81, 0x66, 0x20, 0x39, 0x8d, 0xe2, 0x54, 0x03, 0xb0, 0x4a,
|
|
0xc0, 0x06, 0x9c, 0x5c, 0xae, 0x63, 0x36, 0x95, 0x4b, 0x00, 0xf2, 0xf0, 0x78, 0x0a, 0xc1, 0x3d, 0x3f, 0x00};
|
|
static const t_u16 rg_rw610_EU_len = 208;
|
|
|
|
static const t_u8 rg_rw610_JP[] = {
|
|
0x01, 0x00, 0xee, 0x01, 0x06, 0x00, 0x55, 0x53, 0x20, 0x10, 0x00, 0x01, 0x06, 0x02, 0xce, 0x00, 0x88, 0x88, 0x03,
|
|
0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53, 0x20, 0x10, 0xc3, 0x0b, 0x00, 0x02, 0x0c, 0x07, 0x04, 0xc1,
|
|
0xe1, 0x50, 0x50, 0x48, 0x02, 0x11, 0x00, 0x80, 0x20, 0xe0, 0x18, 0x30, 0x54, 0x10, 0x12, 0x01, 0x42, 0x21, 0x50,
|
|
0x80, 0x90, 0x2e, 0x25, 0x0b, 0x83, 0x05, 0x00, 0x61, 0x50, 0x2c, 0x42, 0x2f, 0x14, 0x00, 0x85, 0x21, 0xf1, 0x18,
|
|
0x4c, 0x62, 0x2d, 0x09, 0x15, 0x84, 0x01, 0xa0, 0x02, 0x38, 0x3c, 0x02, 0x10, 0x00, 0x83, 0xc0, 0x81, 0x00, 0x14,
|
|
0xb8, 0x20, 0x04, 0x00, 0x0a, 0xc1, 0x80, 0x40, 0x78, 0x3c, 0x18, 0x08, 0x40, 0x03, 0xa5, 0xc0, 0x01, 0x50, 0x54,
|
|
0x08, 0x13, 0x02, 0x05, 0x41, 0x91, 0xaa, 0x30, 0x00, 0x1d, 0x1c, 0xa4, 0x05, 0x41, 0x61, 0x40, 0x30, 0x54, 0x05,
|
|
0x4e, 0x0a, 0x80, 0x42, 0x60, 0x30, 0xa5, 0x68, 0x08, 0x12, 0x01, 0x84, 0xe1, 0x80, 0x2a, 0xdc, 0x1a, 0xc5, 0x60,
|
|
0xb3, 0xce, 0x20, 0x20, 0x1a, 0x35, 0x44, 0x27, 0x58, 0x02, 0xd4, 0x6a, 0x75, 0x5a, 0xbd, 0x3e, 0x19, 0x61, 0xaf,
|
|
0x81, 0x62, 0x96, 0x4b, 0x1d, 0x8a, 0x28, 0x07, 0xa7, 0x58, 0x80, 0x07, 0xe0, 0x80, 0x0c, 0x22, 0x05, 0x9b, 0x00,
|
|
0xe6, 0xd2, 0x40, 0x80, 0x20, 0x1e, 0x03, 0xa7, 0x4c, 0x00, 0x06, 0x9c, 0x9c, 0xc2, 0x6d, 0x3c, 0x97, 0xcc, 0x40,
|
|
0xf3, 0x40, 0x78, 0x08, 0x1d, 0x31, 0x02, 0x03, 0xb2, 0x14, 0x28, 0x49, 0xf8};
|
|
static const t_u16 rg_rw610_JP_len = 222;
|
|
|
|
static const t_u8 rg_rw610_CA[] = {
|
|
0x01, 0x00, 0xee, 0x01, 0x06, 0x00, 0x55, 0x53, 0x20, 0x10, 0x00, 0x01, 0x06, 0x02, 0xe4, 0x00, 0x88, 0x88, 0x03,
|
|
0x01, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53, 0x20, 0x10, 0x23, 0x0d, 0x00, 0x02, 0x0c, 0x07, 0x04, 0xc1,
|
|
0x60, 0xe0, 0x08, 0x34, 0x02, 0x15, 0x00, 0x84, 0x81, 0x01, 0x10, 0x08, 0x40, 0x02, 0x0c, 0x00, 0x81, 0x40, 0x20,
|
|
0x00, 0x14, 0x2a, 0x19, 0x0e, 0x88, 0x44, 0xa2, 0x91, 0x68, 0x6c, 0x3e, 0x23, 0x13, 0x01, 0x03, 0xe3, 0xa1, 0x10,
|
|
0x34, 0x3a, 0x45, 0x19, 0x90, 0x48, 0xa1, 0xd2, 0x49, 0x34, 0x7a, 0x35, 0x21, 0x91, 0xc9, 0x40, 0x32, 0x78, 0xf8,
|
|
0x00, 0x58, 0x10, 0x04, 0xcd, 0x23, 0x44, 0x89, 0x54, 0xcc, 0x08, 0x10, 0x90, 0x80, 0xa5, 0x13, 0x60, 0x60, 0x10,
|
|
0x1e, 0x0f, 0x06, 0x02, 0x10, 0x00, 0xe9, 0x10, 0x00, 0x54, 0x15, 0x04, 0x05, 0x81, 0x50, 0x80, 0x90, 0x04, 0x28,
|
|
0x03, 0x87, 0x05, 0x40, 0x60, 0x00, 0x70, 0x54, 0x29, 0x55, 0xab, 0xc3, 0x82, 0x90, 0x70, 0x15, 0x72, 0x10, 0x13,
|
|
0x01, 0xd8, 0xc2, 0x60, 0x40, 0x90, 0x0c, 0x27, 0x09, 0x01, 0x5a, 0x2a, 0xb6, 0xfb, 0x6d, 0xbe, 0x1d, 0x6d, 0xae,
|
|
0x5b, 0xea, 0x01, 0x60, 0x5d, 0xea, 0xb1, 0x07, 0xad, 0x83, 0x82, 0xd0, 0x70, 0x9d, 0xbe, 0xc3, 0x56, 0xb2, 0x59,
|
|
0xa1, 0x36, 0xeb, 0x60, 0x16, 0x18, 0x12, 0xb8, 0xdc, 0x2d, 0xf8, 0xfb, 0xfd, 0xe2, 0x03, 0x13, 0x3f, 0x04, 0x00,
|
|
0x61, 0x10, 0x2c, 0xa8, 0x07, 0x2a, 0x01, 0x45, 0xc1, 0x00, 0xfc, 0x0c, 0x38, 0x00, 0x69, 0xd3, 0xcb, 0x42, 0x14,
|
|
0x68, 0xe8, 0x3c, 0x0f, 0x40, 0x07, 0x80, 0xa0, 0x80, 0xf0, 0x20, 0x3b, 0x03, 0x4d, 0x3f, 0x00};
|
|
static const t_u16 rg_rw610_CA_len = 244;
|
|
#endif
|
|
|
|
#ifndef CONFIG_11AX
|
|
#ifndef CONFIG_11AC
|
|
static wifi_txpwrlimit_t
|
|
tx_pwrlimit_2g_cfg =
|
|
{
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 14,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 1,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 15}, {2, 15}, {3, 15}, {4, 13}, {5, 13}, {6, 13}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 2,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 16}, {5, 16}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 3,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 16}, {5, 16}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 4,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 5,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 6,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 9,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 17}, {2, 17}, {3, 16}, {4, 16}, {5, 16}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 10,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 15}, {5, 15}, {6, 15}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 13}, {2, 13}, {3, 13}, {4, 12}, {5, 12}, {6, 12}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 13,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 7,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2414,
|
|
.chan_width = 20,
|
|
.chan_num = 14,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}},
|
|
},
|
|
.txpwrlimit_config[14] = {0},
|
|
.txpwrlimit_config[15] = {0},
|
|
.txpwrlimit_config[16] = {0},
|
|
.txpwrlimit_config[17] = {0},
|
|
.txpwrlimit_config[18] = {0},
|
|
.txpwrlimit_config[19] = {0},
|
|
.txpwrlimit_config[20] = {0},
|
|
.txpwrlimit_config[21] = {0},
|
|
.txpwrlimit_config[22] = {0},
|
|
.txpwrlimit_config[23] = {0},
|
|
.txpwrlimit_config[24] = {0},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
};
|
|
|
|
#ifdef CONFIG_5GHz_SUPPORT
|
|
static wifi_txpwrlimit_t
|
|
tx_pwrlimit_5g_cfg =
|
|
{
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 25,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 36,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 40,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 44,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 20}, {6, 17}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 48,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 16}, {4, 20}, {5, 20}, {6, 16}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 52,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 17}, {4, 20}, {5, 20}, {6, 16}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 56,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 60,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 20}, {6, 17}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 64,
|
|
},
|
|
.txpwrlimit_entry = {{1, 19}, {2, 19}, {3, 16}, {4, 18}, {5, 18}, {6, 15}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 100,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 104,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 21}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 108,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 21}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 112,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 21}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 116,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 19}, {4, 21}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 120,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 19}, {4, 21}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[14] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 124,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 16}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[15] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 128,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 16}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[16] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 132,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[17] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 136,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 18}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[18] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 140,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 16}, {4, 21}, {5, 20}, {6, 15}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[19] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 144,
|
|
},
|
|
.txpwrlimit_entry = {{1, 21}, {2, 21}, {3, 16}, {4, 21}, {5, 20}, {6, 15}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[20] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 149,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 18}, {4, 21}, {5, 21}, {6, 17}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[21] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 153,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 18}, {4, 21}, {5, 21}, {6, 16}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[22] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 157,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 15}, {4, 21}, {5, 21}, {6, 14}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[23] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 161,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 13}, {4, 21}, {5, 21}, {6, 12}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[24] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 165,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 13}, {4, 20}, {5, 20}, {6, 12}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
/* Rest of the channels listed below are not used and contains dummy power entries,
|
|
* they belong to 4.9GHz Band for Public Safety.
|
|
*/
|
|
#if 0
|
|
.txpwrlimit_config[25] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 183,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[26] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 184,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[27] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 185,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[28] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 187,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[29] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 188,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[30] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 189,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[31] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 192,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[32] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 196,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[33] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[34] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[35] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[36] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[37] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 16,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
.txpwrlimit_config[38] =
|
|
{
|
|
.num_mod_grps = 9,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 34,
|
|
},
|
|
.txpwrlimit_entry = {{1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19}, {7, 0}, {8, 0}, {9, 0}},
|
|
},
|
|
#endif
|
|
};
|
|
#endif
|
|
#else
|
|
static wifi_txpwrlimit_t
|
|
tx_pwrlimit_2g_cfg =
|
|
{
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 14,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 1,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 15},
|
|
{2, 15},
|
|
{3, 15},
|
|
{4, 13},
|
|
{5, 13},
|
|
{6, 13},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 13},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 2,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 16},
|
|
{2, 16},
|
|
{3, 16},
|
|
{4, 16},
|
|
{5, 16},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 3,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 16},
|
|
{2, 16},
|
|
{3, 16},
|
|
{4, 16},
|
|
{5, 16},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 4,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 5,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 6,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 14},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 9,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 17},
|
|
{2, 17},
|
|
{3, 16},
|
|
{4, 16},
|
|
{5, 16},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 10,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 16},
|
|
{2, 16},
|
|
{3, 16},
|
|
{4, 15},
|
|
{5, 15},
|
|
{6, 15},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 13},
|
|
{2, 13},
|
|
{3, 13},
|
|
{4, 12},
|
|
{5, 12},
|
|
{6, 12},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 13,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19},
|
|
{1, 18},
|
|
{2, 18},
|
|
{3, 17},
|
|
{4, 16},
|
|
{5, 17},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 12,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2414,
|
|
.chan_width = 20,
|
|
.chan_num = 14,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 19},
|
|
{1, 0},
|
|
{2, 0},
|
|
{3, 0},
|
|
{4, 0},
|
|
{5, 0},
|
|
{6, 0},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 0},
|
|
{11, 0}},
|
|
},
|
|
.txpwrlimit_config[14] = {0},
|
|
.txpwrlimit_config[15] = {0},
|
|
.txpwrlimit_config[16] = {0},
|
|
.txpwrlimit_config[17] = {0},
|
|
.txpwrlimit_config[18] = {0},
|
|
.txpwrlimit_config[19] = {0},
|
|
.txpwrlimit_config[20] = {0},
|
|
.txpwrlimit_config[21] = {0},
|
|
.txpwrlimit_config[22] = {0},
|
|
.txpwrlimit_config[23] = {0},
|
|
.txpwrlimit_config[24] = {0},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
};
|
|
|
|
#ifdef CONFIG_5GHz_SUPPORT
|
|
static wifi_txpwrlimit_t
|
|
tx_pwrlimit_5g_cfg =
|
|
{
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 25,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 36,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 40,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 19},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 44,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 18},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 17},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 48,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 16},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 52,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 17},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 56,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 19},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 60,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 18},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 17},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 64,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 19},
|
|
{2, 19},
|
|
{3, 16},
|
|
{4, 18},
|
|
{5, 18},
|
|
{6, 15},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 100,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 19},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 104,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 18},
|
|
{4, 20},
|
|
{5, 21},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 108,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 19},
|
|
{4, 20},
|
|
{5, 21},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 112,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 19},
|
|
{4, 20},
|
|
{5, 21},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 116,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 19},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 120,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 19},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[14] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 124,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[15] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 128,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[16] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 132,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[17] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 136,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 18},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[18] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 140,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 16},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 15},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[19] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 144,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 21},
|
|
{2, 21},
|
|
{3, 16},
|
|
{4, 21},
|
|
{5, 20},
|
|
{6, 15},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 15},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[20] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 149,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 21},
|
|
{6, 17},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[21] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 153,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 18},
|
|
{4, 21},
|
|
{5, 21},
|
|
{6, 16},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[22] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 157,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 15},
|
|
{4, 21},
|
|
{5, 21},
|
|
{6, 14},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[23] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 161,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 13},
|
|
{4, 21},
|
|
{5, 21},
|
|
{6, 12},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[24] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 165,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 13},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 12},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 12},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
/* Rest of the channels listed below are not used and contains dummy power entries,
|
|
* they belong to 4.9GHz Band for Public Safety.
|
|
*/
|
|
#if 0
|
|
.txpwrlimit_config[25] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 183,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[26] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 184,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 18},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[27] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 185,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[28] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 187,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[29] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 188,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[30] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 189,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[31] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 192,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[32] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 196,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[33] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[34] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[35] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[36] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[37] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 16,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
.txpwrlimit_config[38] =
|
|
{
|
|
.num_mod_grps = 16,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 34,
|
|
},
|
|
.txpwrlimit_entry =
|
|
{{0, 0},
|
|
{1, 20},
|
|
{2, 20},
|
|
{3, 20},
|
|
{4, 20},
|
|
{5, 20},
|
|
{6, 19},
|
|
{7, 0},
|
|
{8, 0},
|
|
{9, 0},
|
|
{10, 16},
|
|
{11, 0},
|
|
{12, 0},
|
|
{13, 0},
|
|
{14, 0},
|
|
{15, 0}},
|
|
},
|
|
#endif
|
|
};
|
|
#endif /* CONFIG_5GHz_SUPPORT */
|
|
#endif /* CONFIG_11AC */
|
|
#else
|
|
static wifi_txpwrlimit_t tx_pwrlimit_2g_cfg = {
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 14,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 1,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 15}, {2, 15}, {3, 15}, {4, 13}, {5, 13}, {6, 13},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 13}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 13}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 2,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 16}, {5, 16}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 3,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 16}, {5, 16}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 4,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 12}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 5,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 13}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 6,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 14}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 9,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 17}, {2, 17}, {3, 16}, {4, 16}, {5, 16}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 10,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 16}, {2, 16}, {3, 16}, {4, 15}, {5, 15}, {6, 15},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 13}, {2, 13}, {3, 13}, {4, 12}, {5, 12}, {6, 12},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 12}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2407,
|
|
.chan_width = 20,
|
|
.chan_num = 13,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 18}, {2, 18}, {3, 17}, {4, 16}, {5, 17}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 2414,
|
|
.chan_width = 20,
|
|
.chan_num = 14,
|
|
},
|
|
.txpwrlimit_entry = {{0, 19}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 0}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 0}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[14] = {0},
|
|
.txpwrlimit_config[15] = {0},
|
|
.txpwrlimit_config[16] = {0},
|
|
.txpwrlimit_config[17] = {0},
|
|
.txpwrlimit_config[18] = {0},
|
|
.txpwrlimit_config[19] = {0},
|
|
.txpwrlimit_config[20] = {0},
|
|
.txpwrlimit_config[21] = {0},
|
|
.txpwrlimit_config[22] = {0},
|
|
.txpwrlimit_config[23] = {0},
|
|
.txpwrlimit_config[24] = {0},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
};
|
|
|
|
#ifdef CONFIG_5GHz_SUPPORT
|
|
static wifi_txpwrlimit_t tx_pwrlimit_5g_cfg = {
|
|
.subband = (wifi_SubBand_t)0x00,
|
|
.num_chans = 25,
|
|
.txpwrlimit_config[0] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 36,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[1] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 40,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[2] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 44,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 20}, {6, 17},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[3] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 48,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 16}, {4, 20}, {5, 20}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[4] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 52,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 17}, {4, 20}, {5, 20}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[5] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 56,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[6] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 60,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 20}, {6, 17},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[7] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 64,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 19}, {2, 19}, {3, 16}, {4, 18}, {5, 18}, {6, 15},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 15}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[8] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 100,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[9] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 104,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 18}, {4, 20}, {5, 21}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[10] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 108,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 21}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[11] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 112,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 19}, {4, 20}, {5, 21}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[12] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 116,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 19}, {4, 21}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[13] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 120,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 19}, {4, 21}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[14] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 124,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[15] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 128,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[16] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 132,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[17] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 136,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 18}, {4, 21}, {5, 20}, {6, 18},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[18] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 140,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 16}, {4, 21}, {5, 20}, {6, 15},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[19] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 144,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 21}, {2, 21}, {3, 16}, {4, 21}, {5, 20}, {6, 15},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 15}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 14}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[20] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 149,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 18}, {4, 21}, {5, 21}, {6, 17},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 10}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[21] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 153,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 18}, {4, 21}, {5, 21}, {6, 16},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 10}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[22] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 157,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 15}, {4, 21}, {5, 21}, {6, 14},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 10}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[23] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 161,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 13}, {4, 21}, {5, 21}, {6, 12},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 10}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[24] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 165,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 13}, {4, 20}, {5, 20}, {6, 12},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 12}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 10}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[25] = {0},
|
|
.txpwrlimit_config[26] = {0},
|
|
.txpwrlimit_config[27] = {0},
|
|
.txpwrlimit_config[28] = {0},
|
|
.txpwrlimit_config[29] = {0},
|
|
.txpwrlimit_config[30] = {0},
|
|
.txpwrlimit_config[31] = {0},
|
|
.txpwrlimit_config[32] = {0},
|
|
.txpwrlimit_config[33] = {0},
|
|
.txpwrlimit_config[34] = {0},
|
|
.txpwrlimit_config[35] = {0},
|
|
.txpwrlimit_config[36] = {0},
|
|
.txpwrlimit_config[37] = {0},
|
|
.txpwrlimit_config[38] = {0},
|
|
.txpwrlimit_config[39] = {0},
|
|
/* Rest of the channels listed below are not used and contains dummy power entries,
|
|
* they belong to 4.9GHz Band for Public Safety.
|
|
*/
|
|
#if 0
|
|
.txpwrlimit_config[25] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 183,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[26] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 184,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 18}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 18}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[27] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 185,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[28] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 187,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[29] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 188,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[30] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 189,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[31] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 192,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[32] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 196,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[33] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 7,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[34] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 8,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[35] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 11,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[36] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 12,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[37] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 16,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
.txpwrlimit_config[38] =
|
|
{
|
|
.num_mod_grps = 20,
|
|
.chan_desc =
|
|
{
|
|
.start_freq = 5000,
|
|
.chan_width = 20,
|
|
.chan_num = 34,
|
|
},
|
|
.txpwrlimit_entry = {{0, 0}, {1, 20}, {2, 20}, {3, 20}, {4, 20}, {5, 20}, {6, 19},
|
|
{7, 0}, {8, 0}, {9, 0}, {10, 16}, {11, 0}, {12, 0}, {13, 0},
|
|
{14, 0}, {15, 0}, {16, 16}, {17, 0}, {18, 0}, {19, 0}},
|
|
},
|
|
#endif
|
|
};
|
|
#endif /* CONFIG_5GHz_SUPPORT */
|
|
#endif /* CONFIG_11AX */
|
|
#endif /* _WLAN_TXPWRLIMIT_CFG_WW_RW610_H_ */
|