Skip to content
  1. May 20, 2015
  2. May 12, 2015
  3. May 11, 2015
  4. May 07, 2015
  5. May 06, 2015
  6. May 05, 2015
  7. Apr 24, 2015
  8. Apr 23, 2015
  9. Apr 22, 2015
    • 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