1. 01 7月, 2010 16 次提交
  2. 30 6月, 2010 2 次提交
  3. 29 6月, 2010 3 次提交
    • F
      ath9k: fix retry count for A-MPDU rate control status reports · 78c4653a
      Felix Fietkau 提交于
      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: NFelix Fietkau <nbd@openwrt.org>
      Reported-by: NBjörn Smedman <bjorn.smedman@venatech.se>
      Cc: stable@kernel.org
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      78c4653a
    • B
      ath5k: fix antenna div gc for <= AR5K_SREV_PHY_2413 · 6665b54e
      Bruno Randolf 提交于
      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: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      6665b54e
    • M
      b43: Add SDIO_DEVICE() for EW-CG1102GC · 55d02a47
      Magnus Damm 提交于
      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: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      55d02a47
  4. 26 6月, 2010 10 次提交
  5. 25 6月, 2010 7 次提交
  6. 24 6月, 2010 2 次提交
    • J
      a3275e24
    • V
      ath9k: Fix bug in starting ani · 6c3118e2
      Vasanthakumar Thiagarajan 提交于
      There are few places where ANI is started without checking
      if it is right to start. This might lead to a case where ani
      timer would be left undeleted and cause improper memory acccess
      during module unload. This bug is clearly exposed with
      paprd support where the driver detects tx hang and does a
      chip reset. During this reset ani is (re)started without checking
      if it needs to be started. This would leave a timer scheduled
      even after all the resources are freed and cause a panic.
      
      This patch introduces a bit in sc_flags to indicate if ani
      needs to be started in sw_scan_start() and ath_reset().
      This would fix the following panic. This issue is easily seen
      with ar9003 + paprd.
      
       BUG: unable to handle kernel paging request at 0000000000003f38
      [<ffffffff81075391>] ? __queue_work+0x41/0x50
      [<ffffffff8106afaa>] run_timer_softirq+0x17a/0x370
      [<ffffffff81088be8>] ? tick_dev_program_event+0x48/0x110
      [<ffffffff81061f69>] __do_softirq+0xb9/0x1f0
      [<ffffffff810ba060>] ? handle_IRQ_event+0x50/0x160
      [<ffffffff8100af5c>] call_softirq+0x1c/0x30
      [<ffffffff8100c9f5>] do_softirq+0x65/0xa0
      [<ffffffff81061e25>] irq_exit+0x85/0x90
      [<ffffffff8155e095>] do_IRQ+0x75/0xf0
      [<ffffffff815570d3>] ret_from_intr+0x0/0x11
      <EOI>
      [<ffffffff812fd67b>] ? acpi_idle_enter_simple+0xe4/0x119
      [<ffffffff812fd674>] ? acpi_idle_enter_simple+0xdd/0x119
      [<ffffffff81441c87>] cpuidle_idle_call+0xa7/0x140
      [<ffffffff81008da3>] cpu_idle+0xb3/0x110
      [<ffffffff81550722>] start_secondary+0x1ee/0x1f5
      Signed-off-by: NVasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      6c3118e2