wcn36xx: Encode PHY mode for 80MHz channel in hw_value
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Mon, 21 Sep 2020 13:21:17 +0000 (16:21 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Sep 2020 07:22:58 +0000 (10:22 +0300)
commitfc4d4008f810ef7936c503467e377437bdc24490
treea80c77ec473465c9faa5e28033cc8b3a78501bff
parent235b9ae0265b08fe676b142593638e3018e2ef5f
wcn36xx: Encode PHY mode for 80MHz channel in hw_value

This commit encodes the 802.11ac PHY mode for a given channel in the upper
bits of the hw_value field. This allows for a neat read-out and application
of the relevant PHY setting.

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