commit | ae49e8a667929de2cc2de7583eb85b3bbf2d17cb | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Tue Oct 31 16:53:21 2023 +0800 |
committer | developer <developer@mediatek.com> | Thu Nov 02 17:51:11 2023 +0800 |
tree | e34930c52d0a597f539d56f5a4764a711977d546 | |
parent | 2524ed9a4e12aebbe45eaf56052e237720c6fba8 [diff] [blame] |
[][MAC80211][WiFi6][app][Add atenl support for cheetah] [Description] Add atenl support for cheetah [Release-log] N/A Change-Id: I0e543c138c9d7a189acb10efb97c9066a93909b8 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8188100
diff --git a/feed/atenl/src/atenl.h b/feed/atenl/src/atenl.h index 60feaf4..a5f9fbb 100644 --- a/feed/atenl/src/atenl.h +++ b/feed/atenl/src/atenl.h
@@ -270,7 +270,7 @@ MT_EE_BAND_SEL_DUAL, }; -/* for mt7916/mt7986 */ +/* for mt7916/mt7981/mt7986 */ enum { MT_EE_BAND_SEL_2G, MT_EE_BAND_SEL_5G, @@ -400,6 +400,11 @@ return (an->chip_id == 0x7916) || (an->chip_id == 0x7906); } +static inline bool is_mt7981(struct atenl *an) +{ + return an->chip_id == 0x7981; +} + static inline bool is_mt7986(struct atenl *an) { return an->chip_id == 0x7986;