]> git.baikalelectronics.ru Git - kernel.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)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Aug 2015 11:13:55 +0000 (14:13 +0300)
commitc40ab91151f9848805e0df50dc28d68af2eb2f59
treecd62df169d37112fc2c32a9c811323b5d095e741
parentffb7bce2d5dca0f8985ae2588632c77a3e8eb254
ath10k: reject 11b tx fragmentation configuration

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: f5c090c424f3 ("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>
drivers/net/wireless/ath/ath10k/mac.c