netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SIOCSIWFREQ while in NL80211_IFTYPE_STATION
@ 2017-01-05 11:02 Jorge Ramirez
       [not found] ` <685811c3-6247-77fd-8c70-617951886451-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Jorge Ramirez @ 2017-01-05 11:02 UTC (permalink / raw)
  To: netdev, Daniel Lezcano

Hello all,

I am running a single wlan0 interface in managed mode (no aliases, no 
other wireless interfaces).
The association with the AP still hasn't happened.

I noticed that if trying to change the frequency to one of the valid 
values, the driver returns EBUSY.

The call stack is
cfg80211_wext_siwfreq
-->cfg80211_mgd_wext_siwfreq
--->cfg80211_set_monitor_channel (notice call to set 'monitor' channel 
in managed mode)
----> fails with EBUSY

Is therefore the expected behavior to fail under the above circumstances 
(managed mode && single wlan0 interface && no association)?
And if it is, please could you clarify when would it be valid to change 
the frequency in managed mode?

many thanks in advance for the help,
Jorge

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

end of thread, other threads:[~2017-01-09 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05 11:02 SIOCSIWFREQ while in NL80211_IFTYPE_STATION Jorge Ramirez
     [not found] ` <685811c3-6247-77fd-8c70-617951886451-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-01-05 11:38   ` Johannes Berg
2017-01-05 13:27     ` Jorge Ramirez
2017-01-05 14:06       ` Johannes Berg
2017-01-05 14:38         ` Jorge Ramirez
     [not found]           ` <f8e8b557-3e7b-cc1a-c31a-91f9d754e683-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-01-09 11: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).