1. 08 4月, 2011 6 次提交
  2. 25 3月, 2011 3 次提交
  3. 05 3月, 2011 1 次提交
  4. 01 3月, 2011 1 次提交
  5. 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
  6. 22 1月, 2011 3 次提交
  7. 20 1月, 2011 1 次提交
    • J
      mac80211: track receiver's aggregation reorder buffer size · 0b01f030
      Johannes Berg 提交于
      The aggregation code currently doesn't implement the
      buffer size negotiation. It will always request a max
      buffer size (which is fine, if a little pointless, as
      the mac80211 code doesn't know and might just use 0
      instead), but if the peer requests a smaller size it
      isn't possible to honour this request.
      
      In order to fix this, look at the buffer size in the
      addBA response frame, keep track of it and pass it to
      the driver in the ampdu_action callback when called
      with the IEEE80211_AMPDU_TX_OPERATIONAL action. That
      way the driver can limit the number of subframes in
      aggregates appropriately.
      
      Note that this doesn't fix any drivers apart from the
      addition of the new argument -- they all need to be
      updated separately to use this variable!
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0b01f030
  8. 03 12月, 2010 1 次提交
  9. 16 11月, 2010 3 次提交
  10. 15 10月, 2010 1 次提交
  11. 08 10月, 2010 9 次提交
  12. 06 10月, 2010 1 次提交
  13. 29 9月, 2010 1 次提交
  14. 18 9月, 2010 1 次提交
  15. 15 9月, 2010 1 次提交
  16. 04 9月, 2010 1 次提交
    • W
      iwlagn: open/close envlope to force move BT state machine · f7322f8f
      Wey-Yi Guy 提交于
      In uCode, BT state machine need to receive open envlope
      command before perform calibration; followed by close envlope
      command to move to next stage.
      
      Since Linux has two separated uCode, one for init and the second
      one for runtime; we use open envlope commands for init uCode to
      indicate we are ready to perform calibration operation.
      But for runtime uCode, we are not doing any init calibration,
      so we issue open/close envlope commands to force uCode move to
      "BT COEX ON" state.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      f7322f8f
  17. 27 8月, 2010 1 次提交
  18. 26 8月, 2010 1 次提交
  19. 10 7月, 2010 1 次提交
  20. 03 7月, 2010 2 次提交
    • W
      iwlwifi: add support for device tx flush request · 65550636
      Wey-Yi Guy 提交于
      "Flush" request can come from two different sources, it can either from
      mac80211, or from device when the operation is needed. Here
      adding the support for device issue "flush" request.
      
      When receive tx complete with status is TX_STATUS_FAIL_RFKILL_FLUSH,
      issue REPLY_TXFIFO_FLUSH command to uCode to flush out all the tx frames
      in queues.
      
      In this condition, since mac80211 has no knowledge of "flush" operation,
      driver need to stop all the tx queues and wait for the operation
      completed before wake up the queues for frames transmission.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      65550636
    • W
      iwlwifi: add mac80211 flush callback support · 716c74b0
      Wey-Yi Guy 提交于
      Adding flush callback support in the driver. Two type of flush can be
      issued by mac80211:
      1. drop = true: frame drop is ok, issue REPLY_TXFIFO_FLUSH host command
      to uCode to drop all the frames in tx fifo queues; then return the
      control back to mac80211
      2. drop = false: wait for either all the frames in tx fifo queues been
      transmitted, or timeout; then return the control back to mac80211
      
      If the flush request coming from mac80211, mac80211 will make sure there
      are no additional frames push down to driver before flush operation is
      completed.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      716c74b0