[OpenBIOS] r772 - dev/usb2/device/wlan

svn at openbios.org svn at openbios.org
Sun Jan 6 00:45:20 CET 2008


Author: wmb
Date: 2008-01-06 00:45:20 +0100 (Sun, 06 Jan 2008)
New Revision: 772

Modified:
   dev/usb2/device/wlan/usb8388.fth
Log:
OLPC wireless LAN driver - added some status report message
text for previously-undefined message codes.


Modified: dev/usb2/device/wlan/usb8388.fth
===================================================================
--- dev/usb2/device/wlan/usb8388.fth	2008-01-05 23:43:26 UTC (rev 771)
+++ dev/usb2/device/wlan/usb8388.fth	2008-01-05 23:45:20 UTC (rev 772)
@@ -392,8 +392,12 @@
 : process-ind  ( adr len -- )
    drop
    4 + le-l@  case
-      h# 03  of  " Link Loss" .event  process-disconnect  endof
+      h# 00  of  " Tx PPA Free" .event  endof  \ n
+      h# 01  of  " Tx DMA Done" .event  endof  \ n
+      h# 02  of  " Link Loss with scan" .event  process-disconnect  endof
+      h# 03  of  " Link Loss no scan" .event  process-disconnect  endof
       h# 04  of  " Link Sensed" .event  endof
+      h# 05  of  " CMD Finished" .event  endof
       h# 06  of  " MIB Changed" .event  endof
       h# 07  of  " Init Done" .event  endof
       h# 08  of  " Deauthenticated" .event  process-disconnect  endof
@@ -402,6 +406,7 @@
       h# 0b  of  " Sleep" .event  process-wakeup  endof
       h# 0d  of  " Multicast MIC error" .event  process-gmic-failure  endof
       h# 0e  of  " Unicast MIC error" .event  process-pmic-failure  endof
+      h# 0e  of  " WM awake" .event  endof \ n
       h# 11  of  " HWAC - adhoc BCN lost" .event  endof
       h# 19  of  " RSSI low" .event  endof
       h# 1a  of  " SNR low" .event  endof
@@ -410,6 +415,7 @@
       h# 1d  of  " SNR high" .event  endof
       h# 23  of  endof  \ Suppress this; the user doesn't need to see it
       \ h# 23  of  ." Mesh auto-started"  endof
+      h# 30  of  " Firmware ready" .event  endof
       ( default )  ." Unknown " dup u.
    endcase
 ;
@@ -1057,7 +1063,7 @@
    outbuf-bulk-out  if  false exit  then
    wait-cmd-resp  if  false exit  then
 
-   respbuf >fw-data 2 + le-w@ ?dup  if
+   respbuf >fw-data 2 + le-w@ ?dup  if \ This is the IEEE Status Code
       ." Failed to associate: " u. cr
       false
    else




More information about the OpenBIOS mailing list