What is needed to inplement a AP support in a driver?
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
Quoted 9 lines · Maxim Levitsky
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.
Quoted 1 line
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.
Signature · 1 line
Kalle Valo
Quoted 6 lines · Maxim Levitsky
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
Quoted 2 lines
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
Hi,
Quoted 1 line
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 <[email protected]=
Quoted 5 lines
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
Quoted 9 lines
(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
Quoted 7 lines
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
Quoted 3 lines
the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Rami Rosen
Hi,
Quoted 1 line
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:
Quoted 4 lines
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?
Quoted 5 lines
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)
Quoted 7 lines
[ 471.524478] iwlagn: ERROR: APs don't scanthis 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
Quoted 4 lines
[ 487.507346] iwlagn: Microcode SW error detected. Restarting 0x2000000.
This probably was fixed now, there were many reports about microcode errors.
Quoted 1 line
I just feel, that AP mode can be done, and it isn't that hard to enable it.
Best regards,
Maxim Levitsky
Quoted 44 lines · Maxim Levitsky
Quoted 8 lines · Rami Rosen
Hi,
Quoted 1 line
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 RosenQuoiting this patch:
Quoted 4 lines
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?
Quoted 5 lines
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)Quoted 7 lines
[ 471.524478] iwlagn: ERROR: APs don't scanthis 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
Quoted 3 lines
Quoted 7 lines
Quoted 1 line
[ 487.507346] iwlagn: Microcode SW error detected. Restarting 0x2000000.This probably was fixed now, there were many reports about microcode errors.
Quoted 1 line
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