Thread (13 messages) flat view 13 messages, 7 authors, 2004-06-04

Re: Prism54 WPA Support - wpa_supplicant - Linux general wpa support

From: Jean Tourrilhes <hidden>
Date: 2004-06-04 18:01:50
Also in: lkml

On Thu, Jun 03, 2004 at 07:33:03PM -0700, Jouni Malinen wrote:
On Thu, Jun 03, 2004 at 09:52:33AM -0700, Jean Tourrilhes wrote:
quoted
	So, the plan would be to take Jouni's API as is (or with minor
modifications) and stuff that in wireless.h. I don't believe that the
tools themselves need to be modified, because wpa_supplicant is the
sole user of those ioctls.
	If you are all happy with that, then I'll just do it.
I'm mostly happy with this, but this should also include something from
the private ioctls hostapd uses for AP functionality.
	Obviously we need the full functionality, not just some part
of it.
In addition, I would consider changing couple of text based elements
(e.g., WPA IE as hex string) to binary in order to remove extra
parsing code and make the data contents smaller.
	The downside of that is that things need to be predefined. As
we are doing a "WPA API" and not a "generic link layer security API",
that's OK.
	The other thing you may want to think about is miving all
string/arrays at the end of the definition so that we can grow them
easily if needed, and so that the first part can be fixed.
I'm having quite a bit of problems with scan
results getting too large for the current limit of 4 kB.. Admittedly,
this is in a test lab environment, but still, it is annoying and
requires workarounds like driver side filtering of the scan results.
	That's easy to fix. I did the same with "iwpriv" definitions a
couple of weeks ago. Basically, you return -E2BIG to user space until
userspace give you a big enough buffer.
	I'll try to fix that.
I could try to make a list of all private ioctls currently used in
wpa_supplicant and hostapd, including some comments on what I would
consider changing at this point (mostly, changing text binary for couple
of cases and removing some fields that are not really going to be used).
	You currently have your plate pretty full. I'll try to help,
but my first son was born one month ago and things are not as smooth
as planned.
Jouni Malinen
	Jean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help