1. 20 May, 2015 4 commits
  2. 11 May, 2015 3 commits
  3. 07 May, 2015 1 commit
  4. 06 May, 2015 8 commits
  5. 05 May, 2015 7 commits
  6. 24 Apr, 2015 12 commits
  7. 23 Apr, 2015 1 commit
  8. 22 Apr, 2015 4 commits
    • Johannes Berg's avatar
      mac80211: allow segmentation offloads · 80616c0d
      Johannes Berg authored
      Implement the necessary software segmentation on the normal
      TX path so that fast-xmit can use segmentation offload if
      the hardware (or driver) supports it.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      80616c0d
    • Johannes Berg's avatar
      mac80211: allow drivers to support S/G · 680a0dab
      Johannes Berg authored
      If drivers want to support S/G (really just gather DMA on TX) then
      we can now easily support this on the fast-xmit path since it just
      needs to write to the ethernet header (and already has a check for
      that being possible.)
      
      However, disallow this on the regular TX path (which has to handle
      fragmentation, software crypto, etc.) by calling skb_linearize().
      
      Also allow the related HIGHDMA since that's not interesting to the
      code in mac80211 at all anyway.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      680a0dab
    • Johannes Berg's avatar
      mac80211: allow checksum offload only in fast-xmit · 2d981fdd
      Johannes Berg authored
      When we go through the complete TX processing, there are a number
      of things like fragmentation and software crypto that require the
      checksum to be calculated already.
      
      In favour of maintainability, instead of adding the necessary call
      to skb_checksum_help() in all the places that need it, just do it
      once before the regular TX processing.
      
      Right now this only affects the TI wlcore and QCA ath10k drivers
      since they're the only ones using checksum offload. The previous
      commits enabled fast-xmit for them in almost all cases.
      
      For wlcore this even fixes a corner case: when a key fails to be
      programmed to hardware software encryption gets used, encrypting
      frames with a bad checksum.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      2d981fdd
    • Johannes Berg's avatar
      ath10k: enable IEEE80211_HW_SUPPORT_FAST_XMIT · 41fbf6e4
      Johannes Berg authored
      The driver can clearly enable fast-xmit since it does rate
      control in the device and thus must do duration calculation
      there as well.
      Acked-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      41fbf6e4