1. 11 12月, 2012 4 次提交
    • A
      wlcore: use separate HW queue for each AC in each vif · 1c33db78
      Arik Nemtsov 提交于
      Start using the new hw_queue mechanism in mac80211 and give each AC in
      each vif its own hw_queue number. This allows us to stop an AC in a vif
      independently from other vifs.
      
      Change the Tx watermark handling functions to count packets per AC in
      vif. From now on fast links should not be able to hurt the throughput
      of slow links on the same AC but on different vifs.
      
      Change internal queue mgmt functions to operate per vif, to support the
      new Tx watermark granularity. Make the global versions of the queue
      stop/start functions to use the global mac80211 API for queue mgmt. This
      helps in situations where the driver currently doesn't know all the vifs
      that reside in mac80211. Recovery is a good example for such a case.
      
      [Moved hw_base_queue addition into the wlcore_tx_get_mac80211_queue()
      function; changed WARN_ONs to WARN_ON_ONCEs; simplified for loops;
      fixed new checkpatch warnings. -- Luca]
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      1c33db78
    • A
      wlcore: use link count for single-STA-PSM optimization · 9a100968
      Arik Nemtsov 提交于
      Only allow a PSM STA to congest FW memory when it is the single active
      link. Being a single STA doesn't imply a single link - there might be
      other links on other roles.
      
      [Changed WARN_ON to WARN_ON_ONCE -- Luca]
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      9a100968
    • A
      wlcore: remove support for injected Tx · f4d02007
      Arik Nemtsov 提交于
      Require each incoming packet to have a valid vif. The injected Tx code
      path was buggy (and unused), so disallow it altogether.
      
      Cleanup a few places and add a warning so we can better discover
      anomalies (corrupted skbs?) masquerading as injected Tx.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      f4d02007
    • E
      wlcore: add ACX_PEER_CAP command · 530abe19
      Eliad Peller 提交于
      ACX_PEER_CAP command is just ACX_PEER_HT_CAP, but allows
      configuring the peer's support rates as well.
      
      this is needed because we start the station role when
      the remote rates are not known yet.
      
      the two commands should be unified in future fw versions,
      but for now add a new set_peer_cap per-hw op, that will
      use ACX_PEER_CAP for 18xx, and ACX_PEER_HT_CAP for 12xx.
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      530abe19
  2. 05 12月, 2012 6 次提交
  3. 04 12月, 2012 7 次提交
  4. 28 11月, 2012 4 次提交
  5. 27 11月, 2012 19 次提交