mac80211: Extend the rate control API with an update callback
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 12 Feb 2009 06:08:37 +0000 (11:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:51:45 +0000 (14:51 -0500)
commit81cb7623ad3b408f871fa36b774fc20d8dfccac0
tree4a5f0811f0030059321858c634cf7ba5613fb78f
parentb06e786d4c850515e2efdf6dc37ba9e2ffc86bab
mac80211: Extend the rate control API with an update callback

The AP can switch dynamically between 20/40 Mhz channel width,
in which case we switch the local operating channel, but the
rate control algorithm is not notified. This patch adds a new callback
to indicate such changes to the RC algorithm.

Currently, HT channel width change is notified, but this callback
can be used to indicate any new requirements that might come up later on.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ht.c
net/mac80211/rate.h