1. 16 12月, 2011 3 次提交
    • E
      iwlwifi: don't count the tfds in HW queue any more · eb9a372a
      Emmanuel Grumbach 提交于
      Since packets sent to an RA / TID in AGG are sent from a
      separate HW Tx queue, we may get into a race:
      the regular queue isn't empty while we already begin to
      send packets from the AGG queue. This would result in sending
      packets out of order.
      
      In order to cope with this, mac80211 waits until the driver
      reports that the legacy queue is drained before it can send
      packets to the AGG queue. During that time, mac80211 buffers
      packets for the driver. These packets will be sent in order
      after the driver reports it is ready.
      
      The way this was implemented in the driver is as follows:
      We held a counter that monitors the number of packets for
      an RA / TID in the HW queues. When this counter reached 0,
      we knew that the HW queues were drained and we reported to
      mac80211 that were ready to proceed.
      
      This patch changes the implementation described above. We
      now remember what is the wifi sequence number of the first
      packet that will be sent in the AGG queue (lets' call it
      ssn). When we reclaim the packet before ssn, we know that
      the queue is drained, and we are ready to proceed.
      
      This will allow us to move this logic in the upper layer and
      eventually remove the tid_data from the shared area.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      eb9a372a
    • E
      iwlwifi: fix endianity issue in debug prints · aca15f81
      Emmanuel Grumbach 提交于
      ba_resp->seq_ctl is __le16, need to translate to cpu endianity.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      aca15f81
    • D
      iwlwifi: move iwl_cfg from iwl_priv to iwl_shared · 38622419
      Don Fry 提交于
      Move the configuration pointer from the upper level iwl_priv to the
      lower level iwl_shared structure, with associated code fixes.
      Signed-off-by: NDon Fry <donald.h.fry@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      38622419
  2. 13 12月, 2011 1 次提交
  3. 09 12月, 2011 2 次提交
  4. 22 11月, 2011 2 次提交
  5. 18 11月, 2011 2 次提交
  6. 12 11月, 2011 2 次提交
  7. 15 10月, 2011 4 次提交
  8. 01 10月, 2011 1 次提交
    • J
      mac80211: implement uAPSD · 47086fc5
      Johannes Berg 提交于
      Add uAPSD support to mac80211. This is probably not
      possible with all devices, so advertising it with
      the cfg80211 flag will be left up to drivers that
      want it.
      
      Due to my previous patches it is now a fairly
      straight-forward extension. Drivers need to have
      accurate TX status reporting for the EOSP frame.
      For drivers that buffer themselves, the provided
      APIs allow releasing the right number of frames,
      but then drivers need to set EOSP and more-data
      themselves. This is documented in more detail in
      the new code itself.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      47086fc5
  9. 28 9月, 2011 2 次提交
  10. 22 9月, 2011 3 次提交
  11. 20 9月, 2011 1 次提交
  12. 15 9月, 2011 1 次提交
  13. 30 8月, 2011 16 次提交