diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 14 |
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 | */ |
539 | enum ieee80211_conf_changed { | 538 | enum 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 | ||
551 | static 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 | */ |
591 | struct ieee80211_conf { | 581 | struct 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; |