1. 01 2月, 2011 1 次提交
  2. 16 11月, 2010 1 次提交
  3. 12 10月, 2010 2 次提交
  4. 15 9月, 2010 1 次提交
    • L
      rt2x00: Antenna diversity does not work in 2.6.35 · 85f4d648
      Lars Ericsson 提交于
      The test if antenna diversity is at all enabled uses a local variable
      'flags' to prepare the test condition, but uses 'ant->flags' when the test
      is evaluated. The effect is that the diversity evaluation will never start.
      I can see two solutions, use the 'flag' in the test condition or revert the
      local flag change. My attached patch took alternative two.
      
      Then the evaluation start but it will still not switch antenna. The problem
      is a code section in rt2x00lib_config_antenna (). The effect of that code
      section is that any change the diversity function perform will be
      effectively shorten and no antenna selection command issued. The attached
      patch will filter out any ANTENNA_SW_DIVERSITY setting but forward all
      other
      Signed-off-by: NLars Ericsson <lars_ericsson@telia.com>
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      85f4d648
  5. 13 7月, 2010 4 次提交
  6. 01 7月, 2010 1 次提交
  7. 12 11月, 2009 2 次提交
  8. 07 11月, 2009 1 次提交
  9. 14 8月, 2009 3 次提交
  10. 05 8月, 2009 1 次提交
    • L
      mac80211: redefine usage of the mac80211 workqueue · 42935eca
      Luis R. Rodriguez 提交于
      The mac80211 workqueue exists to enable mac80211 and drivers
      to queue their own work on a single threaded workqueue. mac80211
      takes care to flush the workqueue during suspend but we never
      really had requirements on drivers for how they should use
      the workqueue in consideration for suspend.
      
      We extend mac80211 to document how the mac80211 workqueue should
      be used, how it should not be used and finally move raw access to
      the workqueue to mac80211 only. Drivers and mac80211 use helpers
      to queue work onto the mac80211 workqueue:
      
        * ieee80211_queue_work()
        * ieee80211_queue_delayed_work()
      
      These helpers will now warn if mac80211 already completed its
      suspend cycle and someone is trying to queue work. mac80211
      flushes the mac80211 workqueue prior to suspend a few times,
      but we haven't taken the care to ensure drivers won't add more
      work after suspend. To help with this we add a warning when
      someone tries to add work and mac80211 already completed the
      suspend cycle.
      
      Drivers should ensure they cancel any work or delayed work
      in the mac80211 stop() callback.
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      42935eca
  11. 28 7月, 2009 1 次提交
  12. 25 7月, 2009 1 次提交
  13. 23 4月, 2009 1 次提交
  14. 06 3月, 2009 1 次提交
    • I
      rt2x00: Fix SW antenna diversity · 64abd803
      Ivo van Doorn 提交于
      Software antenna tuning is broken because of an function
      ordering problem during rt2x00link_tuner().
      
      rt2x00link_precalculate_signal()
      rt2x00leds_led_quality()
      rt2x00lib_antenna_diversity()
      
      rt2x00link_precalculate_signal() will reset the quality TX/RX counters,
      however rt2x00lib_antenna_diversity() requires the RX counter to
      see what RSSI value must be used for a particular antenna.
      We can't change the ordering since rt2x00lib_antenna_diversity() might
      reset other statistics which are needed by the function called earlier.
      
      Move the reset of the quality TX/RX counters into a seperate function
      and move the call to after rt2x00lib_antenna_diversity().
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      64abd803
  15. 30 1月, 2009 3 次提交