19 Jul, 2011

4 commits


16 Jul, 2011

29 commits


14 Jul, 2011

7 commits

  • In WoWLAN, devices may use crypto keys for TX/RX
    and could also implement GTK rekeying. If the
    driver isn't able to retrieve replay counters and
    similar information from the device upon resume,
    or if the device isn't responsive due to platform
    issues, it isn't safe to keep the connection up
    as GTK rekey messages from during the sleep time
    could be replayed against it.

    The only protection against that is disconnecting
    from the AP. Modifying mac80211 to do that while
    it is resuming would be very complex and invasive
    in the case that the driver requires a reconfig,
    so do it after it has resumed completely. In that
    case, however, packets might be replayed since it
    can then only happen after TX/RX are up again, so
    mark keys for interfaces that need to disconnect
    as "tainted" and drop all packets that are sent
    or received with those keys.

    Signed-off-by: Johannes Berg
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • is_valid_ether_addr itself checks for is_zero_ether_addr

    Signed-off-by: Mohammed Shafi Shajakhan
    Signed-off-by: John W. Linville

    Mohammed Shafi Shajakhan
     
  • Currently, setting only legacy bitrates on 2.4GHz band
    are supported. Mode 802.11b/g/bg is enabled based on
    bitrates selection. If only CCK bitrates selected then
    802.11b mode is enabled. If only OFDM bitrates are
    selected then 802.11g mode is enabled. For both: CCK
    and OFDM rates 802.11bg mixed mode is enabled.

    Signed-off-by: Yogesh Ashok Powar
    Signed-off-by: Bing Zhao
    Signed-off-by: John W. Linville

    Yogesh Ashok Powar
     
  • Instead of using ieee80211_stop_queue, check the configured tx queue
    limit before calling ieee80211_get_buffered_bc.

    Signed-off-by: Felix Fietkau
    Signed-off-by: John W. Linville

    Felix Fietkau
     
  • While 32 KHz sleep clock might provide some power saving benefits,
    it is also a major source of stability issues, on OpenWrt it produced
    some reproducible data bus errors on register accesses on several
    different MIPS platforms.

    All the Atheros drivers that I can find do not enable this feature,
    so it makes sense to leave it disabled in ath5k as well.

    Signed-off-by: Felix Fietkau
    Acked-by: Nick Kossifidis
    Signed-off-by: John W. Linville

    Felix Fietkau
     
  • enabling the sleep clock alters the AR5K_USEC_32 field, but disabling
    it didn't restore it.

    Signed-off-by: Felix Fietkau
    Acked-by: Nick Kossifidis
    Signed-off-by: John W. Linville

    Felix Fietkau
     
  • During scans the full calibration usually does not make much sense,
    PAPD probing and IQ calibration should be deferred until there is
    enough time to complete them. Adding 100 ms to the initial full
    calibration delay should be enough to do this.

    Signed-off-by: Felix Fietkau
    Acked-by: Nick Kossifidis
    Signed-off-by: John W. Linville

    Felix Fietkau