26 Oct, 2005

1 commit

  • James Ketrenos wrote:
    > [3/4] Use the tx_headroom and reserve requested space.

    This patch introduced a compile problem; patch below corrects this.

    Fixed compilation error due to not passing tx_headroom in
    ieee80211_tx_frame.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     

22 Oct, 2005

1 commit


21 Oct, 2005

1 commit

  • Without this patch, if you try and use a key that has not been
    configured, for example:

    % iwconfig eth1 key deadbeef00 [2]

    without having configured key [1], then the active key will still be
    [1], but privacy will now be enabled. Transmission of a packet in this
    situation will result in a kernel oops.

    Signed-off-by: James Ketrenos

    Hong Liu
     

20 Oct, 2005

1 commit


19 Oct, 2005

1 commit


14 Oct, 2005

1 commit


09 Oct, 2005

1 commit

  • - added typedef unsigned int __nocast gfp_t;

    - replaced __nocast uses for gfp flags with gfp_t - it gives exactly
    the same warnings as far as sparse is concerned, doesn't change
    generated code (from gcc point of view we replaced unsigned int with
    typedef) and documents what's going on far better.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

04 Oct, 2005

5 commits


03 Oct, 2005

5 commits


29 Sep, 2005

1 commit


23 Sep, 2005

3 commits


22 Sep, 2005

18 commits

  • Remove old WIRELESS_EXT version compatibility

    In-tree doesn't need to maintain backward compatibility.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 0d3e41e574fcb41b9da7f0b7e1d27ec350726654
    parent dbe2885fe2f454d538eaaabefc741ded1026f476
    author James Ketrenos 1126720499 -0500
    committer James Ketrenos 1127314531 -0500

    Updated copyright dates.

    NOTE: This is a split out of just the copyright updates from patch
    24/29 in the prior series.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 2e6f6e7dc4f4eeb8e3dc265020016dd53e40578a
    parent ba2075794a089430b3dd7c90ff46ce1b67e9c7cc
    author Zhu Yi 1125551043 +0800
    committer James Ketrenos 1127314475 -0500

    [Bug 768] Keep auth mode unchanged after iwconfig key off/on cycle.

    Signed-off-by: Zhu Yi
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 5c7559a1216ae1121487f6aed94a6017490729b3
    parent c1ff4c22e5622c8987bf96c09158c4924cde98c2
    author Hong Liu 1125482767 +0800
    committer James Ketrenos 1127314427 -0500

    Mixed PTK/GTK CCMP/TKIP support.

    Signed-off-by: Hong Liu
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 3ac0dd07b9972dfd68fee47ec2152d3d378de000
    parent 9ada1d971d9829c34a14d98840080b7e69fdff6b
    author Mohamed Abbad 1126054379 -0500
    committer James Ketrenos 1127314340 -0500

    Type-o, capbility definition for QoS, and ERP parsing

    Added WLAN_CAPABILITY_QOS
    Fixed type-o WLAN_CAPABILITY_OSSS_OFDM -> WLAN_CAPABILITY_DSSS_OFDM
    Added ERP IE parsing to ieee80211_rx
    Added handle_probe_request callback.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 385b391fc0d7c124cd0547fdb6183e9a0c333391
    parent 97d7a47f76e72bedde7f402785559ed4c7a8e8e8
    author James Ketrenos 1124447590 -0500
    committer James Ketrenos 1127313735 -0500

    Added ieee80211_geo to provide helper functions to drivers for
    implementing supported channel maps.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree a3ad796273e98036eb0e9fc063225070fa24508a
    parent 1b9c0aeb377abf8e4a43a86cff42382f74ca0259
    author Mohamed Abbas 1124447069 -0500
    committer James Ketrenos 1127313435 -0500

    Add QoS (WME) support to the ieee80211 subsystem.

    NOTE: This requires drivers that use the ieee80211 hard_start_xmit
    (ipw2100 and ipw2200) to add the priority parameter to their callback.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree ba6509c7cd1dd4244a2f285f2da5d632e7ffbb25
    parent 7b5f9f2ddcabdaea214527a895e6e8445cafdd80
    author James Ketrenos 1124447000 -0500
    committer James Ketrenos 1127313383 -0500

    Per the conversations with folks at OLS, the QoS layer in 802.11
    drivers can now result in NETDEV_TX_BUSY being returned when the queue
    a packet is targetted for is full.

    To implement this, ieee80211_xmit will now call the driver's
    is_queue_full to determine if the current priority queue is full. If
    so, NETDEV_TX_BUSY is returned to the kernel and no processing is done
    on the frame.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 8428e9f510e6ad6c77baec89cb57374842abf733
    parent d78bfd3ddae9c422dd350159110f9c4d7cfc50de
    author Liu Hong 1124446520 -0500
    committer James Ketrenos 1127313183 -0500

    Fix TKIP, repeated fragmentation problem, and payload_size reporting

    1. TKIP encryption
    Originally, TKIP encryption issues msdu + mpdu encryption on every
    fragment. Change the behavior to msdu encryption on the whole
    packet, then mpdu encryption on every fragment.

    2. Avoid repeated fragmentation when !host_encrypt.
    We only need do fragmentation when using host encryption. Otherwise
    we only need pass the whole packet to driver, letting driver do the
    fragmentation.

    3. change the txb->payload_size to correct value
    FW will use this value to determine whether to do fragmentation. If
    we pass the wrong value, fw may cut on the wrong bound which will
    make decryption fail when we do host encryption.

    NOTE: This requires changing drivers (hostap) that have
    extra_prefix_len used within them (structure member name change).

    Signed-off-by: Hong Liu
    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 40adc78b623ae70d56074934ec6334eb4f0ae6a5
    parent db43d847bcebaa3df6414e26d0008eb21690e8cf
    author James Ketrenos 1124445938 -0500
    committer James Ketrenos 1127313102 -0500

    Added ieee80211_tx_frame to convert generic 802.11 data frames into
    txbs for transmission.

    Added several purpose specific callbacks (handle_assoc, handle_auth,
    etc.) which the driver can register with for being notified on
    reception of variouf frame elements.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree b45c9c1017fd23216bfbe71e441aed9aa297fc84
    parent 04aacdd71e904656a304d923bdcf57ad3bd2b254
    author Ivo van Doorn 1124445405 -0500
    committer James Ketrenos 1127313029 -0500

    This patch adds support for the creation of RTS packets when the
    config flag CFG_IEEE80211_RTS has been set.

    Signed-Off-By: Ivo van Doorn
    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree e9c18b2c8e5ad446a4d213243c2dcf9fd1652a7b
    parent 4e97ad6ae7084a4f741e94e76c41c68bc7c5a76a
    author James Ketrenos 1124444315 -0500
    committer James Ketrenos 1127312922 -0500

    Renamed ieee80211_hdr to ieee80211_hdr_3addr and modified ieee80211_hdr
    to just contain the frame_ctrl and duration_id.

    Changed uses of ieee80211_hdr to ieee80211_hdr_4addr or
    ieee80211_hdr_3addr based on what was expected for that portion of code.

    NOTE: This requires changes to ipw2100, ipw2200, hostap, and atmel
    drivers.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 1536f39c18756698d033da72c49300a561be1289
    parent 07172d7c9f10ee3d05d6f6489ba6d6ee2628da06
    author Liu Hong 1124436225 -0500
    committer James Ketrenos 1127312664 -0500

    Added WE-18 support to default wireless extension handler in ieee80211
    subsystem.

    Updated patch since last send to account for ieee80211_device parameter
    being added to the crypto init method.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 898fedef6ca1b5b58b8bdf7e6d8894a78bbde4cd
    parent 8720fff53090ae428d2159332b6f4b2749dea10f
    author Zhu Yi 1124435746 -0500
    committer James Ketrenos 1127312509 -0500

    Allow drivers to fix an issue when using wpa_supplicant with WEP.

    The problem is introduced by the hwcrypto patch. We changed indicator of
    the encryption request from the upper layer (i.e. wpa_supplicant):

    In the original host based crypto the driver could use: crypt &&
    crypt->ops.

    In the new hardware based crypto, the driver should use the flags
    specified in ieee->sec.encrypt.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree b69e983266840983183a00f5ac02c66d5270ca47
    parent cdd6372949b76694622ed74fe36e1dd17a92eb71
    author Zhu Yi 1124435425 -0500
    committer James Ketrenos 1127312421 -0500

    Fix kernel Oops when module unload.

    Export a new function ieee80211_crypt_quiescing from ieee80211. Device
    drivers call it to make the host crypto stack enter the quiescence
    state, which means "process existing requests, but don't accept new
    ones". This is usually called during a driver's host crypto data
    structure free (module unload) path.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree b9cdd7058b787807655ea6f125e2adbf8d26c863
    parent 85d9b2bddfcf3ed2eb4d061947c25c6a832891ab
    author Zhu Yi 1124435212 -0500
    committer James Ketrenos 1127312152 -0500

    Fix time calculation, switching to use jiffies_to_msecs.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 5322d496af90d03ffbec27292dc1a6268a746ede
    parent 6c9364386ccb786e4a84427ab3ad712f0b7b8904
    author James Ketrenos 1124432367 -0500
    committer James Ketrenos 1127311810 -0500

    Hardware crypto and fragmentation offload support added (Zhu Yi)

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     
  • tree 367069f24fc38b4aa910e86ff40094d2078d8aa7
    parent a33a1982012e9070736e3717231714dc9892303b
    author James Ketrenos 1124430800 -0500
    committer James Ketrenos 1127310571 -0500

    Fixed a kernel oops on module unload by adding spin lock protection to
    ieee80211's crypt handlers (thanks to Zhu Yi)

    Modified scan result logic to report WPA and RSN IEs if set (vs.being
    based on wpa_enabled)

    Added ieee80211_device as the first parameter to the crypt init()
    method. TKIP modified to use that structure for determining whether to
    countermeasures are active.

    Signed-off-by: James Ketrenos
    Signed-off-by: Jeff Garzik

    James Ketrenos
     

16 Sep, 2005

1 commit