Quentin Garnier
2008-09-03 03:52:45 UTC
Hi,
I've been working on importing support for RALink 2860 devices from
OpenBSD, because that's the WLAN chip the EeeBox has.
Like wi(4), this chip is able to do encryption and decryption in the
hardware. Like wi(4), it has the issue that the net80211 layer isn't
too keen on the idea.
wi(4) has a weird workaround for that, clearing _F_DROPUNENC from the
ic's flags when deemed appropriate.
I've been thinking of what could be a better solution, and so far the
best I could come up with is to pass an additional parameter to
ieee80211_input() indicating that the frame has been decrypted already,
when appropriate.
There is more needed to make wi(4) work in hostap mode (although I
don't have that one handy, sorry).
Would anyone think of a better way of doing that?
Obviously I'd like to commit that support as soon as possible and
hopefully as less intrusively as possible...
I note that FreeBSD's wi(4) doesn't seem to have that workaround, or an
additional parameter to ieee80211_input. My guess is that either the
driver is broken with WEP, or they changed it so it doesn't do any
crypto in hardware...
I've been working on importing support for RALink 2860 devices from
OpenBSD, because that's the WLAN chip the EeeBox has.
Like wi(4), this chip is able to do encryption and decryption in the
hardware. Like wi(4), it has the issue that the net80211 layer isn't
too keen on the idea.
wi(4) has a weird workaround for that, clearing _F_DROPUNENC from the
ic's flags when deemed appropriate.
I've been thinking of what could be a better solution, and so far the
best I could come up with is to pass an additional parameter to
ieee80211_input() indicating that the frame has been decrypted already,
when appropriate.
There is more needed to make wi(4) work in hostap mode (although I
don't have that one handy, sorry).
Would anyone think of a better way of doing that?
Obviously I'd like to commit that support as soon as possible and
hopefully as less intrusively as possible...
I note that FreeBSD's wi(4) doesn't seem to have that workaround, or an
additional parameter to ieee80211_input. My guess is that either the
driver is broken with WEP, or they changed it so it doesn't do any
crypto in hardware...
--
Quentin Garnier - ***@cubidou.net - ***@NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
Quentin Garnier - ***@cubidou.net - ***@NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.