Code Monkey home page Code Monkey logo

rtw88_8723de's People

Contributors

computersforpeace avatar gustavoarsilva avatar joeperches avatar nathanchance avatar pkshih avatar starnight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rtw88_8723de's Issues

Error when try to build the driver

Hi,

Debian 10.6 Linux 4.19.0-12-amd64 x86_64

Thank you very much for this driver.

When I try to do make according to the README file I get this error:

CC [M] /home/user/Downloads/rtw88_8723de-master/rtw8822b.o
In file included from /usr/src/linux-headers-4.19.0-12-common/include/asm-generic/bug.h:18,
from /usr/src/linux-headers-4.19.0-12-common/arch/x86/include/asm/bug.h:83,
from /usr/src/linux-headers-4.19.0-12-common/include/linux/bug.h:5,
from /usr/src/linux-headers-4.19.0-12-common/include/net/mac80211.h:19,
from /home/user/Downloads/rtw88_8723de-master/main.h:8,
from /home/user/Downloads/rtw88_8723de-master/rtw8822b.c:5:

/usr/src/linux-headers-4.19.0-12-common/include/linux/kernel.h:72:25: error: expected declaration specifiers or ‘...’ before ‘(’ token

#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
/home/user/Downloads/rtw88_8723de-master/rtw8822b.c:2255:15: note: in expansion of macro ‘ARRAY_SIZE’
static_assert(ARRAY_SIZE(rf_para_tx_8822b) == ARRAY_SIZE(rf_para_rx_8822b));
^~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-4.19.0-12-common/scripts/Makefile.build:309: /home/user/Downloads/rtw88_8723de-master/rtw8822b.o] Fehler 1
make[3]: *** [/usr/src/linux-headers-4.19.0-12-common/Makefile:1565: module/home/user/Downloads/rtw88_8723de-master] Fehler 2
make[2]: *** [Makefile:146: sub-make] Fehler 2
make[1]: *** [Makefile:8: all] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.19.0-12-amd64“ wird verlassen
make: *** [Makefile:44: all] Fehler 2

Could you please help me with this problem?
I am relative new to Linux.

Thank you

LAN broken on Archlinux, Kernel 5.8

When i upgraded to the latest kernel on archlinux (5.8) and connect with sshfs (ssh filesystem) to any device inside my wifi's lan, the remote device work for a few minutes (1 o 2) or before a file's refresh or a heavy operation (copy a file or create directory); after that, the device is not detected anymore and all pings to this devices, fails, so i need to reconnect to the wifi's lan again, for make it to work, losing all progress done in sshfs.

This problem is given only with this driver (rtw88_8723de) introduced on Kernel 5.8, but when i used the driver rtl8723de from this source: https://github.com/smlinux/rtl8723de, all works fine and sshfs works perfect on previous kernel releases (5.6 and 5.7). But with the newest version, is impossible to use the driver rtl8723de and replace this driver (rtw88_8723de), so i stuck on wifi's lan problem described before, when use newest version of kernel. For "fix" the problem, i rollback the whole distribution to the date: 2020-07-29, and use the driver (rtl8723de), so with this setup all works ok. But i can't upgrade anything, because of this new driver.

error on file

make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/main.o /home/parrot/Downloads/rtw88_8723de-master/main.c: In function ‘hw_bw_cap_to_bitamp’: /home/parrot/Downloads/rtw88_8723de-master/main.c:478:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | bw |= BIT(RTW_CHANNEL_WIDTH_80); /home/parrot/Downloads/rtw88_8723de-master/main.c:480:2: note: here 480 | case EFUSE_HW_CAP_SUPP_BW40: | ^~~~ /home/parrot/Downloads/rtw88_8723de-master/main.c:481:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 481 | bw |= BIT(RTW_CHANNEL_WIDTH_40); /home/parrot/Downloads/rtw88_8723de-master/main.c:483:2: note: here 483 | default: | ^~~~~~~ CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2 ┌─[✗]─[parrot@parrot-hplaptop15bs0xx]─[~/Downloads/rtw88_8723de-master] └──╼ $make make -C /lib/modules/5.18.0-14parrot1-amd64/build M=/home/parrot/Downloads/rtw88_8723de-master make[1]: Entering directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' CC [M] /home/parrot/Downloads/rtw88_8723de-master/mac80211.o /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: error: initialization of ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_prep_tx_info *)’ from incompatible pointer type ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, u16)’ {aka ‘void (*)(struct ieee80211_hw *, struct ieee80211_vif *, short unsigned int)’} [-Werror=incompatible-pointer-types] 741 | .mgd_prepare_tx = rtw_ops_mgd_prepare_tx, | ^~~~~~~~~~~~~~~~~~~~~~ /home/parrot/Downloads/rtw88_8723de-master/mac80211.c:741:21: note: (near initialization for ‘rtw_ops.mgd_prepare_tx’) cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/scripts/Makefile.build:294: /home/parrot/Downloads/rtw88_8723de-master/mac80211.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.18.0-14parrot1-common/Makefile:1862: /home/parrot/Downloads/rtw88_8723de-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-14parrot1-amd64' make: *** [Makefile:44: all] Error 2
I am trying to install this package and getting this error, what I can do here?

8723de stops working after S3 resume

[ 158.852695] wlp5s0: authenticate with 18:9c:5d:31:3f:e0
[ 158.998961] wlp5s0: send auth to 18:9c:5d:31:3f:e0 (try 1/3)
[ 159.000315] wlp5s0: authenticated
[ 159.003197] wlp5s0: associate with 18:9c:5d:31:3f:e0 (try 1/3)
[ 159.007243] wlp5s0: RX AssocResp from 18:9c:5d:31:3f:e0 (capab=0x431 status=0 aid=3)
[ 159.007259] rtw_pci 0000:05:00.0: sta 18:9c:5d:31:3f:e0 joined with macid 0
[ 159.118424] wlp5s0: associated
[ 159.118976] wlp5s0: deauthenticated from 18:9c:5d:31:3f:e0 (Reason: 2=PREV_AUTH_NOT_VALID)
[ 159.127266] rtw_pci 0000:05:00.0: sta 18:9c:5d:31:3f:e0 with macid 0 left

Rebased the patches on top of Dave Miller's net-next tree, the issue is still reproducible.

Full dmesg:
https://pastebin.ubuntu.com/p/CyZbCcd9sk/

Please upstream the firmware

So downstream distros can pull the firmware from linux-firmware.
Or provides proper license file. The upstream route is more preferred though.

8821ce support

IIRC, 8821ce support is planned to upstream in 2020.
Is it possible to put the code drop in this repo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.