1. 15 6月, 2011 1 次提交
  2. 06 5月, 2011 2 次提交
  3. 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
  4. 29 4月, 2011 1 次提交
  5. 26 4月, 2011 4 次提交
  6. 14 4月, 2011 2 次提交
  7. 13 4月, 2011 1 次提交
  8. 08 4月, 2011 2 次提交
  9. 31 3月, 2011 9 次提交
  10. 10 3月, 2011 1 次提交
  11. 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
  12. 24 2月, 2011 3 次提交
  13. 22 1月, 2011 1 次提交
    • B
      cfg80211: Extend channel to frequency mapping for 802.11j · 59eb21a6
      Bruno Randolf 提交于
      Extend channel to frequency mapping for 802.11j Japan 4.9GHz band, according to
      IEEE802.11 section 17.3.8.3.2 and Annex J. Because there are now overlapping
      channel numbers in the 2GHz and 5GHz band we can't map from channel to
      frequency without knowing the band. This is no problem as in most contexts we
      know the band. In places where we don't know the band (and WEXT compatibility)
      we assume the 2GHz band for channels below 14.
      
      This patch does not implement all channel to frequency mappings defined in
      802.11, it's just an extension for 802.11j 20MHz channels. 5MHz and 10MHz
      channels as well as 802.11y channels have been omitted.
      
      The following drivers have been updated to reflect the API changes:
      iwl-3945, iwl-agn, iwmc3200wifi, libertas, mwl8k, rt2x00, wl1251, wl12xx.
      The drivers have been compile-tested only.
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NBrian Prodoehl <bprodoehl@gmail.com>
      Acked-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      59eb21a6
  14. 20 1月, 2011 5 次提交
  15. 17 11月, 2010 6 次提交