[PATCHv3,5/5] ath10k: Allow setting coverage class
kvalo at qca.qualcomm.com
Tue Oct 4 08:04:17 PDT 2016
Benjamin Berg <benjamin at sipsolutions.net> wrote:
> Unfortunately ath10k does not generally allow modifying the coverage class
> with the stock firmware and Qualcomm has so far refused to implement this
> feature so that it can be properly supported in ath10k. If we however know
> the registers that need to be modified for proper operation with a higher
> coverage class, then we can do these modifications from the driver.
> This patch implements this hack for first generation cards which are based
> on a core that is similar to ath9k. The registers are modified in place and
> need to be re-written every time the firmware sets them. To achieve this
> the register status is verified after certain WMI events from the firmware.
> The coverage class may not be modified temporarily right after the card
> re-initializes the registers. This is for example the case during scanning.
> Thanks to Sebastian Gottschall <s.gottschall at dd-wrt.com> for initially
> working on a userspace support for this. This patch wouldn't have been
> possible without this documentation.
> Signed-off-by: Benjamin Berg <benjamin at sipsolutions.net>
> Signed-off-by: Simon Wunderlich <sw at simonwunderlich.de>
> Signed-off-by: Mathias Kretschmer <mathias.kretschmer at fit.fraunhofer.de>
Patch applied to ath-next branch of ath.git, thanks.
ebee76f7fa46 ath10k: allow setting coverage class
Documentation about submitting wireless patches and checking status
More information about the ath10k