v2 staging: translates 3 comments into english in HalBtc8812a1Ant.c
authorToralf Förster <toralf.foerster@gmx.de>
Fri, 20 Jun 2014 14:14:37 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 15:30:11 +0000 (08:30 -0700)
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c

index 5a54bb1..cf8c382 100644 (file)
@@ -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;