diff options
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index fe80771d95f1..ce7cb1b5d453 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1416,6 +1416,8 @@ enum ieee80211_ampdu_mlme_action { | |||
1416 | * @rfkill_poll: Poll rfkill hardware state. If you need this, you also | 1416 | * @rfkill_poll: Poll rfkill hardware state. If you need this, you also |
1417 | * need to set wiphy->rfkill_poll to %true before registration, | 1417 | * need to set wiphy->rfkill_poll to %true before registration, |
1418 | * and need to call wiphy_rfkill_set_hw_state() in the callback. | 1418 | * and need to call wiphy_rfkill_set_hw_state() in the callback. |
1419 | * | ||
1420 | * @testmode_cmd: Implement a cfg80211 test mode command. | ||
1419 | */ | 1421 | */ |
1420 | struct ieee80211_ops { | 1422 | struct ieee80211_ops { |
1421 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 1423 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |
@@ -1466,6 +1468,9 @@ struct ieee80211_ops { | |||
1466 | struct ieee80211_sta *sta, u16 tid, u16 *ssn); | 1468 | struct ieee80211_sta *sta, u16 tid, u16 *ssn); |
1467 | 1469 | ||
1468 | void (*rfkill_poll)(struct ieee80211_hw *hw); | 1470 | void (*rfkill_poll)(struct ieee80211_hw *hw); |
1471 | #ifdef CONFIG_NL80211_TESTMODE | ||
1472 | int (*testmode_cmd)(struct ieee80211_hw *hw, void *data, int len); | ||
1473 | #endif | ||
1469 | }; | 1474 | }; |
1470 | 1475 | ||
1471 | /** | 1476 | /** |