rtl8723ds: Update comments with UTF-8 encoding

When packaging the source as a Debian DKMS package, lintian will warn
national-encoding due to Big5 encoded characters in comments.

Update to English comments from other files when available, and
reencode Chinese in UTF-8.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
This commit is contained in:
ZHANG Yuntian 2023-05-05 12:35:44 +08:00
parent 42fdd132e9
commit 339d6c4d89
5 changed files with 23 additions and 23 deletions

View File

@ -1500,7 +1500,7 @@ u8 rtw_joinbss_cmd(_adapter *padapter, struct wlan_network *pnetwork)
#endif /* CONFIG_80211N_HT */ #endif /* CONFIG_80211N_HT */
#ifdef CONFIG_RTW_80211R #ifdef CONFIG_RTW_80211R
/*IEEE802.11-2012 Std. Table 8-101¡XAKM suite selectors*/ /*IEEE802.11-2012 Std. Table 8-101 XAKM suite selectors*/
if ((rtw_chk_ft_flags(padapter, RTW_FT_STA_SUPPORTED)) && if ((rtw_chk_ft_flags(padapter, RTW_FT_STA_SUPPORTED)) &&
((psecuritypriv->rsn_akm_suite_type == 3) || (psecuritypriv->rsn_akm_suite_type == 4)) ((psecuritypriv->rsn_akm_suite_type == 3) || (psecuritypriv->rsn_akm_suite_type == 4))
) { ) {

View File

@ -1788,7 +1788,7 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (dn <= 0) if (dn <= 0)
dn = 0; dn = 0;
if (up >= n) { /* if 連續 n 個2秒 retry count為0, 則調寬WiFi duration */ if (up >= n) { /* if retry count during continuous n*2 seconds is 0, enlarge WiFi duration */
wait_count = 0; wait_count = 0;
n = 3; n = 3;
up = 0; up = 0;
@ -1803,13 +1803,13 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (up <= 0) if (up <= 0)
up = 0; up = 0;
if (dn == 2) { /* if 連續 2 個2秒 retry count< 3, 則調窄WiFi duration */ if (dn == 2) { /* if continuous 2 retry count(every 2 seconds) >0 and < 3, reduce WiFi duration */
if (wait_count <= 2) if (wait_count <= 2)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;
@ -1818,13 +1818,13 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
wait_count = 0; wait_count = 0;
result = -1; result = -1;
} }
} else { /* retry count > 3, 只要1次 retry count > 3, 則調窄WiFi duration */ } else { /* retry count > 3, once retry count > 3, to reduce WiFi duration */
if (wait_count == 1) if (wait_count == 1)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;

View File

@ -1992,7 +1992,7 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (dn <= 0) if (dn <= 0)
dn = 0; dn = 0;
if (up >= n) { /* if 連續 n 個2秒 retry count為0, 則調寬WiFi duration */ if (up >= n) { /* if retry count during continuous n*2 seconds is 0, enlarge WiFi duration */
wait_count = 0; wait_count = 0;
n = 3; n = 3;
up = 0; up = 0;
@ -2007,13 +2007,13 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (up <= 0) if (up <= 0)
up = 0; up = 0;
if (dn == 2) { /* if 連續 2 個2秒 retry count< 3, 則調窄WiFi duration */ if (dn == 2) { /* if continuous 2 retry count(every 2 seconds) >0 and < 3, reduce WiFi duration */
if (wait_count <= 2) if (wait_count <= 2)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;
@ -2022,13 +2022,13 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
wait_count = 0; wait_count = 0;
result = -1; result = -1;
} }
} else { /* retry count > 3, 只要1次 retry count > 3, 則調窄WiFi duration */ } else { /* retry count > 3, once retry count > 3, to reduce WiFi duration */
if (wait_count == 1) if (wait_count == 1)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;

View File

@ -1665,7 +1665,7 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (dn <= 0) if (dn <= 0)
dn = 0; dn = 0;
if (up >= n) { /* if 連續 n 個2秒 retry count為0, 則調寬WiFi duration */ if (up >= n) { /* if retry count during continuous n*2 seconds is 0, enlarge WiFi duration */
wait_count = 0; wait_count = 0;
n = 3; n = 3;
up = 0; up = 0;
@ -1680,13 +1680,13 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
if (up <= 0) if (up <= 0)
up = 0; up = 0;
if (dn == 2) { /* if 連續 2 個2秒 retry count< 3, 則調窄WiFi duration */ if (dn == 2) { /* if continuous 2 retry count(every 2 seconds) >0 and < 3, reduce WiFi duration */
if (wait_count <= 2) if (wait_count <= 2)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;
@ -1695,13 +1695,13 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
wait_count = 0; wait_count = 0;
result = -1; result = -1;
} }
} else { /* retry count > 3, 只要1次 retry count > 3, 則調窄WiFi duration */ } else { /* retry count > 3, once retry count > 3, to reduce WiFi duration */
if (wait_count == 1) if (wait_count == 1)
m++; /* 避免一直在兩個level中來回 */ m++; /* to avoid loop between the two levels */
else else
m = 1; m = 1;
if (m >= 20) /* m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. */ if (m >= 20) /* maximum of m = 20 ' will recheck if need to adjust wifi duration in maximum time interval 120 seconds */
m = 20; m = 20;
n = 3 * m; n = 3 * m;

View File

@ -62,7 +62,7 @@
{0x005A, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT1, BIT1},/*Enable HSISR GPIO9 interrupt*/\ {0x005A, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT1, BIT1},/*Enable HSISR GPIO9 interrupt*/\
{0x007A, PWR_CUT_TESTCHIP_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xFF, 0x3A},/*0x7A = 0x3A start BT*/\ {0x007A, PWR_CUT_TESTCHIP_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xFF, 0x3A},/*0x7A = 0x3A start BT*/\
{0x002E, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xFF , 0x82 },/* 0x2C[23:12]=0x820 ; XTAL trim */ \ {0x002E, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, 0xFF , 0x82 },/* 0x2C[23:12]=0x820 ; XTAL trim */ \
{0x0010, PWR_CUT_A_MSK , PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT6 , BIT6 },/* 0x10[6]=1 ; MP新增對於0x2C的控制權須把0x10[6]設為1才能讓WLAN控制 */ \ {0x0010, PWR_CUT_A_MSK , PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT6 , BIT6 },/* 0x10[6]=1 ; MP新增對於0x2C的控制權須把0x10[6]設為1才能讓WLAN控制 */ \
#define RTL8821A_TRANS_ACT_TO_CARDEMU \ #define RTL8821A_TRANS_ACT_TO_CARDEMU \