1. 17 1月, 2012 2 次提交
  2. 05 1月, 2012 2 次提交
  3. 22 12月, 2011 1 次提交
  4. 20 12月, 2011 2 次提交
  5. 04 10月, 2011 1 次提交
    • E
      mac80211: pass vif param to conf_tx() callback · 8a3a3c85
      Eliad Peller 提交于
      tx params should be configured per interface.
      add ieee80211_vif param to the conf_tx callback,
      and change all the drivers that use this callback.
      
      The following spatch was used:
      @rule1@
      struct ieee80211_ops ops;
      identifier conf_tx_op;
      @@
      	ops.conf_tx = conf_tx_op;
      
      @rule2@
      identifier rule1.conf_tx_op;
      identifier hw, queue, params;
      @@
      	conf_tx_op (
      -		struct ieee80211_hw *hw,
      +		struct ieee80211_hw *hw, struct ieee80211_vif *vif,
      		u16 queue,
      		const struct ieee80211_tx_queue_params *params) {...}
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8a3a3c85
  6. 14 9月, 2011 1 次提交
  7. 23 8月, 2011 1 次提交
  8. 16 7月, 2011 1 次提交
  9. 15 6月, 2011 1 次提交
  10. 07 6月, 2011 1 次提交
  11. 06 5月, 2011 2 次提交
  12. 30 4月, 2011 1 次提交
    • Y
      mwl8k: Reducing extra_tx_headroom for tx optimization in AP mode · ff776cec
      Yogesh Ashok Powar 提交于
      The tx_headroom required for mwl8k driver is 32 bytes and it
      can use the space for 802.11 header received from mac80211.
      mwl8k considers the smallest 802.11 frame (CTS2self of 10
      bytes) that can be received from mac80211  to compute the
      extra_tx_headroom as 22 (32 - 10) bytes.
      
      When the wireless interface is part of bridge, this
      extra_tx_headroom requirement results in a memcpy in
      mac80211 (in function pskb_expand_head) for all the data
      frames needing L2 forwarding/bridging, when NET_SKB_PAD is
      defined as 32. This patch reduces the extra_tx_headroom by
      8 bytes so that memcpy of data frames in mac80211 is
      avoided in this case.
      
      The resize will be required in driver for frames with 802.11
      header size of less than 18 bytes.
      Signed-off-by: NYogesh Ashok Powar <yogeshp@marvell.com>
      Signed-off-by: NPradeep Nemavat <pnemavat@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ff776cec
  13. 29 4月, 2011 1 次提交
  14. 26 4月, 2011 4 次提交
  15. 14 4月, 2011 2 次提交
  16. 13 4月, 2011 1 次提交
  17. 08 4月, 2011 2 次提交
  18. 31 3月, 2011 9 次提交
  19. 10 3月, 2011 1 次提交
  20. 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
  21. 24 2月, 2011 3 次提交