* Master mode in iw @ 2008-11-13 10:46 Mark Ryden 2008-11-13 10:57 ` Kalle Valo 0 siblings, 1 reply; 13+ messages in thread From: Mark Ryden @ 2008-11-13 10:46 UTC (permalink / raw) To: linux-wireless; +Cc: johannes Hello, I have a question about the iw: is it possible to set with it an interface to be in master mode ? (as in the case of Access Point) I had git cloned the sources according to the URL from http://linuxwireless.org/en/users/Documentation/iw; and as far as I understand from the code, it is not implemented yet. It will only display when an interface is in master mode (but you cannot set to master mode). I want to verify this point and ask if there is an inhernet reason for not implementing this (setting other modes, like mesh and monitor, is implemented). Or is it simply on the to-do list ? Regards, Mark ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 10:46 Master mode in iw Mark Ryden @ 2008-11-13 10:57 ` Kalle Valo 2008-11-13 11:49 ` Mark Ryden 0 siblings, 1 reply; 13+ messages in thread From: Kalle Valo @ 2008-11-13 10:57 UTC (permalink / raw) To: Mark Ryden; +Cc: linux-wireless, johannes Mark Ryden <markryde@gmail.com> writes: > Hello, Hello, > I have a question about the iw: is it possible to > set with it an interface to be in master mode ? (as in the case of > Access Point) > > I had git cloned the sources according to the URL from > http://linuxwireless.org/en/users/Documentation/iw; and as far > as I understand from the code, it is not implemented yet. It will only > display when an interface is in master mode (but you cannot set to master mode). > > I want to verify this point and ask if there is an inhernet reason for > not implementing this (setting other modes, > like mesh and monitor, is implemented). Or is it simply on the to-do list ? You have to use hostapd. See earlier mails in this list for more information. -- Kalle Valo ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 10:57 ` Kalle Valo @ 2008-11-13 11:49 ` Mark Ryden 2008-11-13 11:53 ` Johannes Berg 2008-11-13 11:56 ` Kalle Valo 0 siblings, 2 replies; 13+ messages in thread From: Mark Ryden @ 2008-11-13 11:49 UTC (permalink / raw) To: Kalle Valo; +Cc: linux-wireless, johannes Hello, Thanks for you quick response. I know that I can set master mode with hostapd. My question is - is there something inherent which prevents implementing it with "iw"? When comparing to the old set of tools, which includes iwconifg, "iwconfig wlan0 mode Master" works on some interfaces. Regards, Mark On Thu, Nov 13, 2008 at 12:57 PM, Kalle Valo <kalle.valo@nokia.com> wrote: > Mark Ryden <markryde@gmail.com> writes: > >> Hello, > > Hello, > >> I have a question about the iw: is it possible to >> set with it an interface to be in master mode ? (as in the case of >> Access Point) >> >> I had git cloned the sources according to the URL from >> http://linuxwireless.org/en/users/Documentation/iw; and as far >> as I understand from the code, it is not implemented yet. It will only >> display when an interface is in master mode (but you cannot set to master mode). >> >> I want to verify this point and ask if there is an inhernet reason for >> not implementing this (setting other modes, >> like mesh and monitor, is implemented). Or is it simply on the to-do list ? > > You have to use hostapd. See earlier mails in this list for more > information. > > -- > Kalle Valo > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 11:49 ` Mark Ryden @ 2008-11-13 11:53 ` Johannes Berg 2008-11-13 11:56 ` Kalle Valo 1 sibling, 0 replies; 13+ messages in thread From: Johannes Berg @ 2008-11-13 11:53 UTC (permalink / raw) To: Mark Ryden; +Cc: Kalle Valo, linux-wireless [-- Attachment #1: Type: text/plain, Size: 453 bytes --] On Thu, 2008-11-13 at 13:49 +0200, Mark Ryden wrote: > Hello, > Thanks for you quick response. > I know that I can set master mode with hostapd. > > My question is - is there something inherent which > prevents implementing it with "iw"? > When comparing to the old set of tools, which includes > iwconifg, > "iwconfig wlan0 mode Master" works on some interfaces. Yes, the interface will do _nothing_ if you don't use hostapd. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 11:49 ` Mark Ryden 2008-11-13 11:53 ` Johannes Berg @ 2008-11-13 11:56 ` Kalle Valo 2008-11-13 12:06 ` Johannes Berg 1 sibling, 1 reply; 13+ messages in thread From: Kalle Valo @ 2008-11-13 11:56 UTC (permalink / raw) To: Mark Ryden; +Cc: linux-wireless, johannes Mark Ryden <markryde@gmail.com> writes: > Thanks for you quick response. I know that I can set master mode > with hostapd. > > My question is - is there something inherent which prevents > implementing it with "iw"? When comparing to the old set of tools, > which includes iwconifg, "iwconfig wlan0 mode Master" works on some > interfaces. Just guessing, but most probably because there are no drivers which use nl80211 and support AP mode without hostapd, so nobody hasn't bothered to implement it, yet. -- Kalle Valo ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 11:56 ` Kalle Valo @ 2008-11-13 12:06 ` Johannes Berg 2008-11-14 8:56 ` Kalle Valo 0 siblings, 1 reply; 13+ messages in thread From: Johannes Berg @ 2008-11-13 12:06 UTC (permalink / raw) To: Kalle Valo; +Cc: Mark Ryden, linux-wireless [-- Attachment #1: Type: text/plain, Size: 718 bytes --] On Thu, 2008-11-13 at 13:56 +0200, Kalle Valo wrote: > Mark Ryden <markryde@gmail.com> writes: > > > Thanks for you quick response. I know that I can set master mode > > with hostapd. > > > > My question is - is there something inherent which prevents > > implementing it with "iw"? When comparing to the old set of tools, > > which includes iwconifg, "iwconfig wlan0 mode Master" works on some > > interfaces. > > Just guessing, but most probably because there are no drivers which > use nl80211 and support AP mode without hostapd, so nobody hasn't > bothered to implement it, yet. And there never will be since we don't want the whole AP MLME in the kernel regardless of the driver. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-13 12:06 ` Johannes Berg @ 2008-11-14 8:56 ` Kalle Valo 2008-11-14 13:39 ` Stefanik Gábor 0 siblings, 1 reply; 13+ messages in thread From: Kalle Valo @ 2008-11-14 8:56 UTC (permalink / raw) To: Johannes Berg; +Cc: Mark Ryden, linux-wireless Johannes Berg <johannes@sipsolutions.net> writes: >> > My question is - is there something inherent which prevents >> > implementing it with "iw"? When comparing to the old set of tools, >> > which includes iwconifg, "iwconfig wlan0 mode Master" works on some >> > interfaces. >> >> Just guessing, but most probably because there are no drivers which >> use nl80211 and support AP mode without hostapd, so nobody hasn't >> bothered to implement it, yet. > > And there never will be since we don't want the whole AP MLME in the > kernel regardless of the driver. Actually I was thinking about fullmac hardware which support AP mode. In theory we might need to support those, but I guess in practise there hasn't been, nor ever will be, such hardware. I'll just shut up now :) -- Kalle Valo ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 8:56 ` Kalle Valo @ 2008-11-14 13:39 ` Stefanik Gábor 2008-11-14 13:44 ` Michael Buesch 2008-11-14 14:19 ` John W. Linville 0 siblings, 2 replies; 13+ messages in thread From: Stefanik Gábor @ 2008-11-14 13:39 UTC (permalink / raw) To: Kalle Valo; +Cc: Johannes Berg, Mark Ryden, linux-wireless On Fri, Nov 14, 2008 at 9:56 AM, Kalle Valo <kalle.valo@nokia.com> wrote: > Johannes Berg <johannes@sipsolutions.net> writes: > >>> > My question is - is there something inherent which prevents >>> > implementing it with "iw"? When comparing to the old set of tools, >>> > which includes iwconifg, "iwconfig wlan0 mode Master" works on some >>> > interfaces. >>> >>> Just guessing, but most probably because there are no drivers which >>> use nl80211 and support AP mode without hostapd, so nobody hasn't >>> bothered to implement it, yet. >> >> And there never will be since we don't want the whole AP MLME in the >> kernel regardless of the driver. > > Actually I was thinking about fullmac hardware which support AP mode. > In theory we might need to support those, but I guess in practise > there hasn't been, nor ever will be, such hardware. I'll just shut up > now :) > > -- > Kalle Valo > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > I doubt that any fullmac hardware should have a mac80211-based driver... -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 13:39 ` Stefanik Gábor @ 2008-11-14 13:44 ` Michael Buesch 2008-11-14 14:19 ` John W. Linville 1 sibling, 0 replies; 13+ messages in thread From: Michael Buesch @ 2008-11-14 13:44 UTC (permalink / raw) To: Stefanik Gábor; +Cc: Kalle Valo, Johannes Berg, Mark Ryden, linux-wireless On Friday 14 November 2008 14:39:50 Stefanik G=E1bor wrote: > I doubt that any fullmac hardware should have a mac80211-based driver= =2E.. nl80211 is not limited to mac80211. --=20 Greetings Michael. -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 13:39 ` Stefanik Gábor 2008-11-14 13:44 ` Michael Buesch @ 2008-11-14 14:19 ` John W. Linville 2008-11-14 14:35 ` Stefanik Gábor 1 sibling, 1 reply; 13+ messages in thread From: John W. Linville @ 2008-11-14 14:19 UTC (permalink / raw) To: Stefanik Gábor; +Cc: Kalle Valo, Johannes Berg, Mark Ryden, linux-wireless On Fri, Nov 14, 2008 at 02:39:50PM +0100, Stefanik G=E1bor wrote: > On Fri, Nov 14, 2008 at 9:56 AM, Kalle Valo <kalle.valo@nokia.com> wr= ote: > > Actually I was thinking about fullmac hardware which support AP mod= e. > > In theory we might need to support those, but I guess in practise > > there hasn't been, nor ever will be, such hardware. I'll just shut = up > > now :) > I doubt that any fullmac hardware should have a mac80211-based driver= =2E.. cfg80211 !=3D mac80211 --=20 John W. Linville Linux should be at the core linville@tuxdriver.com of your literate lifestyle. -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 14:19 ` John W. Linville @ 2008-11-14 14:35 ` Stefanik Gábor 2008-11-14 14:41 ` Michael Buesch 2008-11-14 21:56 ` Johannes Berg 0 siblings, 2 replies; 13+ messages in thread From: Stefanik Gábor @ 2008-11-14 14:35 UTC (permalink / raw) To: John W. Linville; +Cc: Kalle Valo, Johannes Berg, Mark Ryden, linux-wireless On Fri, Nov 14, 2008 at 3:19 PM, John W. Linville <linville@tuxdriver.com> wrote: > On Fri, Nov 14, 2008 at 02:39:50PM +0100, Stefanik G=E1bor wrote: >> On Fri, Nov 14, 2008 at 9:56 AM, Kalle Valo <kalle.valo@nokia.com> w= rote: > >> > Actually I was thinking about fullmac hardware which support AP mo= de. >> > In theory we might need to support those, but I guess in practise >> > there hasn't been, nor ever will be, such hardware. I'll just shut= up >> > now :) > >> I doubt that any fullmac hardware should have a mac80211-based drive= r... > > cfg80211 !=3D mac80211 > > -- > John W. Linville Linux should be at the core > linville@tuxdriver.com of your literate lifestyle. > But is cfg80211 supposed to be used for completely-fullmac cards that do AP in hardware? --=20 Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 14:35 ` Stefanik Gábor @ 2008-11-14 14:41 ` Michael Buesch 2008-11-14 21:56 ` Johannes Berg 1 sibling, 0 replies; 13+ messages in thread From: Michael Buesch @ 2008-11-14 14:41 UTC (permalink / raw) To: Stefanik Gábor Cc: John W. Linville, Kalle Valo, Johannes Berg, Mark Ryden, linux-wireless On Friday 14 November 2008 15:35:48 Stefanik G=E1bor wrote: > But is cfg80211 supposed to be used for completely-fullmac cards that > do AP in hardware? it's supposed to be a replacement for wext. --=20 Greetings Michael. -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Master mode in iw 2008-11-14 14:35 ` Stefanik Gábor 2008-11-14 14:41 ` Michael Buesch @ 2008-11-14 21:56 ` Johannes Berg 1 sibling, 0 replies; 13+ messages in thread From: Johannes Berg @ 2008-11-14 21:56 UTC (permalink / raw) To: Stefanik Gábor Cc: John W. Linville, Kalle Valo, Mark Ryden, linux-wireless [-- Attachment #1: Type: text/plain, Size: 443 bytes --] On Fri, 2008-11-14 at 15:35 +0100, Stefanik Gábor wrote: > But is cfg80211 supposed to be used for completely-fullmac cards that > do AP in hardware? I very much hope that such cards will never exist, or at least will have a mode where everything is done by the host software in which case the driver will be using that mode. Everything else is plain stupid anyway, with all the new amendments coming out all the time. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-11-14 21:56 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-11-13 10:46 Master mode in iw Mark Ryden 2008-11-13 10:57 ` Kalle Valo 2008-11-13 11:49 ` Mark Ryden 2008-11-13 11:53 ` Johannes Berg 2008-11-13 11:56 ` Kalle Valo 2008-11-13 12:06 ` Johannes Berg 2008-11-14 8:56 ` Kalle Valo 2008-11-14 13:39 ` Stefanik Gábor 2008-11-14 13:44 ` Michael Buesch 2008-11-14 14:19 ` John W. Linville 2008-11-14 14:35 ` Stefanik Gábor 2008-11-14 14:41 ` Michael Buesch 2008-11-14 21:56 ` Johannes Berg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox