lkml.org 
[lkml]   [2004]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2.6] Intersil Prism54 wireless driver
    On Wed, Mar 10, 2004 at 05:37:16PM -0600, James Ketrenos wrote:

    > I'd like to get WEP into IPW2100 as soon as possible, and would like to do
    > so in a way that would make transitioning to a common 802.11 layer seamless
    > (or at least reasonably isolated). Any suggestions on how to best do this,
    > or where we might be able to help, would be much appreciated.

    Host AP driver (http://hostap.epitest.fi/) has generic (i.e., hardware
    independent) implementation of IEEE 802.11 encryption for WEP, TKIP, and
    CCMP. These functions take in skb's with IEEE 802.11 headers and
    encrypt/decrypt the frames. I haven't yet taken a look at your IPW2100
    driver, but if you are including IEEE 802.11 headers in the skb's at
    some point, I would assume that the WEP implementation from Host AP
    driver would work fine with that driver, too.

    The current implementation has hardware independent module (hostap.ko)
    that exports the crypto functions for IEEE 802.11 skb's. Both client
    station and AP is supported. (To be honest, there is probably still
    couple of small Prism2-specific parts in hostap.ko, but not in the
    crypto parts and I'm in the process of getting rid of the remaining
    wlan hardware dependent parts).

    I'm in the process of replacing the algorithm parts (RC4, Michael MIC,
    AES-CCM) with crypto API versions so that only the IEEE 802.11 specific
    parts (like format of the IV/packet number, replay protection,
    pseudo-header for authentication) remain in the implementation and
    low-level crypto algorithms can share code with other uses. Once this is
    done, I would hope to get the code merged into the kernel tree either
    with full Host AP driver or separately. One option would be to first add
    Host AP driver in its current structure (i.e., everything in
    drivers/net/wireless) and then create a new directory (net/ieee80211 ?)
    for generic IEEE 802.11 functionality and start moving things like the
    IEEE 802.11 encryption into the new location.

    --
    Jouni Malinen PGP id EFC895FA
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.023 / U:0.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site