linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nl80211: don't document per-wiphy interface dump
@ 2015-01-29 15:53 Johannes Berg
  2015-01-29 16:02 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2015-01-29 15:53 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

Such a feature doesn't exist and isn't really needed since you
probably won't have enough interfaces to make it worthwhile, so
just remove that from the documentation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 include/uapi/linux/nl80211.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 1cbc3aae425c..68b294e83944 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -180,8 +180,8 @@
  *	%NL80211_ATTR_WIPHY and %NL80211_ATTR_WIPHY_NAME.
  *
  * @NL80211_CMD_GET_INTERFACE: Request an interface's configuration;
- *	either a dump request on a %NL80211_ATTR_WIPHY or a specific get
- *	on an %NL80211_ATTR_IFINDEX is supported.
+ *	either a dump request for all interfaces or a specific get with a
+ *	single %NL80211_ATTR_IFINDEX is supported.
  * @NL80211_CMD_SET_INTERFACE: Set type of a virtual interface, requires
  *	%NL80211_ATTR_IFINDEX and %NL80211_ATTR_IFTYPE.
  * @NL80211_CMD_NEW_INTERFACE: Newly created virtual interface or response
-- 
2.1.4


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

* Re: [PATCH] nl80211: don't document per-wiphy interface dump
  2015-01-29 15:53 [PATCH] nl80211: don't document per-wiphy interface dump Johannes Berg
@ 2015-01-29 16:02 ` Marcel Holtmann
  2015-01-29 16:05   ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2015-01-29 16:02 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, Johannes Berg

Hi Johannes,

> Such a feature doesn't exist and isn't really needed since you
> probably won't have enough interfaces to make it worthwhile, so
> just remove that from the documentation.
> 
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---
> include/uapi/linux/nl80211.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
> index 1cbc3aae425c..68b294e83944 100644
> --- a/include/uapi/linux/nl80211.h
> +++ b/include/uapi/linux/nl80211.h
> @@ -180,8 +180,8 @@
>  *	%NL80211_ATTR_WIPHY and %NL80211_ATTR_WIPHY_NAME.
>  *
>  * @NL80211_CMD_GET_INTERFACE: Request an interface's configuration;
> - *	either a dump request on a %NL80211_ATTR_WIPHY or a specific get
> - *	on an %NL80211_ATTR_IFINDEX is supported.
> + *	either a dump request for all interfaces or a specific get with a
> + *	single %NL80211_ATTR_IFINDEX is supported.
>  * @NL80211_CMD_SET_INTERFACE: Set type of a virtual interface, requires
>  *	%NL80211_ATTR_IFINDEX and %NL80211_ATTR_IFTYPE.
>  * @NL80211_CMD_NEW_INTERFACE: Newly created virtual interface or response

we had a TODO item internally that planned to implement this actually.

Regards

Marcel


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

* Re: [PATCH] nl80211: don't document per-wiphy interface dump
  2015-01-29 16:02 ` Marcel Holtmann
@ 2015-01-29 16:05   ` Johannes Berg
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2015-01-29 16:05 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-wireless

On Thu, 2015-01-29 at 08:02 -0800, Marcel Holtmann wrote:

> > Such a feature doesn't exist and isn't really needed since you
> > probably won't have enough interfaces to make it worthwhile, so
> > just remove that from the documentation.

> we had a TODO item internally that planned to implement this actually.

I'm not sure what it buys you since you still have to deal with old
kernels and do the filtering, and there aren't that many messages
(typically you only have one NIC anyway), but hey, if you have enough
time to waste on it I guess I don't mind ... Although we should start
watching nl80211.c code size a bit more I guess :)

Can always include a revert of this in the change that actually adds it.

johannes



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

end of thread, other threads:[~2015-01-29 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 15:53 [PATCH] nl80211: don't document per-wiphy interface dump Johannes Berg
2015-01-29 16:02 ` Marcel Holtmann
2015-01-29 16:05   ` Johannes Berg

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).