[Madwifi-cvs] madwifi/ath_rate/amrr amrr.c,1.1.2.6,1.1.2.7
Status: Beta
Brought to you by:
otaku
From: Sebastian W. <to...@us...> - 2005-07-27 11:03:36
|
Update of /cvsroot/madwifi/madwifi/ath_rate/amrr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6544/ath_rate/amrr Modified Files: Tag: BSD amrr.c Log Message: bunch of changes from FreeBSD: - simplify some api's by removing ic parameter (implicit in node reference) - define IEEE80211_FIXED_RATE_NONE and use it instead of -1 - move default settings for RTS and frag thresholds to ieee80211_var.h - define/reserve flag+capabilities bits for superg, bg scan, and roaming support - split xmit of probe request frame out into a separate routine that takes explicit parameters; this will be needed when scanning is decoupled from the state machine to do bg scanning - split 802.11 frame xmit setup code into ieee80211_send_setup - bandaid ni_fails handling so ap's with association failures are reconsidered after a bit; a proper fix involves more changes to the scanning infrastructure - move inactivity-related debug msgs under IEEE80211_MSG_INACT - probe inactive neighbors in adhoc mode (they don't have an association id so previously were being timed out) - when bridging internally bypass the bss node as traffic to it must follow the normal input path (modified own fix) - reject association requests with a wpa/rsn ie when wpa/rsn is not configured on the ap; previously we either ignored the ie or (possibly) failed an assertion - send a response when an auth request is denied due to an acl; might be better to silently ignore the frame but this way we give stations a chance of figuring out what's wrong - refactor debug msg macros - include device name in discard msgs - add diag msgs for frames discarded because the direction field is wrong split data frame delivery out to a new function ieee80211_deliver_data - add stats we know we'll need soon and some spare fields for future expansion - add ic_flags_ext for eventual extention of ic_flags Index: amrr.c =================================================================== RCS file: /cvsroot/madwifi/madwifi/ath_rate/amrr/amrr.c,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -C2 -d -r1.1.2.6 -r1.1.2.7 *** amrr.c 12 Apr 2005 16:45:41 -0000 1.1.2.6 --- amrr.c 27 Jul 2005 11:02:53 -0000 1.1.2.7 *************** *** 276,280 **** KASSERT(ni->ni_rates.rs_nrates > 0, ("no rates")); ! if (ic->ic_fixed_rate == -1) { /* * No fixed rate is requested. For 11b start with --- 276,280 ---- KASSERT(ni->ni_rates.rs_nrates > 0, ("no rates")); ! if (ic->ic_fixed_rate == IEEE80211_FIXED_RATE_NONE) { /* * No fixed rate is requested. For 11b start with *************** *** 357,361 **** ath_rate_update(sc, ic->ic_bss, 0); } ! if (ic->ic_fixed_rate == -1 && state == IEEE80211_S_RUN) { int interval; /* --- 357,361 ---- ath_rate_update(sc, ic->ic_bss, 0); } ! if (ic->ic_fixed_rate == IEEE80211_FIXED_RATE_NONE && state == IEEE80211_S_RUN) { int interval; /* |