|
@@ -800,7 +800,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|
"Invalid RateSection %d in Band 2.4G,Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
|
"Invalid RateSection %d in Band 2.4G,Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
|
rate_section, path, txnum);
|
|
rate_section, path, txnum);
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
} else if (band == BAND_ON_5G) {
|
|
} else if (band == BAND_ON_5G) {
|
|
switch (rate_section) {
|
|
switch (rate_section) {
|
|
case OFDM:
|
|
case OFDM:
|
|
@@ -823,7 +823,7 @@ static void _rtl8821ae_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
|
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_SetTxPowerByRateBase()\n",
|
|
rate_section, path, txnum);
|
|
rate_section, path, txnum);
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
|
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
|
"Invalid Band %d in PHY_SetTxPowerByRateBase()\n", band);
|
|
"Invalid Band %d in PHY_SetTxPowerByRateBase()\n", band);
|
|
@@ -870,7 +870,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|
"Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
|
"Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
|
rate_section, path, txnum);
|
|
rate_section, path, txnum);
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
} else if (band == BAND_ON_5G) {
|
|
} else if (band == BAND_ON_5G) {
|
|
switch (rate_section) {
|
|
switch (rate_section) {
|
|
case OFDM:
|
|
case OFDM:
|
|
@@ -893,7 +893,7 @@ static u8 _rtl8821ae_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw,
|
|
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
|
"Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
|
|
rate_section, path, txnum);
|
|
rate_section, path, txnum);
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
|
RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD,
|
|
"Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band);
|
|
"Invalid Band %d in PHY_GetTxPowerByRateBase()\n", band);
|
|
@@ -3743,7 +3743,7 @@ static void _rtl8821ae_iqk_tx_fill_iqc(struct ieee80211_hw *hw,
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
|
|
static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
|
|
@@ -3764,7 +3764,7 @@ static void _rtl8821ae_iqk_rx_fill_iqc(struct ieee80211_hw *hw,
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
break;
|
|
break;
|
|
- };
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
#define cal_num 10
|
|
#define cal_num 10
|