comments were translated with https://translate.google.com/
this enables python to parse that file right

Signed-off-by: Toralf Förster <toralf.foers...@gmx.de>
---
 drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c 
b/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c
index 5a54bb1..3060e4e 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 �s�� n ��2�� retry count��0, 
�h�ռeWiFi 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 �s�� 2 ��2�� retry count< 3, 
�h�կ�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++; // �קK�@���b����level���Ӧ^
+                                       m++; // Google translated: Avoid been 
back and forth in the two level
                                else
                                        m = 1;
 
-                               if ( m >= 20) //m �̤j�� = 20 ' �̤j120�� 
recheck�O�_�վ� 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, �u�n1�� retry count > 3, �h�կ�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++; // �קK�@���b����level���Ӧ^
+                               m++; // Google translated: Avoid been back and 
forth in the two level 
                        else
                                m = 1;
 
-                       if ( m >= 20) //m �̤j�� = 20 ' �̤j120�� recheck�O�_�վ� 
WiFi duration.
+                       if ( m >= 20) // Google translated: m max = 20 'Max 120 
seconds recheck whether to adjust WiFi duration.
                                m = 20;
 
                        n = 3*m;
@@ -3741,7 +3741,7 @@ EXhalbtc8812a1ant_BtInfoNotify(
                // need to add back when mp-chip. 12/20/2012
 #if 0          
                if(set_bt_psd_mode <= 3)
-               {
+               {
                        halbtc8812a1ant_SetBtPsdMode(btcoexist, FORCE_EXEC, 
0xd);
                        set_bt_psd_mode++;
                }
-- 
2.0.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to