> On 07/12/2012 03:49 AM, Gordon Ross wrote:
On Wed, Jul 11, 2012 at 5:38 AM, Enrico <[email protected]> wrote:
Hi,

during our GSoC project I've noticed pcan and pwcl wifi drivers in
illumos-gate
[..]
However they don't support registering the net80211 door for wifi event
reporting which is now required for all wifi drivers. This can be added, but
i would like to have some feedback before doing unnecessary work.
Thank you.
This is not true anymore. pcan and pwcl, or other device drivers not supporting wpa, do not need this addition.

With my latest changes, the driver events door descriptor id is sent via ioctl to the net80211 modules, and it is stored in ieee80211com before the first scan request is issued and cleared when STA disassociates. If the door id is 0, the net80211 module will not try to report events and no errors are printed.

Now the door will not depend on a 'magic filepath' written or generated somewhere in the code and is not attached to a filename. A door id depends an specific connection attempt/interface instance and not on the device name. It is also automatically revoked if wpa_s dies, when the wpa_s driver interface is deinitialized or the wpa_s interface instance is deleted. We won't have problems of already existing files or net80211 not finding the active door for upcalls. If the state is DISASSOC or the corresponding ioctl was not sent yet, no events are reported. (which means wpa_s is not listening yet or wants to terminate the connection)

In this way yesterday i could delete all the ieee80211_register_door calls from all device drivers. It was used to resisted the door path to ieee80211com based on link name.


Best Regards,
Enrico

Do you know what level of support for these devices have in Linux?
(if any) or in FreeBSD? etc?

Thanks,


The Prism2 chipset is supported by the hostap driver.
("preferred for specialist applications such as packet capture.")
http://linux-wless.passys.nl/query_chipset.php?chipset=Prism
http://en.wikipedia.org/wiki/PRISM_%28chipset%29
The newer chipset Prism54 is not supported by our driver

This is the support table for Aironet chips:
http://linux-wless.passys.nl/query_chipset.php?chipset=Aironet

As Garret said, I think that also on linux these drivers are only for PCMCIA, so the probably have some problems


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to