Pavel Roskin | 3 Sep 2009 23:10
Favicon

revision 4096 committed

Project     : madwifi
Revision    : 4096
Author      : proski (Pavel Roskin)
Date        : 2009-09-03 23:10:20 +0200 (Thu, 03 Sep 2009)

Log Message :
Rewrite handling of the fixed rates

Make srate signed, or checks for it being less than 0 don't work.
Consistently use IEEE80211_FIXED_RATE_NONE.  Fix misleading comments.

Survive the case when the fixed rate is not in the rate table.  It can
happen e.g. a CCK rate is used with an 802.11a channel, or in the STA
mode when an OFDM rate is used with 802.11b.  The driver should catch
it, but it doesn't.  In any case, it's not a reason for an oops.

Remove the debugging message if everything is fine.  In case of an
error, specify the VAP name.

Affected Files:
* madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c  updated             
* madwifi/branches/madwifi-0.9.4/ath_rate/minstrel/minstrel.c  updated             
* madwifi/branches/madwifi-0.9.4/ath_rate/onoe/onoe.c  updated             
* madwifi/branches/madwifi-0.9.4/ath_rate/sample/sample.c  updated             

Modified: madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c
===================================================================
--- madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c	2009-09-03 21:08:13 UTC (rev 4095)
+++ madwifi/branches/madwifi-0.9.4/ath_rate/amrr/amrr.c	2009-09-03 21:10:20 UTC (rev 4096)
 <at>  <at>  -79,6 +79,10  <at>  <at> 
(Continue reading)


Gmane