All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nl80211: Add interface to indicate TDLS peer's HE capability
@ 2021-03-02 14:50 Vamsi Krishna
  2021-04-08 11:07 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Vamsi Krishna @ 2021-03-02 14:50 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

Enhance enum nl80211_tdls_peer_capability to configure TDLS peer's
support for HE mode. Userspace decodes the TDLS setup response frame
and confugures the HE mode support to driver if the peer has advertized
HE mode support in TDLS setup response frame. The driver uses this
information to decide whether to include HE operation IE in TDLS setup
confirmation frame.

Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index ac78da9..adc890e 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -6295,11 +6295,13 @@ struct nl80211_vendor_cmd_info {
  * @NL80211_TDLS_PEER_HT: TDLS peer is HT capable.
  * @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable.
  * @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable.
+ * @NL80211_TDLS_PEER_HE: TDLS peer is HE capable.
  */
 enum nl80211_tdls_peer_capability {
 	NL80211_TDLS_PEER_HT = 1<<0,
 	NL80211_TDLS_PEER_VHT = 1<<1,
 	NL80211_TDLS_PEER_WMM = 1<<2,
+	NL80211_TDLS_PEER_HE = 1<<3,
 };
 
 /**
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nl80211: Add interface to indicate TDLS peer's HE capability
  2021-03-02 14:50 [PATCH] nl80211: Add interface to indicate TDLS peer's HE capability Vamsi Krishna
@ 2021-04-08 11:07 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2021-04-08 11:07 UTC (permalink / raw)
  To: Vamsi Krishna; +Cc: linux-wireless

On Tue, 2021-03-02 at 20:20 +0530, Vamsi Krishna wrote:
> Enhance enum nl80211_tdls_peer_capability to configure TDLS peer's
> support for HE mode. Userspace decodes the TDLS setup response frame
> and confugures the HE mode support to driver if the peer has advertized
> HE mode support in TDLS setup response frame. The driver uses this
> information to decide whether to include HE operation IE in TDLS setup
> confirmation frame.

I guess I'll apply this, but please follow up with a patch for mac80211
to actually set/use it.

johannes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-08 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 14:50 [PATCH] nl80211: Add interface to indicate TDLS peer's HE capability Vamsi Krishna
2021-04-08 11:07 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.