This series is four in a set of seven to add support for wcn3680 at 802.11ac data-rates. In this set we add the ability to configure up the wcn3680 PHY to get onto 80MHz channels. To do that, the upper unused bits of the hw_value field of the struct ieee80211_channel are used to encode additional PHY settings. Accessor macros are provided to encode and decode this additional information. Depending on which channel we are on, we need to configure the PHY into one of four modes representing four potential adjacent 20MHz channels. The modes describe where the primary channel sits in relation to the other three channels giving us 20MHz + 20MHz + 20MHz + 20MHz to get 80MHz. V4: - No functional change. Sending out full set again using --base=ath-202009090652 to aid kernel test robot - https://lore.kernel.org/linux-wireless/20200908182514.2870410-1-bryan.odonoghue@xxxxxxxxxx/T/#t v3: - No difference between V3 and V2 below https://lore.kernel.org/linux-wireless/20200829033947.2167817-1-bryan.odonoghue@xxxxxxxxxx/T/#t V2: - No difference between V2 and V1 below V1: https://lore.kernel.org/linux-wireless/87eensldhi.fsf@xxxxxxxxxxxxxx/T/#t Bryan O'Donoghue (5): wcn36xx: Add accessor macro HW_VALUE_CHANNEL for hardware channels wcn36xx: Use HW_VALUE_CHANNEL macro to get channel number wcn36xx: Add accessor macro HW_VALUE_PHY for PHY settings wcn36xx: Encode PHY mode for 80MHz channel in hw_value wcn36xx: Set PHY into correct mode for 80MHz channel width drivers/net/wireless/ath/wcn36xx/main.c | 50 +++++++++++----------- drivers/net/wireless/ath/wcn36xx/smd.c | 15 +++++-- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 6 ++- 3 files changed, 42 insertions(+), 29 deletions(-) base-commit: 160b351d75cb50a0dd2abf9b63e1891935aa9e4a prerequisite-patch-id: 9a4ac7faca179f6594c9b3a115ee69a2da540a69 prerequisite-patch-id: 183286f9c22d1aaa12f356651224e6b337ef1938 prerequisite-patch-id: af468d413daaf8d2aad195fcb43c6e66390d8468 prerequisite-patch-id: 1a7fb93ee5874d2d011409eaed0b4fd764666b9c prerequisite-patch-id: 77cc008b21a650fa7a33c4acad2fb632b09634fd prerequisite-patch-id: 988ae4802971d6895b03b2752122b2be42baf188 prerequisite-patch-id: a3ba2a1963e03e23e86c937cd4cfb649e1b819b2 prerequisite-patch-id: 8a1fe4f63bc80e9a8035aa52356da8c46eab8665 prerequisite-patch-id: d75c1a60d1ede373c1f3eb684bb15c853c88eedc prerequisite-patch-id: 47145acae6e24e8e6580fca1dbddfbec24f7b50b prerequisite-patch-id: 8c66bccb923be821cf109a3a0d3a1a028edb4930 prerequisite-patch-id: f078e5fdfe8c18936469bfb118a964db13ea729f prerequisite-patch-id: 746f63cf58fa3bf62736435c81dba2558aba8e81 prerequisite-patch-id: 36a94e202cbdaee8e06f9a108b1c894bd1159e62 prerequisite-patch-id: 8a598e22a08b0ec233d0ec56eeb53673eb1b8feb prerequisite-patch-id: b0eba574ddc35ecec2d0e39c0d3351d1b260420e -- 2.27.0