1. 11 May, 2010 5 commits
    • Luis R. Rodriguez's avatar
      ath9k_hw: new initialization values for AR9003 · 7fca8e26
      Luis R. Rodriguez authored
      These changes include:
      
        * For PAPRD, the TXRF3.capdiv5G, TXRF3.rdiv5G and TXRF3.rdiv2G
          are set to 0x0, the TXRF6.capdiv2G is set to 0x2 for all
          three chains.
        * The d2cas5G/d3cas5G/d4cas5G was updated to 4/4/4 in lowest_ob_db
          Tx gain table.
        * To improve DPPM, three parameters were updated (Released from Madhan):
      	1. RANGE_OSDAC is set to 0x1 for 2G, 0x0 for 5G
      	2. offsetC1 is set to 0xc
      	3. inv_clk320_adc is set to 0x1
        * To reduce PHY error(from spur), cycpwr_thr1 and cycpwr_thr1_ext
          are increased to 0x8 at 2G.
        * The 2G Rx gain tables are updated with mixer gain setting 3,1,0.
      
      The new checksums yield:
      
      initvals -f ar9003
      0x00000000c2bfa7d5        ar9300_2p0_radio_postamble
      0x00000000ada2b114        ar9300Modes_lowest_ob_db_tx_gain_table_2p0
      0x00000000e0bc2c84        ar9300Modes_fast_clock_2p0
      0x00000000056eaf74        ar9300_2p0_radio_core
      0x0000000000000000        ar9300Common_rx_gain_table_merlin_2p0
      0x0000000078658fb5        ar9300_2p0_mac_postamble
      0x0000000023235333        ar9300_2p0_soc_postamble
      0x0000000054d41904        ar9200_merlin_2p0_radio_core
      0x00000000748572cf        ar9300_2p0_baseband_postamble
      0x000000009aa5a0a4        ar9300_2p0_baseband_core
      0x000000003df9a326        ar9300Modes_high_power_tx_gain_table_2p0
      0x000000001cfba124        ar9300Modes_high_ob_db_tx_gain_table_2p0
      0x0000000011302700        ar9300Common_rx_gain_table_2p0
      0x00000000e3eab114        ar9300Modes_low_ob_db_tx_gain_table_2p0
      0x00000000c9d66d40        ar9300_2p0_mac_core
      0x000000001e1d0800        ar9300Common_wo_xlna_rx_gain_table_2p0
      0x00000000a0c54980        ar9300_2p0_soc_preamble
      0x00000000292e2544        ar9300PciePhy_pll_on_clkreq_disable_L1_2p0
      0x000000002d3e2544        ar9300PciePhy_clkreq_enable_L1_2p0
      0x00000000293e2544        ar9300PciePhy_clkreq_disable_L1_2p0
      
      Cc: Don Breslin <don.breslin@atheros.com>
      Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      7fca8e26
    • Luis R. Rodriguez's avatar
      ath5k: drop warning on jumbo frames · 9637e516
      Luis R. Rodriguez authored
      Jumbo frames are not supported, and if they are seen it is likely
      a bogus frame so just silently discard them instead of warning on
      them all time. Also, instead of dropping them immediately though
      move the check *after* we check for all sort of frame errors. This
      should enable us to discard these frames if the hardware picks
      other bogus items first. Lets see if we still get those jumbo
      counters increasing still with this.
      
      Jumbo frames would happen if we tell hardware we can support
      a small 802.11 chunks of DMA'd frame, hardware would split RX'd
      frames into parts and we'd have to reconstruct them in software.
      This is done with USB due to the bulk size but with ath5k we
      already provide a good limit to hardware and this should not be
      happening.
      
      This is reported quite often and if it fills the logs then this
      needs to be addressed and to avoid spurious reports.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      9637e516
    • Dan Carpenter's avatar
      wl1271: remove some unneeded code · b1b3751c
      Dan Carpenter authored
      The goto and the break are equivelent.  I removed the goto in memory of
      Edsger Dijkstra who famously hated gotos and who would have been eighty
      years old next Tuesday.
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b1b3751c
    • Dan Carpenter's avatar
      wl1271: fix notifier interface supported test · 8607b79c
      Dan Carpenter authored
      The "(wl == NULL)" test doesn't work here because "wl" is always
      non-null.  The intent of the code is to return if the interface
      was not supported by the driver.
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      8607b79c
    • Dan Carpenter's avatar
      wl1271: add missing spin_lock() · cdd0864a
      Dan Carpenter authored
      We should start the loop consistently with the "wl_lock" lock held.
      Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
      Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      cdd0864a
  2. 10 May, 2010 35 commits