1. 16 3月, 2012 1 次提交
  2. 28 2月, 2012 1 次提交
  3. 25 1月, 2012 1 次提交
  4. 20 12月, 2011 2 次提交
  5. 08 12月, 2011 1 次提交
    • 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
  6. 04 10月, 2011 1 次提交
    • E
      mac80211: pass vif param to conf_tx() callback · 8a3a3c85
      Eliad Peller 提交于
      tx params should be configured per interface.
      add ieee80211_vif param to the conf_tx callback,
      and change all the drivers that use this callback.
      
      The following spatch was used:
      @rule1@
      struct ieee80211_ops ops;
      identifier conf_tx_op;
      @@
      	ops.conf_tx = conf_tx_op;
      
      @rule2@
      identifier rule1.conf_tx_op;
      identifier hw, queue, params;
      @@
      	conf_tx_op (
      -		struct ieee80211_hw *hw,
      +		struct ieee80211_hw *hw, struct ieee80211_vif *vif,
      		u16 queue,
      		const struct ieee80211_tx_queue_params *params) {...}
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8a3a3c85
  7. 28 9月, 2011 1 次提交
  8. 15 9月, 2011 1 次提交
  9. 30 8月, 2011 1 次提交
    • L
      ath9k: Fix a smatch warnings · 1ba45b9e
      Larry Finger 提交于
      Smatch shows the following warnings:
      
        CHECK   drivers/net/wireless/ath/ath9k/htc_drv_main.c
      drivers/net/wireless/ath/ath9k/htc_drv_main.c +1315 ath9k_htc_configure_filter(27) warn: inconsistent returns mutex:&priv->mutex: locked (1303) unlocked (1315)
      
        CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +3321 ar9300_eeprom_restore_internal(20) warn: returning -1 instead of -ENOMEM is sloppy
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1ba45b9e
  10. 26 8月, 2011 1 次提交
  11. 08 7月, 2011 1 次提交
  12. 20 5月, 2011 6 次提交
  13. 30 4月, 2011 1 次提交
  14. 29 4月, 2011 1 次提交
  15. 26 4月, 2011 4 次提交
  16. 14 4月, 2011 13 次提交
  17. 02 3月, 2011 1 次提交
  18. 26 2月, 2011 1 次提交
    • J
      mac80211: make tx() operation return void · 7bb45683
      Johannes Berg 提交于
      The return value of the tx operation is commonly
      misused by drivers, leading to errors. All drivers
      will drop frames if they fail to TX the frame, and
      they must also properly manage the queues (if they
      didn't, mac80211 would already warn).
      
      Removing the ability for drivers to return a BUSY
      value also allows significant cleanups of the TX
      TX handling code in mac80211.
      
      Note that this also fixes a bug in ath9k_htc, the
      old "return -1" there was wrong.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
      Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
      Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
      Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7bb45683
  19. 24 2月, 2011 1 次提交