diff options
author | Arik Nemtsov <arik@wizery.com> | 2013-10-31 08:54:35 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 14:49:33 -0500 |
commit | c17bff87bed4bda1835ee41dc908e926414d8d85 (patch) | |
tree | 3c8522785fca750af3a830bd546d089f5b0ecca1 | |
parent | 6b732323c1e1ced5c76350bfef2cc8c233f9dcb9 (diff) |
nl80211: better document NL80211_CMD_TDLS_MGMT
This command has different semantics depending on the action code sent.
Document this fact and detail the supported action codes.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | include/uapi/linux/nl80211.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index f752e9821e71..3d8325bb50cd 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
@@ -581,7 +581,14 @@ | |||
581 | * operation, %NL80211_ATTR_MAC contains the peer MAC address, and | 581 | * operation, %NL80211_ATTR_MAC contains the peer MAC address, and |
582 | * %NL80211_ATTR_REASON_CODE the reason code to be used (only with | 582 | * %NL80211_ATTR_REASON_CODE the reason code to be used (only with |
583 | * %NL80211_TDLS_TEARDOWN). | 583 | * %NL80211_TDLS_TEARDOWN). |
584 | * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. | 584 | * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The |
585 | * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be | ||
586 | * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as | ||
587 | * 802.11 management frames, while TDLS action codes (802.11-2012 | ||
588 | * 8.5.13.1) will be encapsulated and sent as data frames. The currently | ||
589 | * supported Public Action code is %WLAN_PUB_ACTION_TDLS_DISCOVER_RES | ||
590 | * and the currently supported TDLS actions codes are given in | ||
591 | * &enum ieee80211_tdls_actioncode. | ||
585 | * | 592 | * |
586 | * @NL80211_CMD_UNEXPECTED_FRAME: Used by an application controlling an AP | 593 | * @NL80211_CMD_UNEXPECTED_FRAME: Used by an application controlling an AP |
587 | * (or GO) interface (i.e. hostapd) to ask for unexpected frames to | 594 | * (or GO) interface (i.e. hostapd) to ask for unexpected frames to |