mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: connac: add CMD_CBW_320MHZ
Add CMD_CBW_320MHZ for setting bandwidth 320 MHz to firmware. This is the preliminary patch to add EHT support for mt7996. Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
e7a61c5f70
commit
b375845abc
@@ -42,6 +42,7 @@ enum {
|
||||
CMD_CBW_10MHZ,
|
||||
CMD_CBW_5MHZ,
|
||||
CMD_CBW_8080MHZ,
|
||||
CMD_CBW_320MHZ,
|
||||
|
||||
CMD_HE_MCS_BW80 = 0,
|
||||
CMD_HE_MCS_BW160,
|
||||
@@ -239,6 +240,7 @@ static inline u8 mt76_connac_chan_bw(struct cfg80211_chan_def *chandef)
|
||||
[NL80211_CHAN_WIDTH_10] = CMD_CBW_10MHZ,
|
||||
[NL80211_CHAN_WIDTH_20] = CMD_CBW_20MHZ,
|
||||
[NL80211_CHAN_WIDTH_20_NOHT] = CMD_CBW_20MHZ,
|
||||
[NL80211_CHAN_WIDTH_320] = CMD_CBW_320MHZ,
|
||||
};
|
||||
|
||||
if (chandef->width >= ARRAY_SIZE(width_to_bw))
|
||||
|
||||
Reference in New Issue
Block a user