diff options
author | Toralf F繹rster <toralf.foerster@gmx.de> | 2014-06-20 16:14:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 08:30:11 -0700 |
commit | aea36590b3f221136b85ba52fe5fcf690eaa042b (patch) | |
tree | 66bf1a5bd08a6898063d2896332b9feef125ab63 /drivers/staging/rtl8821ae | |
parent | cf695df834efc718b2ed17e9c83e127fd63c9033 (diff) |
v2 staging: translates 3 comments into english in HalBtc8812a1Ant.c
Signed-off-by: Toralf F繹rster <toralf.foerster@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8821ae')
-rw-r--r-- | drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c b/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c index 5a54bb10698c..cf8c38292cd8 100644 --- a/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c +++ b/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c @@ -1670,7 +1670,7 @@ halbtc8812a1ant_TdmaDurationAdjustForAcl( if (dn <= 0) dn = 0; - if(up >= n) // if 連續 n 個2秒 retry count為0, 則調寬WiFi duration + if(up >= n) // Google translated: if consecutive n-2 seconds retry count is 0, width-modulated WiFi duration { wait_count = 0; n = 3; @@ -1688,14 +1688,14 @@ halbtc8812a1ant_TdmaDurationAdjustForAcl( if (up <= 0) up = 0; - if (dn == 2) // if 連續 2 個2秒 retry count< 3, 則調窄WiFi duration + if (dn == 2) // Google translated: if 2 consecutive two seconds retry count <3, then tune narrow WiFi duration { if (wait_count <= 2) - m++; // 避免一直在兩個level中來回 + m++; // Google translated: Avoid been back and forth in the two level else m = 1; - if ( m >= 20) //m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. + if ( m >= 20) // Google translated: m max = 20 'Max 120 seconds recheck whether to adjust WiFi duration. m = 20; n = 3*m; @@ -1706,14 +1706,14 @@ halbtc8812a1ant_TdmaDurationAdjustForAcl( BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE_FW_DETAIL, ("[BTCoex], Decrease wifi duration for retryCounter<3!!\n")); } } - else //retry count > 3, 只要1次 retry count > 3, 則調窄WiFi duration + else // Google translated: retry count> 3, as long as a second retry count> 3, then tune narrow WiFi duration { if (wait_count == 1) - m++; // 避免一直在兩個level中來回 + m++; // Google translated: Avoid been back and forth in the two level else m = 1; - if ( m >= 20) //m 最大值 = 20 ' 最大120秒 recheck是否調整 WiFi duration. + if ( m >= 20) // Google translated: m max = 20 'Max 120 seconds recheck whether to adjust WiFi duration. m = 20; n = 3*m; |