diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-08-17 10:18:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:58 -0400 |
commit | f424afa17899408cbd267a4c4534ca6fc9d8f71c (patch) | |
tree | ef68af16e693231b6842767ecd2ad04ba341cd93 /include/net/mac80211.h | |
parent | 3ac64beecd27400d12cc7afb4108eef26c499f6a (diff) |
mac80211: remove deprecated API
All but two drivers have now stopped using the two
deprecated members radio_enabled and beacon_int,
so it's about time to remove them for good.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index bc865206e5f1..aac84d7bd46e 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -583,7 +583,6 @@ enum ieee80211_conf_flags { | |||
583 | /** | 583 | /** |
584 | * enum ieee80211_conf_changed - denotes which configuration changed | 584 | * enum ieee80211_conf_changed - denotes which configuration changed |
585 | * | 585 | * |
586 | * @_IEEE80211_CONF_CHANGE_RADIO_ENABLED: DEPRECATED | ||
587 | * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed | 586 | * @IEEE80211_CONF_CHANGE_LISTEN_INTERVAL: the listen interval changed |
588 | * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed | 587 | * @IEEE80211_CONF_CHANGE_RADIOTAP: the radiotap flag changed |
589 | * @IEEE80211_CONF_CHANGE_PS: the PS flag or dynamic PS timeout changed | 588 | * @IEEE80211_CONF_CHANGE_PS: the PS flag or dynamic PS timeout changed |
@@ -593,7 +592,6 @@ enum ieee80211_conf_flags { | |||
593 | * @IEEE80211_CONF_CHANGE_IDLE: Idle flag changed | 592 | * @IEEE80211_CONF_CHANGE_IDLE: Idle flag changed |
594 | */ | 593 | */ |
595 | enum ieee80211_conf_changed { | 594 | enum ieee80211_conf_changed { |
596 | _IEEE80211_CONF_CHANGE_RADIO_ENABLED = BIT(0), | ||
597 | IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2), | 595 | IEEE80211_CONF_CHANGE_LISTEN_INTERVAL = BIT(2), |
598 | IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3), | 596 | IEEE80211_CONF_CHANGE_RADIOTAP = BIT(3), |
599 | IEEE80211_CONF_CHANGE_PS = BIT(4), | 597 | IEEE80211_CONF_CHANGE_PS = BIT(4), |
@@ -603,14 +601,6 @@ enum ieee80211_conf_changed { | |||
603 | IEEE80211_CONF_CHANGE_IDLE = BIT(8), | 601 | IEEE80211_CONF_CHANGE_IDLE = BIT(8), |
604 | }; | 602 | }; |
605 | 603 | ||
606 | static inline __deprecated enum ieee80211_conf_changed | ||
607 | __IEEE80211_CONF_CHANGE_RADIO_ENABLED(void) | ||
608 | { | ||
609 | return _IEEE80211_CONF_CHANGE_RADIO_ENABLED; | ||
610 | } | ||
611 | #define IEEE80211_CONF_CHANGE_RADIO_ENABLED \ | ||
612 | __IEEE80211_CONF_CHANGE_RADIO_ENABLED() | ||
613 | |||
614 | /** | 604 | /** |
615 | * struct ieee80211_conf - configuration of the device | 605 | * struct ieee80211_conf - configuration of the device |
616 | * | 606 | * |
@@ -618,9 +608,6 @@ __IEEE80211_CONF_CHANGE_RADIO_ENABLED(void) | |||
618 | * | 608 | * |
619 | * @flags: configuration flags defined above | 609 | * @flags: configuration flags defined above |
620 | * | 610 | * |
621 | * @radio_enabled: when zero, driver is required to switch off the radio. | ||
622 | * @beacon_int: DEPRECATED, DO NOT USE | ||
623 | * | ||
624 | * @listen_interval: listen interval in units of beacon interval | 611 | * @listen_interval: listen interval in units of beacon interval |
625 | * @max_sleep_period: the maximum number of beacon intervals to sleep for | 612 | * @max_sleep_period: the maximum number of beacon intervals to sleep for |
626 | * before checking the beacon for a TIM bit (managed mode only); this | 613 | * before checking the beacon for a TIM bit (managed mode only); this |
@@ -644,13 +631,11 @@ __IEEE80211_CONF_CHANGE_RADIO_ENABLED(void) | |||
644 | * number of transmissions not the number of retries | 631 | * number of transmissions not the number of retries |
645 | */ | 632 | */ |
646 | struct ieee80211_conf { | 633 | struct ieee80211_conf { |
647 | int __deprecated beacon_int; | ||
648 | u32 flags; | 634 | u32 flags; |
649 | int power_level, dynamic_ps_timeout; | 635 | int power_level, dynamic_ps_timeout; |
650 | int max_sleep_period; | 636 | int max_sleep_period; |
651 | 637 | ||
652 | u16 listen_interval; | 638 | u16 listen_interval; |
653 | bool __deprecated radio_enabled; | ||
654 | 639 | ||
655 | u8 long_frame_max_tx_count, short_frame_max_tx_count; | 640 | u8 long_frame_max_tx_count, short_frame_max_tx_count; |
656 | 641 | ||