[speedtouch] Re: New beta available

2003-06-28 Thread Ok Overbeek (mz)


Edouard Gomez wrote:

Hello,

Now that i finished school, i have some time to spend on this project, a
new beta release is available.
  

Congratulations!
Or did they kick you out. :-)

Sorry i did not keep track of all changes. If you want a precise
changelog, cvs is the solution...

Btw afaik there are these changes:
 - Smarter junk bytes detection/skipping
 - Firmware identification
 - other bugfixes
( - perhaps a change in the way the modem gets initialized)

I know i missed at least two patches that were helping the CRC
errors... please post them again to me.
  

I sent them a long time ago, and I don't really feel like making updates
to your new sources again.
The little omission in atm.c (regarding the congestion-bit) is still there,
and I can tell you: I get tons of 'em, leading to tons of CRC-errors.
And the length-error in pppoa3 is still there..

Thanks and good testing/using.

  

I tried it (already) to no avail: lost my connection

I think of unsubscribing

Ok O.



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: New beta available

2003-06-28 Thread Edouard Gomez

Ok Overbeek (mz) ([EMAIL PROTECTED]) wrote:
 Now that i finished school, i have some time to spend on this project, a
 new beta release is available.
   
 
 Congratulations!
 Or did they kick you out. :-)

No i just finished school the regular way...

 I know i missed at least two patches that were helping the CRC
 errors... please post them again to me.
   
 
 I sent them a long time ago, and I don't really feel like making updates
 to your new sources again.
 The little omission in atm.c (regarding the congestion-bit) is still there,
 and I can tell you: I get tons of 'em, leading to tons of CRC-errors.
 And the length-error in pppoa3 is still there..

Just post them, i'll update them if needed. 

-- 
Edouard Gomez
-- Attached file included as plaintext by Listar --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+/Ws+R5dTYz5sWMcRAl80AJ9G9r16x6PAOwlfgmfdY/W753zVQgCg1UUD
ftME4vszygJmfafeLUU0CRg=
=uwes
-END PGP SIGNATURE-


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: New beta available

2003-06-28 Thread Tim Woodall
On Sat, 28 Jun 2003, Edouard Gomez wrote:

  The little omission in atm.c (regarding the congestion-bit) is still there,
  and I can tell you: I get tons of 'em, leading to tons of CRC-errors.
  And the length-error in pppoa3 is still there..
 
 Just post them, i'll update them if needed. 
 

Here are the changes to atm.c. I need to spend some more time looking at
the changes for pppoa3.

The only critical bit is the hunk at line 366, the rest is debugging changes.

(The lines might wrap - beware - I'll send direct as an attachment if required.)

Regards,

Tim.


--- atm.c   Thu May 15 20:17:49 2003
+++ atm.c.new   Sat Jun 28 13:01:29 2003
@@ -325,6 +325,7 @@
break;
}
}
+   if (i  0) report(0, REPORT_ERROR|REPORT_DATE, Junk bytes\n);
}
 
 
@@ -339,7 +340,7 @@
 
/* Skip cells that don't use the same vpi, vci as ours */
if( vpi != atm_header_get_vpi(src) || vci != atm_header_get_vci(src)) {
-   report(1, REPORT_INFO|REPORT_DATE, Cell had wrong 
VPI(%d)/VCI(%d) (OAM?) PTI=0x%.2x\n,
+   report(0, REPORT_INFO|REPORT_DATE, Cell had wrong 
VPI(%d)/VCI(%d) (OAM?) PTI=0x%.2x\n,
atm_header_get_vpi(src),
atm_header_get_vci(src),
atm_header_get_pti(src));
@@ -350,6 +351,10 @@
continue;
}
 
+   pti = atm_header_get_clp(src);
+   if (pti  0) {
+   report(0, REPORT_ERROR|REPORT_DATE, Clp bit is ON\n);
+   }
pti = atm_header_get_pti(src);
 
/* 
@@ -366,6 +371,11 @@
continue;
}
 
+   /* deal with the congestion bit in user-data cell: take it out; data 
is OK */
+
+   if (pti == 2)  pti = 0;
+   if (pti == 3)  pti = 1;
+
atm_cell_read(dst, src);
 
src  += ATM_CELL_TOTAL_SIZE;
@@ -418,7 +428,7 @@
 
/* If real  expected length, This is most likely a deliberate crack attempt */
if(real_length  length)
-   return(-1);
+   return(-2);
 
/* Copy the data */
if(data != frame)



-- 
God said, div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t, 
and there was light.

 http://tjw.hn.org/  http://www.locofungus.btinternet.co.uk/



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]