* [PATCH] nl80211: better document NL80211_CMD_TDLS_MGMT
@ 2013-10-30 17:09 Arik Nemtsov
2013-10-30 18:43 ` Bob Copeland
0 siblings, 1 reply; 3+ messages in thread
From: Arik Nemtsov @ 2013-10-30 17:09 UTC (permalink / raw)
To: linux-wireless; +Cc: Johannes Berg, Arik Nemtsov
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>
---
include/uapi/linux/nl80211.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index f752e98..877c048 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -581,7 +581,14 @@
* operation, %NL80211_ATTR_MAC contains the peer MAC address, and
* %NL80211_ATTR_REASON_CODE the reason code to be used (only with
* %NL80211_TDLS_TEARDOWN).
- * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame.
+ * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The
+ * %NL80211_ATTR_TDLS_ACTION attribute determines the typ of frame to be
+ * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
+ * 802.11 management frames, while TDLS action codes (802.11-2012
+ * 8.5.13.1) will be encapsulated and sent as data frames. The currently
+ * supported Public Action code is %WLAN_PUB_ACTION_TDLS_DISCOVER_RES
+ * and the currently supported TDLS actions codes are given in
+ * &enum ieee80211_tdls_actioncode.
*
* @NL80211_CMD_UNEXPECTED_FRAME: Used by an application controlling an AP
* (or GO) interface (i.e. hostapd) to ask for unexpected frames to
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] nl80211: better document NL80211_CMD_TDLS_MGMT
2013-10-30 17:09 [PATCH] nl80211: better document NL80211_CMD_TDLS_MGMT Arik Nemtsov
@ 2013-10-30 18:43 ` Bob Copeland
2013-10-31 12:53 ` Arik Nemtsov
0 siblings, 1 reply; 3+ messages in thread
From: Bob Copeland @ 2013-10-30 18:43 UTC (permalink / raw)
To: Arik Nemtsov; +Cc: linux-wireless, Johannes Berg
On Wed, Oct 30, 2013 at 07:09:34PM +0200, Arik Nemtsov wrote:
> + * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The
> + * %NL80211_ATTR_TDLS_ACTION attribute determines the typ of frame to be
type typo there.
> + * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
> + * 802.11 management frames, while TDLS action codes (802.11-2012
--
Bob Copeland %% www.bobcopeland.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nl80211: better document NL80211_CMD_TDLS_MGMT
2013-10-30 18:43 ` Bob Copeland
@ 2013-10-31 12:53 ` Arik Nemtsov
0 siblings, 0 replies; 3+ messages in thread
From: Arik Nemtsov @ 2013-10-31 12:53 UTC (permalink / raw)
To: Bob Copeland; +Cc: linux-wireless@vger.kernel.org, Johannes Berg
On Wed, Oct 30, 2013 at 8:43 PM, Bob Copeland <me@bobcopeland.com> wrote:
>
> On Wed, Oct 30, 2013 at 07:09:34PM +0200, Arik Nemtsov wrote:
> > + * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The
> > + * %NL80211_ATTR_TDLS_ACTION attribute determines the typ of frame to be
>
> type typo there.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-31 12:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 17:09 [PATCH] nl80211: better document NL80211_CMD_TDLS_MGMT Arik Nemtsov
2013-10-30 18:43 ` Bob Copeland
2013-10-31 12:53 ` Arik Nemtsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).