1. 16 12月, 2011 2 次提交
    • 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
    • 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. 09 12月, 2011 2 次提交
  3. 07 12月, 2011 2 次提交
  4. 03 12月, 2011 3 次提交
  5. 29 11月, 2011 1 次提交
  6. 26 11月, 2011 1 次提交
    • J
      iwlagn: remove calibration knowledge · 93b64105
      Johannes Berg 提交于
      The init microcode knows very well which calibrations
      are required and sends us results for those that are.
      Consequently, we can just send all of those to the RT
      uCode again.
      
      The problem with having the driver know about this is
      that it is a uCode feature, not a hardware feature so
      the config is completely unsuitable.
      
      The only thing we need to check is whether the device
      needs crystal calibration or not, add a new parameter
      to the configuration for that.
      
      This makes new uCode work on 6000 series devices.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      93b64105
  7. 15 10月, 2011 1 次提交
  8. 04 10月, 2011 1 次提交
  9. 28 9月, 2011 1 次提交
  10. 22 9月, 2011 1 次提交
  11. 20 9月, 2011 6 次提交
  12. 15 9月, 2011 4 次提交
  13. 30 8月, 2011 15 次提交