summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg2015-04-13 16:58:25 +0200
committerJohannes Berg2015-04-22 11:25:30 +0200
commit680a0daba74fed0bf30530c9b3e7e706cf29855f (patch)
tree3022c5e0e3a3ec738c9d4f4ab6be50d152cc0fad /include/net/mac80211.h
parentmac80211: allow checksum offload only in fast-xmit (diff)
downloadkernel-qcow2-linux-680a0daba74fed0bf30530c9b3e7e706cf29855f.tar.gz
kernel-qcow2-linux-680a0daba74fed0bf30530c9b3e7e706cf29855f.tar.xz
kernel-qcow2-linux-680a0daba74fed0bf30530c9b3e7e706cf29855f.zip
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/mac80211.h')
-rw-r--r--include/net/mac80211.h4
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-