diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-11-18 16:21:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-12-19 15:23:59 +0100 |
commit | dfdf6725d5e0e1465507ea57dbd64119cf8e19a9 (patch) | |
tree | cb048450fc3224df360b1291f4e9d9c06f8bb84b /drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | |
parent | e4fce22b5beba9cffbfedb04dc2ad217bf02c854 (diff) | |
download | lwn-dfdf6725d5e0e1465507ea57dbd64119cf8e19a9.tar.gz lwn-dfdf6725d5e0e1465507ea57dbd64119cf8e19a9.zip |
mt76: connac: remove PHY_MODE_AX_6G configuration in mt76_connac_get_phy_mode
Get rid of PHY_MODE_AX_6G configuration in mt76_connac_get_phy_mode
routine since mode is an u8 and PHY_MODE_AX_6G is set in phymode_ext
field in mt76_connac_bss_basic_tlv.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h index 4e2c9dafd776..388bfcef3b14 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h @@ -423,7 +423,8 @@ enum { #define PHY_MODE_AC BIT(5) #define PHY_MODE_AX_24G BIT(6) #define PHY_MODE_AX_5G BIT(7) -#define PHY_MODE_AX_6G BIT(8) + +#define PHY_MODE_AX_6G BIT(0) /* phymode_ext */ #define MODE_CCK BIT(0) #define MODE_OFDM BIT(1) |