1. 05 4月, 2011 1 次提交
  2. 31 3月, 2011 1 次提交
    • L
      ath9k_hw: remove AR9485 1.0 support · 903946e6
      Luis R. Rodriguez 提交于
      Only AR9485 1.1 was sold. This debloats the driver by ~14 KiB.
      
         text    data     bss     dec     hex filename
       300413     624    1056  302093   49c0d drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
         text    data     bss     dec     hex filename
       310285     624    1056  311965   4c29d drivers/net/wireless/ath/ath9k/ath9k_hw-old.ko
      
      $ du -b ath9k_hw*
      6210541	ath9k_hw.ko
      6225089	ath9k_hw-old.ko
      
      Cc: Bill Wu <bill.wu@atheros.com>
      Cc: Paul Shaw <paul.shaw@atheros.com>
      Cc: Forbes Tsai <Forbes.Tsai@Atheros.com>
      Cc: Jesmine Chen <jesmine.chen@atheros.com>
      Cc: Marvian Chen <Hou-hua.Chen@Atheros.com>
      Cc: Vivek Natarajan <vivek.natarajan@atheros.com>
      Cc: Bernadette Yetso <bernadette.yetso@atheros.com>
      Cc: Sarvesh Shrivastava <sarvesh.shrivastava@atheros.com>
      Acked-by: NYi-Chen Su <yi-chen.su@atheros.com>
      Acked-by: NJeffrey Chung <jeffrey.chung@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      903946e6
  3. 26 2月, 2011 1 次提交
  4. 19 2月, 2011 1 次提交
  5. 18 1月, 2011 1 次提交
  6. 14 12月, 2010 1 次提交
  7. 08 12月, 2010 3 次提交
  8. 16 10月, 2010 1 次提交
    • L
      ath9k_hw: remove AR9003 2.0 support · 886b42bf
      Luis R. Rodriguez 提交于
      These chipsets will not hit the market, all customers will be
      on >= AR9003 2.2. This shaves down the ath9k_hw size by
      24161 bytes (24 KB) on my system.
      
      Before:
      
      $ size drivers/net/wireless/ath/ath9k/ath9k_hw.ko
         text	   data	    bss	    dec	    hex	filename
       292328	    616	   1824	 294768	  47f70	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      $ du -b drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      5987825	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      After:
      
      $ size drivers/net/wireless/ath/ath9k/ath9k_hw.ko
         text	   data	    bss	    dec	    hex	filename
       277192	    616	   1824	 279632	  44450	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      $ du -b drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      5963664	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      Cc: Yixiang Li <yixiang.li@atheros.com>
      Cc: Don Breslin <don.breslin@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      886b42bf
  9. 07 10月, 2010 1 次提交
  10. 24 6月, 2010 4 次提交
  11. 15 6月, 2010 2 次提交
    • L
      ath9k: add new ANI implementation for AR9003 · e36b27af
      Luis R. Rodriguez 提交于
      This adds support for ANI for AR9003. The implementation for
      ANI for AR9003 is slightly different than the one used for
      the older chipset families. It can technically be used for
      the older families as well but this is not yet fully tested
      so we only enable the new ANI for the AR5008, AR9001 and AR9002
      families with a module parameter, force_new_ani.
      
      The old ANI implementation is left intact.
      
      Details of the new ANI implemention:
      
        * ANI adjustment logic is now table driven so that each ANI level
          setting is parameterized. This makes adjustments much more
          deterministic than the old procedure based logic and allows
          adjustments to be made incrementally to several parameters per
          level.
      
        * ANI register settings are now relative to INI values; so ANI
          param zero level == INI value. Appropriate floor and ceiling
          values are obeyed when adjustments are combined with INI values.
      
        * ANI processing is done once per second rather that every 100ms.
          The poll interval is now a set upon hardware initialization and
          can be picked up by the core driver.
      
        * OFDM error and CCK error processing are made in a round robin
          fashion rather than allowing all OFDM adjustments to be made
          before CCK adjustments.
      
        * ANI adjusts MRC CCK off in the presence of high CCK errors
      
        * When adjusting spur immunity (SI) and OFDM weak signal detection,
          ANI now sets register values for the extension channel too
      
        * When adjusting FIR step (ST), ANI now sets register for FIR step
          low too
      
        * FIR step adjustments now allow for an extra level of immunity for
          extremely noisy environments
      
        * The old Noise immunity setting (NI), which changes coarse low, size
          desired, etc have been removed. Changing these settings could affect
          up RIFS RX as well.
      
        * CCK weak signal adjustment is no longer used
      
        * ANI no longer enables phy error interrupts; in all cases phy hw
          counting registers are used instead
      
        * The phy error count (overflow) interrupts are also no longer used
          for ANI adjustments. All ANI adjustments are made via the polling
          routine and no adjustments are possible in the ISR context anymore
      
        * A history settings buffer is now correctly used for each channel;
          channel settings are initialized with the defaults but later
          changes are restored when returning back to that channel
      
        * When scanning, ANI is disabled settings are returned to (INI) defaults.
      
        * OFDM phy error thresholds are now 400 & 1000 (errors/second units) for
          low/high water marks, providing increased stability/hysteresis when
          changing levels.
      
        * Similarly CCK phy error thresholds are now 300 & 600 (errors/second)
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e36b27af
    • L
      ath9k_hw: allow for spliting up ANI operations by family · ac0bb767
      Luis R. Rodriguez 提交于
      The AR9003 hardware family will use a slightly modified ANI
      implementation which has not yet been tested on the other hardware
      families. To allow for this new ANI implementation a few ANI
      calls need to be abstracted away. This patch just allows for
      each hardware family to declare their own ANI ops and annotates
      the current ANI implementation as old.
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ac0bb767
  12. 03 6月, 2010 2 次提交
    • L
    • L
      ath9k_hw: add support for the AR9003 2.2 · 7284635d
      Luis R. Rodriguez 提交于
      The checksums of the initvals are:
      
      initvals -f ar9003-2p2
      0x00000000c2bfa7d5        ar9300_2p2_radio_postamble
      0x00000000ada2b114        ar9300Modes_lowest_ob_db_tx_gain_table_2p2
      0x00000000e0bc2c84        ar9300Modes_fast_clock_2p2
      0x00000000056eaf74        ar9300_2p2_radio_core
      0x0000000000000000        ar9300Common_rx_gain_table_merlin_2p2
      0x0000000078658fb5        ar9300_2p2_mac_postamble
      0x0000000023235333        ar9300_2p2_soc_postamble
      0x0000000054d41904        ar9200_merlin_2p2_radio_core
      0x000000008475a084        ar9300_2p2_baseband_postamble
      0x000000009aaafd90        ar9300_2p2_baseband_core
      0x000000003df9a326        ar9300Modes_high_power_tx_gain_table_2p2
      0x000000001cfba124        ar9300Modes_high_ob_db_tx_gain_table_2p2
      0x0000000011302700        ar9300Common_rx_gain_table_2p2
      0x00000000a9a2b114        ar9300Modes_low_ob_db_tx_gain_table_2p2
      0x00000000a9d66d40        ar9300_2p2_mac_core
      0x000000001e1d0800        ar9300Common_wo_xlna_rx_gain_table_2p2
      0x00000000a0c531c8        ar9300_2p2_soc_preamble
      0x00000000292e2544        ar9300PciePhy_pll_on_clkreq_disable_L1_2p2
      0x000000002d3e2544        ar9300PciePhy_clkreq_enable_L1_2p2
      0x00000000293e2544        ar9300PciePhy_clkreq_disable_L1_2p2
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7284635d
  13. 17 4月, 2010 4 次提交