diff options
author | Daniel Drake <dsd@gentoo.org> | 2007-07-27 09:43:24 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:47:39 -0400 |
commit | d9430a32886f70c0c16d67c525f6cda2df7906ee (patch) | |
tree | 9d531b23206e62033a6bb9d03ac572ce6ab4c7f1 /include | |
parent | 7e9ed18874f0df84b6651f0636e1cfdac43bc610 (diff) |
[MAC80211]: implement ERP info change notifications
zd1211rw and bcm43xx are interested in being notified when ERP IE conditions
change, so that they can reprogram a register which affects how control frames
are transmitted.
This patch adds an interface similar to the one that can be found in softmac.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/mac80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 3282038a1510..e503cd37f82e 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -697,6 +697,14 @@ struct ieee80211_ops { | |||
697 | void (*sta_table_notification)(struct ieee80211_hw *hw, | 697 | void (*sta_table_notification)(struct ieee80211_hw *hw, |
698 | int num_sta); | 698 | int num_sta); |
699 | 699 | ||
700 | /* Handle ERP IE change notifications. Must be atomic. */ | ||
701 | void (*erp_ie_changed)(struct ieee80211_hw *hw, u8 changes, | ||
702 | int cts_protection, int preamble); | ||
703 | |||
704 | /* Flags for the erp_ie_changed changes parameter */ | ||
705 | #define IEEE80211_ERP_CHANGE_PROTECTION (1<<0) /* protection flag changed */ | ||
706 | #define IEEE80211_ERP_CHANGE_PREAMBLE (1<<1) /* barker preamble mode changed */ | ||
707 | |||
700 | /* Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), | 708 | /* Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), |
701 | * bursting) for a hardware TX queue. | 709 | * bursting) for a hardware TX queue. |
702 | * queue = IEEE80211_TX_QUEUE_*. | 710 | * queue = IEEE80211_TX_QUEUE_*. |