• J
    mac80211: allow drivers to support S/G · 680a0dab
    Johannes Berg 提交于
    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: NJohannes Berg <johannes.berg@intel.com>
    680a0dab
mac80211.h 209.8 KB