astsam / mt7921 Goto Github PK
View Code? Open in Web Editor NEWBackport mt7921u driver
License: GNU General Public License v3.0
Backport mt7921u driver
License: GNU General Public License v3.0
make -C /lib/modules/5.10.110-rockchip-rk3588//build/ M=/home/dmarkey/mt7921
CC [M] /home/dmarkey/mt7921/mt76/mt76x0/usb.o
In file included from /home/dmarkey/mt7921/mt76/mt76x0/../mt76x02.h:12,
from /home/dmarkey/mt7921/mt76/mt76x0/mt76x0.h:20,
from /home/dmarkey/mt7921/mt76/mt76x0/usb.c:10:
/home/dmarkey/mt7921/mt76/mt76x0/../mt76.h:1192:38: warning: 'struct cfg80211_sar_specs' declared inside parameter list will not be visible outside of this definition or declaration
error, forbidden warning:mt76.h:1192
1192 | const struct cfg80211_sar_specs *sar);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/dmarkey/mt7921/mt76/mt76x0/usb.c:10:
/home/dmarkey/mt7921/mt76/mt76x0/mt76x0.h:53:39: warning: 'struct cfg80211_sar_specs' declared inside parameter list will not be visible outside of this definition or declaration
error, forbidden warning:mt76x0.h:53
53 | const struct cfg80211_sar_specs *sar);
| ^~~~~~~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:10: error: 'const struct ieee80211_ops' has no member named 'set_sar_specs'
144 | .set_sar_specs = mt76x0_set_sar_specs,
| ^~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:26: error: initialization of 'int (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_channel *, int, enum ieee80211_roc_type)' from incompatible pointer type 'int (*)(struct ieee80211_hw *, const struct cfg80211_sar_specs *)' [-Werror=incompatible-pointer-types]
144 | .set_sar_specs = mt76x0_set_sar_specs,
| ^~~~~~~~~~~~~~~~~~~~
/home/dmarkey/mt7921/mt76/mt76x0/usb.c:144:26: note: (near initialization for 'mt76x0u_ops.remain_on_channel')
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:273: /home/dmarkey/mt7921/mt76/mt76x0/usb.o] Error 1
make[3]: *** [scripts/Makefile.build:516: /home/dmarkey/mt7921/mt76/mt76x0] Error 2
make[2]: *** [scripts/Makefile.build:516: /home/dmarkey/mt7921/mt76] Error 2
make[1]: *** [Makefile:1920: /home/dmarkey/mt7921] Error 2
make: *** [Makefile:35: default] Error 2
5.10.110-rockchip-rk3588
Any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.