* [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH
@ 2014-01-10 16:25 Luciano Coelho
2014-01-10 18:27 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Luciano Coelho @ 2014-01-10 16:25 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless
From: Luciano Coelho <luciano.coelho@intel.com>
Add the NL80211_CMD_CHANNEL_SWITCH definition to the nl80211 commands
array so that it prints out something useful in the phy info.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
---
util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util.c b/util.c
index 4542749..3233743 100644
--- a/util.c
+++ b/util.c
@@ -248,6 +248,7 @@ static const char *commands[NL80211_CMD_MAX + 1] = {
[NL80211_CMD_FT_EVENT] = "ft_event",
[NL80211_CMD_CRIT_PROTOCOL_START] = "crit_protocol_start",
[NL80211_CMD_CRIT_PROTOCOL_STOP] = "crit_protocol_stop",
+ [NL80211_CMD_CHANNEL_SWITCH] = "channel_switch",
};
static char cmdbuf[100];
--
1.8.5.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH
2014-01-10 16:25 [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH Luciano Coelho
@ 2014-01-10 18:27 ` Johannes Berg
2014-01-10 19:33 ` Luca Coelho
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2014-01-10 18:27 UTC (permalink / raw)
To: Luciano Coelho; +Cc: linux-wireless
On Fri, 2014-01-10 at 18:25 +0200, Luciano Coelho wrote:
> From: Luciano Coelho <luciano.coelho@intel.com>
>
> Add the NL80211_CMD_CHANNEL_SWITCH definition to the nl80211 commands
> array so that it prints out something useful in the phy info.
I'll refresh the list in util.c instead (though not immediately, need to
sort out what I can already commit and what I can't ...)
johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH
2014-01-10 18:27 ` Johannes Berg
@ 2014-01-10 19:33 ` Luca Coelho
0 siblings, 0 replies; 3+ messages in thread
From: Luca Coelho @ 2014-01-10 19:33 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
Johannes Berg <johannes@sipsolutions.net> wrote:
>On Fri, 2014-01-10 at 18:25 +0200, Luciano Coelho wrote:
>> From: Luciano Coelho <luciano.coelho@intel.com>
>>
>> Add the NL80211_CMD_CHANNEL_SWITCH definition to the nl80211 commands
>> array so that it prints out something useful in the phy info.
>
>I'll refresh the list in util.c instead (though not immediately, need
>to
>sort out what I can already commit and what I can't ...)
Yeah, I almost added NL80211_CMD_VENDOR and stuff too, but the nl80211.h file was not updated and I didn't know your process for updating it.
I'll wait for your update. ;)
--
Luca.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-10 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 16:25 [PATCH IW] util: parse NL80211_CMD_CHANNEL_SWITCH Luciano Coelho
2014-01-10 18:27 ` Johannes Berg
2014-01-10 19:33 ` Luca Coelho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox