diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-21 06:40:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:23 -0400 |
commit | e6a9854b05c1a6af1308fe2b8c68f35abf28a3ee (patch) | |
tree | 241f611f8194586ccabf61bacb060508773b9d05 /drivers/net/wireless/b43legacy/main.c | |
parent | cb121bad67a32cde37adc2729b7e18aa4fd3063e (diff) |
mac80211/drivers: rewrite the rate control API
So after the previous changes we were still unhappy with how
convoluted the API is and decided to make things simpler for
everybody. This completely changes the rate control API, now
taking into account 802.11n with MCS rates and more control,
most drivers don't support that though.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 78e46365f69e..9edbdf9cb50f 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -3682,7 +3682,7 @@ static int b43legacy_wireless_init(struct ssb_device *dev) | |||
3682 | BIT(NL80211_IFTYPE_WDS) | | 3682 | BIT(NL80211_IFTYPE_WDS) | |
3683 | BIT(NL80211_IFTYPE_ADHOC); | 3683 | BIT(NL80211_IFTYPE_ADHOC); |
3684 | hw->queues = 1; /* FIXME: hardware has more queues */ | 3684 | hw->queues = 1; /* FIXME: hardware has more queues */ |
3685 | hw->max_altrates = 1; | 3685 | hw->max_rates = 2; |
3686 | SET_IEEE80211_DEV(hw, dev->dev); | 3686 | SET_IEEE80211_DEV(hw, dev->dev); |
3687 | if (is_valid_ether_addr(sprom->et1mac)) | 3687 | if (is_valid_ether_addr(sprom->et1mac)) |
3688 | SET_IEEE80211_PERM_ADDR(hw, sprom->et1mac); | 3688 | SET_IEEE80211_PERM_ADDR(hw, sprom->et1mac); |