wcn36xx: Use V1 data structure to store supported rates
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 10 Sep 2020 15:04:50 +0000 (16:04 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 21 Sep 2020 13:13:23 +0000 (16:13 +0300)
commit617e7cf80c92891094b4a206fe6e03ada14a0d26
treeed0e90fdfc32160708ac8888beeb585e8593e5fa
parent96d6617d64ee0c3864f7c0ca9c90d924976bbf4f
wcn36xx: Use V1 data structure to store supported rates

This patch converts the internal data structure used to store data-rates
from version 0 to version 1.

This allows us to extend out the internal storage to represent VHT
parameters.

Using the extended version 1 data-structure allows us to avoid a whole raft
of version 1 specific fixup functions.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200910150450.2178784-3-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/smd.c
drivers/net/wireless/ath/wcn36xx/wcn36xx.h