* What is needed to inplement a AP support in a driver?
@ 2009-04-07 0:06 Maxim Levitsky
2009-04-07 5:13 ` Kalle Valo
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Maxim Levitsky @ 2009-04-07 0:06 UTC (permalink / raw)
To: linux-wireless
I recently found that now ath5k supports AP mode.
I also found that most of the work is now done in userspace.
Since many drivers including my IWL3945 support sending beacons for IBSS
(strictly speaking userspace can send them too, but this is sub
optimal), what else driver must support for AP?
Sending to several stations ? (IBSS already has this), have several
virtual devices (this is optional feature), what else?
Why iwl3945 still doesn't support AP mode?
If I patch it to support it (just add ap to list of allowed modes) will
it work? (I soon anyway try out....)
Best regards,
Maxim Levitsky
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What is needed to inplement a AP support in a driver?
2009-04-07 0:06 What is needed to inplement a AP support in a driver? Maxim Levitsky
@ 2009-04-07 5:13 ` Kalle Valo
2009-04-07 8:16 ` Johannes Berg
2009-04-07 9:25 ` Rami Rosen
2 siblings, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2009-04-07 5:13 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: linux-wireless
Maxim Levitsky <maximlevitsky@gmail.com> writes:
> I recently found that now ath5k supports AP mode.
> I also found that most of the work is now done in userspace.
>
> Since many drivers including my IWL3945 support sending beacons for IBSS
> (strictly speaking userspace can send them too, but this is sub
> optimal), what else driver must support for AP?
>
> Sending to several stations ? (IBSS already has this), have several
> virtual devices (this is optional feature), what else?
At least sending multicast/broadcast frames immediately after DTIM
beacons. This is needed for clients in power save mode.
> Why iwl3945 still doesn't support AP mode?
No idea. I recall Intel talking about having patches to support AP mode
for iwl3945, but quick googling didn't reveal anything. All I found was
this from Tomas:
"We've enabled only iwl4965, not so ever effort was done for iwl3945
[...]
In general there should not problem to extend AP mode also for 3945 on
PC platform"
http://osdir.com/ml/linux.drivers.ipw3945.devel/2007-11/msg00184.html
It would be really nice to get AP mode support for iwl3945.
Unfortunately I don't have any spare time to work on that, but if you
are planning to work on it I (and others) can give you email support via
this mailing list.
--
Kalle Valo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What is needed to inplement a AP support in a driver?
2009-04-07 0:06 What is needed to inplement a AP support in a driver? Maxim Levitsky
2009-04-07 5:13 ` Kalle Valo
@ 2009-04-07 8:16 ` Johannes Berg
2009-04-07 9:25 ` Rami Rosen
2 siblings, 0 replies; 6+ messages in thread
From: Johannes Berg @ 2009-04-07 8:16 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
On Tue, 2009-04-07 at 03:06 +0300, Maxim Levitsky wrote:
> I recently found that now ath5k supports AP mode.
> I also found that most of the work is now done in userspace.
>
> Since many drivers including my IWL3945 support sending beacons for IBSS
> (strictly speaking userspace can send them too, but this is sub
> optimal), what else driver must support for AP?
http://wireless.kernel.org/en/developers/Documentation/mac80211/API
> If I patch it to support it (just add ap to list of allowed modes) will
> it work? (I soon anyway try out....)
no.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What is needed to inplement a AP support in a driver?
2009-04-07 0:06 What is needed to inplement a AP support in a driver? Maxim Levitsky
2009-04-07 5:13 ` Kalle Valo
2009-04-07 8:16 ` Johannes Berg
@ 2009-04-07 9:25 ` Rami Rosen
2009-04-07 13:11 ` Maxim Levitsky
2 siblings, 1 reply; 6+ messages in thread
From: Rami Rosen @ 2009-04-07 9:25 UTC (permalink / raw)
To: Maxim Levitsky; +Cc: linux-wireless
Hi,
> Why iwl3945 still doesn't support AP mode?
see also this patch, titled: "wlwifi: disable AP mode"
http://www.spinics.net/lists/linux-wireless/msg24688.html
Regards,
Rami Rosen
On Tue, Apr 7, 2009 at 3:06 AM, Maxim Levitsky <maximlevitsky@gmail.com=
> wrote:
> I recently found that now ath5k supports AP mode.
> I also found that most of the work is now done in userspace.
>
> Since many drivers including my IWL3945 support sending beacons for I=
BSS
> (strictly speaking userspace can send them too, but this is =A0sub
> optimal), what else driver must support for AP?
>
> Sending to several stations ? (IBSS already has this), have several
> virtual devices (this is optional feature), what else?
>
> Why iwl3945 still doesn't support AP mode?
>
> If I patch it to support it (just add ap to list of allowed modes) wi=
ll
> it work? (I soon anyway try out....)
>
> Best regards,
> =A0 =A0 =A0 =A0Maxim Levitsky
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wirel=
ess" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =A0http://vger.kernel.org/majordomo-info.html
>
--
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] 6+ messages in thread
* Re: What is needed to inplement a AP support in a driver?
2009-04-07 9:25 ` Rami Rosen
@ 2009-04-07 13:11 ` Maxim Levitsky
2009-04-09 12:08 ` Maxim Levitsky
0 siblings, 1 reply; 6+ messages in thread
From: Maxim Levitsky @ 2009-04-07 13:11 UTC (permalink / raw)
To: Rami Rosen; +Cc: linux-wireless
On Tue, 2009-04-07 at 12:25 +0300, Rami Rosen wrote:
> Hi,
> > Why iwl3945 still doesn't support AP mode?
> see also this patch, titled: "wlwifi: disable AP mode"
>
> http://www.spinics.net/lists/linux-wireless/msg24688.html
>
> Regards,
> Rami Rosen
Quoiting this patch:
> iwlwifi does not support AP mode in any way. For one, it doesn't even
> buffer multicast/broadcast frames properly. We didn't allow zd1211rw AP
> mode to be enabled without this, so iwlwifi shouldn't be allowed to
> advertise AP mode either.
This is interesting, this means it doesn't save frames when client is in power save mode?
IBSS doesn't have this?
>
>
>
> It also doesn't work at all, it doesn't even answer to probe requests,
> I'm guessing the packet injection code was disabled again.
Packet injection (even fragmentation) works fine here.
Also, now hostapd responds to probes isn't it?
(I was said that now hostapd sends/recieves all managment frames)
>
>
> [ 471.524478] iwlagn: ERROR: APs don't scan
>
> this is a long-standing bug, of course APs scan to know their
> surroundings, not sure why this is there, it's also very pointless since
> I can remove it by enabling software scan...
Here, software scan fixes it, besides many device don't have hardware scan
>
>
>
> [ 487.507346] iwlagn: Microcode SW error detected. Restarting 0x2000000.
This probably was fixed now, there were many reports about microcode errors.
>
I just feel, that AP mode can be done, and it isn't that hard to enable it.
Best regards,
Maxim Levitsky
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What is needed to inplement a AP support in a driver?
2009-04-07 13:11 ` Maxim Levitsky
@ 2009-04-09 12:08 ` Maxim Levitsky
0 siblings, 0 replies; 6+ messages in thread
From: Maxim Levitsky @ 2009-04-09 12:08 UTC (permalink / raw)
To: Rami Rosen; +Cc: linux-wireless
On Tue, 2009-04-07 at 16:11 +0300, Maxim Levitsky wrote:
> On Tue, 2009-04-07 at 12:25 +0300, Rami Rosen wrote:
> > Hi,
> > > Why iwl3945 still doesn't support AP mode?
> > see also this patch, titled: "wlwifi: disable AP mode"
> >
> > http://www.spinics.net/lists/linux-wireless/msg24688.html
> >
> > Regards,
> > Rami Rosen
>
>
> Quoiting this patch:
>
>
> > iwlwifi does not support AP mode in any way. For one, it doesn't even
> > buffer multicast/broadcast frames properly. We didn't allow zd1211rw AP
> > mode to be enabled without this, so iwlwifi shouldn't be allowed to
> > advertise AP mode either.
> This is interesting, this means it doesn't save frames when client is in power save mode?
> IBSS doesn't have this?
>
>
>
> >
> >
> >
> > It also doesn't work at all, it doesn't even answer to probe requests,
> > I'm guessing the packet injection code was disabled again.
> Packet injection (even fragmentation) works fine here.
> Also, now hostapd responds to probes isn't it?
> (I was said that now hostapd sends/recieves all managment frames)
>
>
> >
> >
> > [ 471.524478] iwlagn: ERROR: APs don't scan
> >
> > this is a long-standing bug, of course APs scan to know their
> > surroundings, not sure why this is there, it's also very pointless since
> > I can remove it by enabling software scan...
> Here, software scan fixes it, besides many device don't have hardware scan
> >
> >
> >
> > [ 487.507346] iwlagn: Microcode SW error detected. Restarting 0x2000000.
> This probably was fixed now, there were many reports about microcode errors.
> >
>
>
> I just feel, that AP mode can be done, and it isn't that hard to enable it.
>
I am thinking, currently iwl3945 is ported to iwlagn.
When porting is it could fix AP problems in it too?
Best regards
Maxim Levitsky
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-04-09 12:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 0:06 What is needed to inplement a AP support in a driver? Maxim Levitsky
2009-04-07 5:13 ` Kalle Valo
2009-04-07 8:16 ` Johannes Berg
2009-04-07 9:25 ` Rami Rosen
2009-04-07 13:11 ` Maxim Levitsky
2009-04-09 12:08 ` Maxim Levitsky
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).