#8759 LOW Not Tri: Libertas driver reports rx frags as errors

Zarro Boogs per Child bugtracker at laptop.org
Thu Oct 2 22:09:52 EDT 2008


#8759: Libertas driver reports rx frags as errors
-------------------------------+--------------------------------------------
 Reporter:  wmb at firmworks.com  |         Owner:  mbletsas     
     Type:  defect             |        Status:  new          
 Priority:  low                |     Milestone:  Not Triaged  
Component:  wireless           |       Version:  not specified
 Keywords:                     |   Next_action:  never set    
 Verified:  0                  |     Blockedby:               
 Blocking:                     |  
-------------------------------+--------------------------------------------
 If you do iwconfig several times, you'll see the "Rx invalid frag:"
 continually increasing.

 According to the iwconfig source, that is supposed to be a count of bad
 received fragments.  But the libertas driver appears to fill in that field
 (wstats.discard.fragment) with the "dot11ReceivedFragmentCount" field from
 CMD_802.11_GET_LOG.  Instead of reporting bad fragments, it's reporting
 good fragments.

 The questionable line is:

 wext.c:880          priv->wstats.discard.fragment =
 le32_to_cpu(priv->logmsg.rxfrag);

 The logmsg.fcserror field looks like a better candidate than the
 logmsg.rxfrag field.

-- 
Ticket URL: <http://dev.laptop.org/ticket/8759>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list