* Does mac80211 support ap mode @ 2008-04-14 19:18 cao jing 2008-04-14 19:44 ` Dan Williams 0 siblings, 1 reply; 7+ messages in thread From: cao jing @ 2008-04-14 19:18 UTC (permalink / raw) To: linux-wireless Hi, I read the mac80211 code. I found only the STA, IBSS and Mesh_Point interface type are processed by the code. So does it support the ap mode. Jing ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-14 19:18 Does mac80211 support ap mode cao jing @ 2008-04-14 19:44 ` Dan Williams 2008-04-15 11:02 ` Johannes Berg 2008-04-15 11:03 ` Johannes Berg 0 siblings, 2 replies; 7+ messages in thread From: Dan Williams @ 2008-04-14 19:44 UTC (permalink / raw) To: cao jing; +Cc: linux-wireless On Mon, 2008-04-14 at 15:18 -0400, cao jing wrote: > Hi, > > I read the mac80211 code. I found only the STA, IBSS and Mesh_Point > interface type are processed by the code. So does it support the ap > mode. Yes, it does. I'd suggest using hostapd as your AP daemon and the nl80211 hostap driver. While it's still under pretty heavy development, it all should be fairly usable. Johannes Berg would probably have a more up-to-date description of the status of the hostapd nl80211 driver and mac80211 AP-mode support. Dan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-14 19:44 ` Dan Williams @ 2008-04-15 11:02 ` Johannes Berg 2008-04-15 11:03 ` Johannes Berg 1 sibling, 0 replies; 7+ messages in thread From: Johannes Berg @ 2008-04-15 11:02 UTC (permalink / raw) To: Dan Williams; +Cc: cao jing, linux-wireless [-- Attachment #1: Type: text/plain, Size: 965 bytes --] > > I read the mac80211 code. I found only the STA, IBSS and Mesh_Point > > interface type are processed by the code. So does it support the ap > > mode. > > Yes, it does. I'd suggest using hostapd as your AP daemon and the > nl80211 hostap driver. While it's still under pretty heavy development, > it all should be fairly usable. Johannes Berg would probably have a > more up-to-date description of the status of the hostapd nl80211 driver > and mac80211 AP-mode support. Yes, AP mode is supported, however, you need patches (see http://johannes.sipsolutions.net/patches/kernel/all/LATEST/series for a note on it) The reason for the patches is that while it work, there are a number of problems: * depending on configuration, it may not be IEEE 802.11 compliant (this is related to basic rate set and similar things) * there may be inefficiencies with the frame handling * probably more I'm not thinking of right now johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 828 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-14 19:44 ` Dan Williams 2008-04-15 11:02 ` Johannes Berg @ 2008-04-15 11:03 ` Johannes Berg 2008-04-16 2:29 ` Zhu Yi 2008-04-19 17:54 ` Bas Hulsken 1 sibling, 2 replies; 7+ messages in thread From: Johannes Berg @ 2008-04-15 11:03 UTC (permalink / raw) To: Dan Williams; +Cc: cao jing, linux-wireless [-- Attachment #1: Type: text/plain, Size: 658 bytes --] > > I read the mac80211 code. I found only the STA, IBSS and Mesh_Point > > interface type are processed by the code. So does it support the ap > > mode. > > Yes, it does. I'd suggest using hostapd as your AP daemon and the > nl80211 hostap driver. While it's still under pretty heavy development, > it all should be fairly usable. Johannes Berg would probably have a > more up-to-date description of the status of the hostapd nl80211 driver > and mac80211 AP-mode support. As for drivers, b43 is known to work (I test this), rt2500pci seems to have some trouble (Bas Hulsken was trying it) and I don't know about any others. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 828 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-15 11:03 ` Johannes Berg @ 2008-04-16 2:29 ` Zhu Yi 2008-04-19 17:54 ` Bas Hulsken 1 sibling, 0 replies; 7+ messages in thread From: Zhu Yi @ 2008-04-16 2:29 UTC (permalink / raw) To: Johannes Berg; +Cc: Dan Williams, cao jing, linux-wireless On Tue, 2008-04-15 at 13:03 +0200, Johannes Berg wrote: > As for drivers, b43 is known to work (I test this), rt2500pci seems to > have some trouble (Bas Hulsken was trying it) and I don't know about > any others. iwl4965 is working. Patches are coming. Thanks, -yi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-15 11:03 ` Johannes Berg 2008-04-16 2:29 ` Zhu Yi @ 2008-04-19 17:54 ` Bas Hulsken 2008-04-21 8:29 ` Johannes Berg 1 sibling, 1 reply; 7+ messages in thread From: Bas Hulsken @ 2008-04-19 17:54 UTC (permalink / raw) To: Johannes Berg; +Cc: Dan Williams, cao jing, linux-wireless On Tue, 2008-04-15 at 13:03 +0200, Johannes Berg wrote: > > > I read the mac80211 code. I found only the STA, IBSS and Mesh_Point > > > interface type are processed by the code. So does it support the ap > > > mode. > > > > Yes, it does. I'd suggest using hostapd as your AP daemon and the > > nl80211 hostap driver. While it's still under pretty heavy development, > > it all should be fairly usable. Johannes Berg would probably have a > > more up-to-date description of the status of the hostapd nl80211 driver > > and mac80211 AP-mode support. > > As for drivers, b43 is known to work (I test this), rt2500pci seems to > have some trouble (Bas Hulsken was trying it) and I don't know about any > others. I have tested AP mode on rt2500pci and rtl8187, both don't work at the moment. rt2500pci works best, but hangs somewhere in the handshake/authentication process (I've posted logs on this list). I did manage to get it to work beginning of Feb. this year, I'm still trying to find the regression. Unfortunately the rt2x00 code has changed a lot since then, and I'm extremely busy at work, so I haven't made a lot of progress there. rtl8187 does not come very far at all, hostapd can't switch it to master mode apparently.. haven't investigated very much why this happens though.. so it might be something trivial. Bas ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Does mac80211 support ap mode 2008-04-19 17:54 ` Bas Hulsken @ 2008-04-21 8:29 ` Johannes Berg 0 siblings, 0 replies; 7+ messages in thread From: Johannes Berg @ 2008-04-21 8:29 UTC (permalink / raw) To: Bas Hulsken; +Cc: Dan Williams, cao jing, linux-wireless [-- Attachment #1: Type: text/plain, Size: 392 bytes --] Hi Bas, Thanks for the note. > rtl8187 does not come very far at all, hostapd can't switch it to master > mode apparently.. haven't investigated very much why this happens > though.. so it might be something trivial. That would probably be the driver not being prepared to handle beaconing etc. and thus rejecting AP mode interfaces in its add_interface() callback. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 828 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-21 8:30 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-04-14 19:18 Does mac80211 support ap mode cao jing 2008-04-14 19:44 ` Dan Williams 2008-04-15 11:02 ` Johannes Berg 2008-04-15 11:03 ` Johannes Berg 2008-04-16 2:29 ` Zhu Yi 2008-04-19 17:54 ` Bas Hulsken 2008-04-21 8:29 ` 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).