1. 02 Jul, 2010 8 commits
  2. 30 Jun, 2010 24 commits
  3. 29 Jun, 2010 4 commits
  4. 28 Jun, 2010 4 commits
    • Felix Fietkau's avatar
      mac80211: fix the for_each_sta_info macro · 38bdb650
      Felix Fietkau authored
      Because of an ambiguity in the for_each_sta_info macro, it can
      currently only be used if the third parameter is set to 'sta'.
      Fix this by renaming the parameter to '_sta'.
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      38bdb650
    • Felix Fietkau's avatar
      ath9k: fix retry count for A-MPDU rate control status reports · 78c4653a
      Felix Fietkau authored
      The 'bf_retries' field of the ath_buf structure was used for both
      software retries (AMPDU subframes) and hardware retries (legacy
      frames). This led to a wrong retry count being reported for the A-MPDU
      rate control stats.
      This patch changes the code to no longer use bf_retries for reporting
      retry counts, but instead always using the real on-chip retry count
      from the ath_tx_status.
      Additionally, if the first subframe of an A-MPDU was not acked, the tx
      status report is submitted along with the first acked subframe, which
      may not contain the correct rates in the tx info.
      This is easily corrected by saving the tx rate info before looping over
      subframes, and then copying it back once the A-MPDU status report is
      submitted.
      In my tests this change improves throughput visibly.
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Reported-by: default avatarBjörn Smedman <bjorn.smedman@venatech.se>
      Cc: stable@kernel.org
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      78c4653a
    • Bruno Randolf's avatar
      ath5k: fix antenna div gc for <= AR5K_SREV_PHY_2413 · 6665b54e
      Bruno Randolf authored
      In commit 39d5b2c8 "ath5k: update
      AR5K_PHY_RESTART_DIV_GC values to match masks" i introduced a regression on PHY
      chips older than AR5K_SREV_PHY_5413, which caused signal values to be about
      10dB less that before. This patch reverts the AR5K_PHY_RESTART_DIV_GC values to
      the same values which were effectively used before (without the bitmask
      mistake). This brings signal levels back to normal on these PHY chips.
      Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      6665b54e
    • Magnus Damm's avatar
      b43: Add SDIO_DEVICE() for EW-CG1102GC · 55d02a47
      Magnus Damm authored
      This patch enables the EW-CG1102GC SDIO card in the b43 driver.
      
      b43-sdio mmc0:0001:1: Chip ID 14e4:4318
      ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
      ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
      ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
      ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
      b43-phy0: Broadcom 4318 WLAN found (core revision 9)
      b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
      b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 8
      
      Tested with openfwwf-5.2 using a SuperH SDHI host controller.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      55d02a47