Search Linux Wireless

Re: ath10k: fix spectral scan for QCA9984 and QCA9888 chipsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karthikeyan Periyasamy <periyasa@xxxxxxxxxxxxxx> wrote:

> The spectral scan has been always broken on QCA9984 and QCA9888.
> 
> Introduce a hardware parameter 'spectral_bin_offset' to resolve this issue for
> QCA9984 and QCA9888 chipsets. For other chipsets, the hardware parameter
> 'spectral_bin_offset' is zero so that existing behaviour is retained as it is.
> 
> In QCA9984 and QCA9888 chipsets, hardware param value 'spectral_bin_discard'
> is 12 bytes. This 12 bytes is derived as the sum of segment index (4 bytes),
> extra bins before the actual data (4 bytes) and extra bins after the actual
> data (4 bytes). Always discarding (12 bytes) happens at end of the samples and
> incorrect samples got dumped, so that user can find incorrect arrangement
> samples in spectral scan dump.
> 
> To fix this issue, we have to discard first 8 bytes and last 4 bytes in every
> samples, so totally 12 bytes are discarded. In every sample we need to consider
> the offset while taking the actual spectral data. For QCA9984, QCA9888 the
> offset is 8 bytes (segment index + extra bins before actual data).
> 
> Hardware tested: QCA9984 and QCA9888
> Firmware tested: 10.4-3.5.3-00053
> 
> Signed-off-by: Karthikeyan Periyasamy <periyasa@xxxxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

2e9bcd0d7324 ath10k: fix spectral scan for QCA9984 and QCA9888 chipsets

-- 
https://patchwork.kernel.org/patch/10435029/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux