diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-04-13 17:58:25 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-04-22 12:25:30 +0300 |
commit | 680a0daba74fed0bf30530c9b3e7e706cf29855f (patch) | |
tree | 3022c5e0e3a3ec738c9d4f4ab6be50d152cc0fad /include/net | |
parent | 2d981fddb0e4a5a4097d926f3b9fd3eaf25867a8 (diff) | |
download | linux-680a0daba74fed0bf30530c9b3e7e706cf29855f.tar.xz |
mac80211: allow drivers to support S/G
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 9001bd685b1e..0af7464ef57b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1942,8 +1942,8 @@ enum ieee80211_hw_flags { * Use the %IEEE80211_RADIOTAP_VHT_KNOWN_* values. * * @netdev_features: netdev features to be set in each netdev created - * from this HW. Note only HW checksum features are currently - * compatible with mac80211. Other feature bits will be rejected. + * from this HW. Note that not all features are usable with mac80211, + * other features will be rejected during HW registration. * * @uapsd_queues: This bitmap is included in (re)association frame to indicate * for each access category if it is uAPSD trigger-enabled and delivery- |