1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00

Fix some compiler errors

This commit is contained in:
kimocoder 2020-03-08 19:53:37 +01:00
parent 19398a4630
commit 5484970659
2 changed files with 28 additions and 34 deletions

View File

@ -3947,8 +3947,8 @@ odm_read_and_config_mp_8814a_phy_reg_pg(
/****************************************************************************** /******************************************************************************
* PHY_REG_PG_Type2.TXT * PHY_REG_PG_Type2.TXT
******************************************************************************/ ******************************************************************************\
/*
u32 Array_MP_8814A_PHY_REG_PG_Type2[] = { u32 Array_MP_8814A_PHY_REG_PG_Type2[] = {
0, 0, 0, 0x00000c20, 0xffffffff, 0x36363636, 0, 0, 0, 0x00000c20, 0xffffffff, 0x36363636,
0, 0, 0, 0x00000c24, 0xffffffff, 0x36363636, 0, 0, 0, 0x00000c24, 0xffffffff, 0x36363636,
@ -4124,12 +4124,10 @@ _odm_read_and_config_mp_8814a_phy_reg_pg_type2(
} }
******************************************************************************
/******************************************************************************
* PHY_REG_PG_Type3.TXT * PHY_REG_PG_Type3.TXT
******************************************************************************/ ******************************************************************************
/*
u32 Array_MP_8814A_PHY_REG_PG_Type3[] = { u32 Array_MP_8814A_PHY_REG_PG_Type3[] = {
0, 0, 0, 0x00000c20, 0xffffffff, 0x48484848, 0, 0, 0, 0x00000c20, 0xffffffff, 0x48484848,
0, 0, 0, 0x00000c24, 0xffffffff, 0x46464646, 0, 0, 0, 0x00000c24, 0xffffffff, 0x46464646,

View File

@ -6811,11 +6811,10 @@ _odm_read_and_config_mp_8814a_txpwr_lmt_type2(
} }
/****************************************************************************** ******************************************************************************
* TXPWR_LMT_Type3.TXT * TXPWR_LMT_Type3.TXT
******************************************************************************/ ******************************************************************************
/*
const char *Array_MP_8814A_TXPWR_LMT_Type3[] = { const char *Array_MP_8814A_TXPWR_LMT_Type3[] = {
"FCC", "2.4G", "20M", "CCK", "1T", "01", "46", "FCC", "2.4G", "20M", "CCK", "1T", "01", "46",
"ETSI", "2.4G", "20M", "CCK", "1T", "01", "40", "ETSI", "2.4G", "20M", "CCK", "1T", "01", "40",
@ -7791,7 +7790,6 @@ const char *Array_MP_8814A_TXPWR_LMT_Type3[] = {
"MKK", "5G", "80M", "VHT", "4T", "155", "63" "MKK", "5G", "80M", "VHT", "4T", "155", "63"
}; };
/*
void void
_odm_read_and_config_mp_8814a_txpwr_lmt_type3( _odm_read_and_config_mp_8814a_txpwr_lmt_type3(
struct dm_struct * pDM_Odm struct dm_struct * pDM_Odm
@ -7818,11 +7816,10 @@ _odm_read_and_config_mp_8814a_txpwr_lmt_type3(
} }
/****************************************************************************** ******************************************************************************
* TXPWR_LMT_Type5.TXT * TXPWR_LMT_Type5.TXT
******************************************************************************/ ******************************************************************************
/*
const char *Array_MP_8814A_TXPWR_LMT_Type5[] = { const char *Array_MP_8814A_TXPWR_LMT_Type5[] = {
"FCC", "2.4G", "20M", "CCK", "1T", "01", "46", "FCC", "2.4G", "20M", "CCK", "1T", "01", "46",
"ETSI", "2.4G", "20M", "CCK", "1T", "01", "40", "ETSI", "2.4G", "20M", "CCK", "1T", "01", "40",
@ -8796,10 +8793,9 @@ const char *Array_MP_8814A_TXPWR_LMT_Type5[] = {
"FCC", "5G", "80M", "VHT", "4T", "155", "46", "FCC", "5G", "80M", "VHT", "4T", "155", "46",
"ETSI", "5G", "80M", "VHT", "4T", "155", "40", "ETSI", "5G", "80M", "VHT", "4T", "155", "40",
"MKK", "5G", "80M", "VHT", "4T", "155", "63" "MKK", "5G", "80M", "VHT", "4T", "155", "63"
//}; };
/*
void void
_odm_read_and_config_mp_8814a_txpwr_lmt_type5( _odm_read_and_config_mp_8814a_txpwr_lmt_type5(
struct dm_struct * pDM_Odm struct dm_struct * pDM_Odm