diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-07-09 08:40:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:30:07 -0400 |
commit | 9d139c810a2aa17365cc548d0cd2a189d8433c65 (patch) | |
tree | ef10ca55f93689ab97368376d277102d2527c961 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | f3947e2dfa3b18f375b7acd03b7ee2877d0751fc (diff) |
mac80211: revamp beacon configuration
This patch changes mac80211's beacon configuration handling
to never pass skbs to the driver directly but rather always
require the driver to use ieee80211_beacon_get(). Additionally,
it introduces "change flags" on the config_interface() call
to enable drivers to figure out what is changing. Finally, it
removes the beacon_update() driver callback in favour of
having IBSS beacon delivered by ieee80211_beacon_get() as well.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index c07d9ef383f0..9ad3ce43e6cd 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -534,6 +534,8 @@ struct rt2x00lib_ops { | |||
534 | /* | 534 | /* |
535 | * Configuration handlers. | 535 | * Configuration handlers. |
536 | */ | 536 | */ |
537 | int (*beacon_update) (struct ieee80211_hw *hw, struct sk_buff *bcn); | ||
538 | |||
537 | void (*config_filter) (struct rt2x00_dev *rt2x00dev, | 539 | void (*config_filter) (struct rt2x00_dev *rt2x00dev, |
538 | const unsigned int filter_flags); | 540 | const unsigned int filter_flags); |
539 | void (*config_intf) (struct rt2x00_dev *rt2x00dev, | 541 | void (*config_intf) (struct rt2x00_dev *rt2x00dev, |