1. 05 1月, 2012 2 次提交
    • L
      ath9k: fix tx queue sparse complaint · 1512a486
      Luis R. Rodriguez 提交于
      This fixes this rant from sparse:
      
        CHECK   drivers/net/wireless/ath/ath9k/xmit.c
      drivers/net/wireless/ath/ath9k/xmit.c:107:13: warning: context imbalance in 'ath_txq_lock' - wrong count at exit
      drivers/net/wireless/ath/ath9k/xmit.c:112:13: warning: context imbalance in 'ath_txq_unlock' - unexpected unlock
      drivers/net/wireless/ath/ath9k/xmit.c:123:30: warning: context imbalance in 'ath_txq_unlock_complete' - unexpected unlock
        CC [M]  drivers/net/wireless/ath/ath9k/xmit.
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1512a486
    • L
      ath9k_hw: fix sparse warnings on ar9003_rtt.c · e01ff34e
      Luis R. Rodriguez 提交于
      This fixes these sparse warnings:
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_rtt.c
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:36:6: warning: symbol 'ar9003_hw_rtt_enable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:41:6: warning: symbol 'ar9003_hw_rtt_disable' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:46:6: warning: symbol 'ar9003_hw_rtt_set_mask' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:52:6: warning: symbol 'ar9003_hw_rtt_force_restore' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:102:6: warning: symbol 'ar9003_hw_rtt_load_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:135:6: warning: symbol 'ar9003_hw_rtt_fill_hist' was not declared. Should it be static?
      drivers/net/wireless/ath/ath9k/ar9003_rtt.c:143:6: warning: symbol 'ar9003_hw_rtt_clear_hist' was not declared. Should it be stati
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e01ff34e
  2. 22 12月, 2011 3 次提交
  3. 20 12月, 2011 3 次提交
  4. 16 12月, 2011 13 次提交
  5. 15 12月, 2011 2 次提交
    • A
      ath6kl: support for P2P mgmt operations on station interface · 3ca9d1fc
      Aarthi Thiruvengadam 提交于
      This patch enables support for doing P2P management operations like device
      discovery on top of a station interface. After group formation, the station
      interface will become a P2P GO/client interface as the case may be.
      
      This feature requires modifications to a couple of existing WMI structures and
      therefore new command ids and structures have been defined in order to be
      compatible with older firmware versions and other chips. The exception here is
      the wmi_connect_cmd. Adding a new field to the end of the structure will not
      cause any issues with previous firmware versions since firmware only checks for
      minimum length of the command. The other structures are of variable length,
      hence it was not possible to add new fields to the end.
      
      The new command ids have to be added to the end of enum wmi_cmd_id, so it has
      updated to match the firmware.
      
      The driver will support both the 'old' and the 'new' commands for a while by
      checking the firmware capabilities.
      Signed-off-by: NAarthi Thiruvengadam <athiruve@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      3ca9d1fc
    • R
      ath6kl: Support different uart_tx pin and refclk configuration · 39586bf2
      Ryan Hsu 提交于
      AR6003 family use uart_tx=8 and refclk=26Mhz by default, and AR6004 family
      uses different uart_tx pin and could also support various xtal source,
      moves these per hw configuration.
      Signed-off-by: NRyan Hsu <ryanhsu@qca.qualcomm.com>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      39586bf2
  6. 14 12月, 2011 6 次提交
  7. 13 12月, 2011 9 次提交
  8. 08 12月, 2011 2 次提交
    • N
      ath9k: enable ANI for ar9100 chips · 4f17c48e
      Nikolay Martynov 提交于
        Enable ANI for ar9100 since it seems to be working fine (and as a
      matter of fact ANI was always performed for ar9100 since code which
      was supposed to disable it didn't achieve this goal).
        This patch sets config.enable_ani to default (true) value for
      ar9100.
      Signed-off-by: NNikolay Martynov <mar.kolya@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4f17c48e
    • N
      ath9k: use config.enable_ani to check if ani should be performed · 4279425c
      Nikolay Martynov 提交于
        Currently in ath9k code there is an attempt which is meant to
      disable ANI for ar9100 and ar9340. But it doesn't really achieve
      this. All it does is disable ANI init and setup (i.e. calls to
      ath9k_hw_ani_setup and ath9k_hw_ani_init). Since ath9k_hw_ani_setup is
      not called ah->config.ani_poll_interval is never initialized (i.e. it
      is always zero) and ath_ani_calibrate always executes ANI procedures
      (over uninitialized ANI parameters).
        Moreover, ath_ani_calibrate is being called each 1ms because
      common->ani.timer is set to zero interval because
      ah->config.ani_poll_interval==0 (and thus smallest value of all
      intervals). Normally it should not be called this often.
        This patch changes the code so config.enable_ani is used to check if
      ANI should be performed.
        config.enable_ani is initialized to true by default. This patch sets
      it to false for ar9100 and ar9340.
      Signed-off-by: NNikolay Martynov <mar.kolya@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4279425c