wcn36xx: Set PHY into correct mode for 80MHz channel width
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Mon, 21 Sep 2020 13:21:18 +0000 (16:21 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Sep 2020 07:23:01 +0000 (10:23 +0300)
commite042bc19aaceeb9aed24bfd4b53dfb4fe8bd0fd0
treef960b21bfd7fa049f1a0f11b0cd8506ef071d9b2
parentfc4d4008f810ef7936c503467e377437bdc24490
wcn36xx: Set PHY into correct mode for 80MHz channel width

For the 80MHz channel we need to set the PHY mode to one of four PHY modes
that span the 80MHz range.

This patch latches the hw_value PHY field previously defined for 5GHz
channels directly to the parameter passed to the firmware.

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-6-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/smd.c