aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorLukáš Turek <8an@praha12.net>2009-12-21 16:50:48 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 13:50:07 -0500
commit310bc676e314e92c18257bfc916951879451ee32 (patch)
tree12050b5b473b8c9a1bf67450e03d45ade2a4b219 /include/net/mac80211.h
parent81077e82c3f591578625805dd6464a27a9ff56ec (diff)
mac80211: Add new callback set_coverage_class
Mac80211 callback to driver set_coverage_class() sets slot time and ACK timeout for given IEEE 802.11 coverage class. The callback is optional, but it's essential for long distance links. Signed-off-by: Lukas Turek <8an@praha12.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index f073a2a50574..ad4b70034e77 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1533,6 +1533,10 @@ enum ieee80211_ampdu_mlme_action {
1533 * and need to call wiphy_rfkill_set_hw_state() in the callback. 1533 * and need to call wiphy_rfkill_set_hw_state() in the callback.
1534 * The callback can sleep. 1534 * The callback can sleep.
1535 * 1535 *
1536 * @set_coverage_class: Set slot time for given coverage class as specified
1537 * in IEEE 802.11-2007 section 17.3.8.6 and modify ACK timeout
1538 * accordingly. This callback is not required and may sleep.
1539 *
1536 * @testmode_cmd: Implement a cfg80211 test mode command. 1540 * @testmode_cmd: Implement a cfg80211 test mode command.
1537 * The callback can sleep. 1541 * The callback can sleep.
1538 * 1542 *
@@ -1592,6 +1596,7 @@ struct ieee80211_ops {
1592 struct ieee80211_sta *sta, u16 tid, u16 *ssn); 1596 struct ieee80211_sta *sta, u16 tid, u16 *ssn);
1593 1597
1594 void (*rfkill_poll)(struct ieee80211_hw *hw); 1598 void (*rfkill_poll)(struct ieee80211_hw *hw);
1599 void (*set_coverage_class)(struct ieee80211_hw *hw, u8 coverage_class);
1595#ifdef CONFIG_NL80211_TESTMODE 1600#ifdef CONFIG_NL80211_TESTMODE
1596 int (*testmode_cmd)(struct ieee80211_hw *hw, void *data, int len); 1601 int (*testmode_cmd)(struct ieee80211_hw *hw, void *data, int len);
1597#endif 1602#endif