mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2025-10-13 12:26:02 +01:00
Merge pull request #38 from radxa-pkg/master
Support building as a Debian DKMS package
This commit is contained in:
commit
c65bc55a36
@ -1500,7 +1500,7 @@ u8 rtw_joinbss_cmd(_adapter *padapter, struct wlan_network *pnetwork)
|
||||
#endif /* CONFIG_80211N_HT */
|
||||
|
||||
#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)) &&
|
||||
((psecuritypriv->rsn_akm_suite_type == 3) || (psecuritypriv->rsn_akm_suite_type == 4))
|
||||
) {
|
||||
|
@ -1788,7 +1788,7 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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;
|
||||
n = 3;
|
||||
up = 0;
|
||||
@ -1803,13 +1803,13 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
@ -1818,13 +1818,13 @@ void halbtc8812a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
wait_count = 0;
|
||||
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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
|
@ -1992,7 +1992,7 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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;
|
||||
n = 3;
|
||||
up = 0;
|
||||
@ -2007,13 +2007,13 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
@ -2022,13 +2022,13 @@ void halbtc8821a2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
wait_count = 0;
|
||||
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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
|
@ -1665,7 +1665,7 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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;
|
||||
n = 3;
|
||||
up = 0;
|
||||
@ -1680,13 +1680,13 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
if (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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
@ -1695,13 +1695,13 @@ void halbtc8821aCsr2ant_tdma_duration_adjust(IN struct btc_coexist *btcoexist,
|
||||
wait_count = 0;
|
||||
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)
|
||||
m++; /* 避免一直在兩個level中來回 */
|
||||
m++; /* to avoid loop between the two levels */
|
||||
else
|
||||
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;
|
||||
|
||||
n = 3 * m;
|
||||
|
@ -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*/\
|
||||
{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 */ \
|
||||
{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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user