]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add a HW flag for supporting HW TX fragmentation
authorSara Sharon <sara.sharon@intel.com>
Tue, 18 Oct 2016 20:12:11 +0000 (23:12 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Oct 2016 10:12:44 +0000 (12:12 +0200)
commit0b2798c6071296724f716ff1831d4490181936da
tree3ab6bd9fe32aec5bbc380a6a3ba250069b1131a1
parentf75efcb7711030f8644d5e8024a03b93a429c423
mac80211: add a HW flag for supporting HW TX fragmentation

Currently mac80211 determines whether HW does fragmentation
by checking whether the set_frag_threshold callback is set
or not.
However, some drivers may want to set the HW fragmentation
capability depending on HW generation.
Allow this by checking a HW flag instead of checking the
callback.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
[added the flag to ath10k and wlcore]
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ti/wlcore/main.c
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/main.c
net/mac80211/tx.c
net/mac80211/wpa.c