aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-05-23 05:18:45 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:05:09 -0400
commite535c7566e1318ccfa015e297f0309994f7bc078 (patch)
tree586e150edc49e9bf64f7fea728ce37b8cff4063a /include/net
parent2fa7a98fc96abe431e5d54d97104cdca197391fa (diff)
mac80211: deprecate conf.beacon_int properly
Ivo has updated the driver to no longer use the change flag, so we can remove that, but rt2x00 and ath5k still use the actual value so let's mark it as deprecated too. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index d72346ff3247..0270aa6e08f2 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -527,7 +527,6 @@ enum ieee80211_conf_flags {
527 * enum ieee80211_conf_changed - denotes which configuration changed 527 * enum ieee80211_conf_changed - denotes which configuration changed
528 * 528 *
529 * @IEEE80211_CONF_CHANGE_RADIO_ENABLED: the value of radio_enabled changed 529 * @IEEE80211_CONF_CHANGE_RADIO_ENABLED: the value of radio_enabled changed
530 * @_IEEE80211_CONF_CHANGE_BEACON_INTERVAL: DEPRECATED
531 * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed 530 * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed
532 * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed 531 * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed
533 * @IEEE80211_CONF_CHANGE_PS: the PS flag or dynamic PS timeout changed 532 * @IEEE80211_CONF_CHANGE_PS: the PS flag or dynamic PS timeout changed
@@ -538,7 +537,6 @@ enum ieee80211_conf_flags {
538 */ 537 */
539enum ieee80211_conf_changed { 538enum ieee80211_conf_changed {
540 IEEE80211_CONF_CHANGE_RADIO_ENABLED = BIT(0), 539 IEEE80211_CONF_CHANGE_RADIO_ENABLED = BIT(0),
541 _IEEE80211_CONF_CHANGE_BEACON_INTERVAL = BIT(1),
542 IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2), 540 IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2),
543 IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3), 541 IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3),
544 IEEE80211_CONF_CHANGE_PS = BIT(4), 542 IEEE80211_CONF_CHANGE_PS = BIT(4),
@@ -548,14 +546,6 @@ enum ieee80211_conf_changed {
548 IEEE80211_CONF_CHANGE_IDLE = BIT(8), 546 IEEE80211_CONF_CHANGE_IDLE = BIT(8),
549}; 547};
550 548
551static inline __deprecated enum ieee80211_conf_changed
552__IEEE80211_CONF_CHANGE_BEACON_INTERVAL(void)
553{
554 return _IEEE80211_CONF_CHANGE_BEACON_INTERVAL;
555}
556#define IEEE80211_CONF_CHANGE_BEACON_INTERVAL \
557 __IEEE80211_CONF_CHANGE_BEACON_INTERVAL()
558
559/** 549/**
560 * struct ieee80211_conf - configuration of the device 550 * struct ieee80211_conf - configuration of the device
561 * 551 *
@@ -564,7 +554,7 @@ __IEEE80211_CONF_CHANGE_BEACON_INTERVAL(void)
564 * @flags: configuration flags defined above 554 * @flags: configuration flags defined above
565 * 555 *
566 * @radio_enabled: when zero, driver is required to switch off the radio. 556 * @radio_enabled: when zero, driver is required to switch off the radio.
567 * @beacon_int: beacon interval (TODO make interface config) 557 * @beacon_int: DEPRECATED, DO NOT USE
568 * 558 *
569 * @listen_interval: listen interval in units of beacon interval 559 * @listen_interval: listen interval in units of beacon interval
570 * @max_sleep_period: the maximum number of beacon intervals to sleep for 560 * @max_sleep_period: the maximum number of beacon intervals to sleep for
@@ -589,7 +579,7 @@ __IEEE80211_CONF_CHANGE_BEACON_INTERVAL(void)
589 * number of transmissions not the number of retries 579 * number of transmissions not the number of retries
590 */ 580 */
591struct ieee80211_conf { 581struct ieee80211_conf {
592 int beacon_int; 582 int __deprecated beacon_int;
593 u32 flags; 583 u32 flags;
594 int power_level, dynamic_ps_timeout; 584 int power_level, dynamic_ps_timeout;
595 int max_sleep_period; 585 int max_sleep_period;