]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ath10k: reject 11b tx fragmentation configuration
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 3 Aug 2015 09:16:43 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:43:22 +0000 (14:43 -0700)
commitb25c5418235ec7d7389eb8ca157758639e5db328
treee252e94a4ce08915508f4187103f092c78034cd4
parentbff1c3b39ae30ec13d10a581655ec07af5c76608
ath10k: reject 11b tx fragmentation configuration

commit 92092fe528e79c9bd25784ca0ef341d5a1d1b642 upstream.

Even though there's a WMI enum for fragmentation
threshold no known firmware actually implements
it. Moreover it is not possible to rely frame
fragmentation to mac80211 because firmware clears
the "more fragments" bit in frame control making
it impossible for remote devices to reassemble
frames.

Hence implement a dummy callback just to say
fragmentation isn't supported. This effectively
prevents mac80211 from doing frame fragmentation
in software.

This fixes Tx becoming broken after setting
fragmentation threshold.

Fixes: 1010ba4c5d1c ("ath10k: unregister and remove frag_threshold callback")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath10k/mac.c