]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r214894:
authorbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 20 Nov 2010 12:24:26 +0000 (12:24 +0000)
committerbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 20 Nov 2010 12:24:26 +0000 (12:24 +0000)
commit70e09aa7cacf1098c98037a1ac55e16dee9590c5
tree8047a2581106db101c13a296e93611e124f5748a
parentff51866a3e6f5fb0b792175682b2455e229a72ca
MFC r214894:
Instead of using the AMRR ratectl algo as default for drivers which have
the IEEE80211_C_RATECTL flag set, default to NONE for all drivers. Only if
a driver calls ieee80211_ratectl_init() check if the NONE algo is still
selected and try to use AMRR in that case. Drivers are still free to use
any other algo by calling ieee80211_ratectl_set() prior to the
ieee80211_ratectl_init() call.

After this change it is now safe to assume that a ratectl algo is always
available and selected, which renders the IEEE80211_C_RATECTL flag pretty
much useless. Therefore revert r211314 and 211546.

git-svn-id: svn://svn.freebsd.org/base/stable/8@215557 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
16 files changed:
sys/dev/bwi/if_bwi.c
sys/dev/bwn/if_bwn.c
sys/dev/iwn/if_iwn.c
sys/dev/ral/rt2560.c
sys/dev/ral/rt2661.c
sys/dev/usb/wlan/if_rum.c
sys/dev/usb/wlan/if_run.c
sys/dev/usb/wlan/if_ural.c
sys/dev/usb/wlan/if_zyd.c
sys/dev/wpi/if_wpi.c
sys/net80211/ieee80211.c
sys/net80211/ieee80211_node.c
sys/net80211/ieee80211_ratectl.c
sys/net80211/ieee80211_ratectl.h
sys/net80211/ieee80211_sta.c
sys/net80211/ieee80211_var.h