Linux wireless drivers development
 help / color / mirror / Atom feed
* SIOCSIFFLAGS: operation not supported error message when tryinging to bring up an interface in adhoc mode
@ 2012-07-05 14:25 Philippe Agostini
  2012-07-05 14:27 ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Philippe Agostini @ 2012-07-05 14:25 UTC (permalink / raw)
  To: linux-wireless

Hello,

I am currently developing a wifi driver and I am having trouble with
the adhoc mode. I am developing on Ubuntu 10.04 with kernel 2.6.32. To
verify that my initialization is correct, I try to bring up and
configure virtual interfaces. It's working in managed mode, but when I
try an "ifconfig wlan0 up" in adhoc mode I get the following error
message: "SIOCSIFFLAGS: operation not supported". At first I thought
that it was because of the regulatory domain, but I defined only one
supported channel (channel 6, F=2437 MHz) and it seems to me that iw
reg get tells me that on this frequency I am allowed to set up
wireless device in adhoc mode (country 00: (2402 - 2472 @ 40), (3, 20)
and no flags following).

Are there mandatory flags to set up (besides wiphy->interface_modes =
BIT(NL80211_IFTYPE_ADHOC)) that I missed, or callbacks to define in
order to have a working adhoc interface ?

Best regards

Philippe

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

end of thread, other threads:[~2012-07-06  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 14:25 SIOCSIFFLAGS: operation not supported error message when tryinging to bring up an interface in adhoc mode Philippe Agostini
2012-07-05 14:27 ` Johannes Berg
2012-07-05 14:44   ` Philippe Agostini
2012-07-06  6:44     ` Johannes Berg
2012-07-06  7:44       ` Philippe Agostini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox