i see no mt7622 driver in master/mt7622-branch
It looks like it’s part of 7615…
Is it compatible with my current dts-node? still wondering why root and some others (mt76x0,76x2,7603) do not have a Kconfig file…and still the problem with trace.o (trace.h not found)
after fixing this, i get this on 5.4 with this driver:
drivers/net/wireless/mediatek/mt76_new/mac80211.c: In function 'mt76_phy_init':
drivers/net/wireless/mediatek/mt76_new/mac80211.c:286:31: error: 'NL80211_EXT_FEATURE_AQL' undeclared (first use in this function); did you mean 'NL80211_EXT_FEATURE_TXQS'?
wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_AQL);
^~~~~~~~~~~~~~~~~~~~~~~
NL80211_EXT_FEATURE_TXQS
drivers/net/wireless/mediatek/mt76_new/mac80211.c:286:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/mediatek/mt76_new/mac80211.c: In function 'mt76_airtime_report':
drivers/net/wireless/mediatek/mt76_new/mac80211.c:760:12: error: implicit declaration of function 'ieee80211_calc_rx_airtime'; did you mean 'ieee80211_check_tim'? [-Werror=implicit-function-declaration]
airtime = ieee80211_calc_rx_airtime(dev->hw, &info, len);
^~~~~~~~~~~~~~~~~~~~~~~~~
ieee80211_check_tim
for first i need this commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/uapi/linux/nl80211.h?id=911bde0fe5ccd7e55760be9d6dcc67a8850fcc12 => i cannot apply without conflicts in 5/6 files (include/uapi/linux/nl80211.h,net/mac80211/debugfs_sta.c,net/mac80211/main.c,net/mac80211/sta_info.c,net/mac80211/tx.c). except the debugfs-file i have solved them…but this one is tricky (and many changes overlapping)
after fixing them…there are many new errors…so new driver not usable for me (at least in 5.4)
net/mac80211/main.c: In function 'ieee80211_alloc_hw_nm':
net/mac80211/main.c:673:7: error: 'struct ieee80211_local' has no member named 'aql_threshold'
local->aql_threshold = IEEE80211_AQL_THRESHOLD;
^~
net/mac80211/main.c:673:25: error: 'IEEE80211_AQL_THRESHOLD' undeclared (first use in this function); did you mean 'IEEE80211_MAX_RTS_THRESHOLD'?
local->aql_threshold = IEEE80211_AQL_THRESHOLD;
^~~~~~~~~~~~~~~~~~~~~~~
IEEE80211_MAX_RTS_THRESHOLD
net/mac80211/main.c:673:25: note: each undeclared identifier is reported only once for each function it appears in
net/mac80211/main.c:674:19: error: 'struct ieee80211_local' has no member named 'aql_total_pending_airtime'
atomic_set(&local->aql_total_pending_airtime, 0);
^~
scripts/Makefile.build:265: recipe for target 'net/mac80211/main.o' failed
make[2]: *** [net/mac80211/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC [M] net/wireless/sysfs.o
net/mac80211/sta_info.c: In function 'ieee80211_sta_update_pending_airtime':
net/mac80211/sta_info.c:1908:25: error: 'struct airtime_info' has no member named 'aql_tx_pending'
&sta->airtime[ac].aql_tx_pending);
^
net/mac80211/sta_info.c:1910:32: error: 'struct ieee80211_local' has no member named 'aql_total_pending_airtime'
atomic_add(tx_airtime, &local->aql_total_pending_airtime);
^~
net/mac80211/sta_info.c:1916:30: error: 'struct airtime_info' has no member named 'aql_tx_pending'
&sta->airtime[ac].aql_tx_pending);
^
net/mac80211/sta_info.c:1920:36: error: 'struct airtime_info' has no member named 'aql_tx_pending'
atomic_cmpxchg(&sta->airtime[ac].aql_tx_pending,
^
net/mac80211/sta_info.c:1925:18: error: 'struct ieee80211_local' has no member named 'aql_total_pending_airtime'
&local->aql_total_pending_airtime);
^~
net/mac80211/sta_info.c:1930:24: error: 'struct ieee80211_local' has no member named 'aql_total_pending_airtime'
atomic_cmpxchg(&local->aql_total_pending_airtime,
^~
scripts/Makefile.build:265: recipe for target 'net/mac80211/sta_info.o' failed
any chance to fix only the mt7622 semaphore issue? as far as i see it checks status and this failes…maybe a sleep/delay may help?