Giter Club home page Giter Club logo

Comments (11)

Phosphenius avatar Phosphenius commented on September 23, 2024 1

I've experienced the same problem yesterday on Arch Linux. With the LTS kernel (5.15), it does work perfectly fine though.

Maybe I can look into these API changes when I find some time for it, but that won't be in the next 10 days.

from rtl8852be.

lexiaoyao12138 avatar lexiaoyao12138 commented on September 23, 2024 1

Every time the kernel is updated, there is an API interface change, and then all drivers have to be changed. This is arch Linux?

Yes, this is archlinux. After upgrading the kernel to 5.18.1 yesterday, the compilation failed. Now it has been downgraded to 5.17.9. As I am not familiar with this knowledge, this question is for your reference.

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

This seems to be due to a change in the API interface.
Try changing "pci_" to "dma_" might fix the problem?

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

Every time the kernel is updated, there is an API interface change, and then all drivers have to be changed. This is arch Linux?

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

@Phosphenius @lexiaoyao12138
Ref1
Ref2
Theoretically, by changing this API, the code can adapt to the latest kernel (I think), but more tests are needed

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

I have just push a new version on "dev" branch, hope you test for it when available, thanks.

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

I have just build it successfully using kernel5.18.0-1-MANJARO, with "a fair amount of compiler warnings", expect more hardware testing and feedback.

from rtl8852be.

Phosphenius avatar Phosphenius commented on September 23, 2024

Thank you so much! Your work is very much appreciated.

I can now successfully build against 5.18.1-arch1-1 and so far the WiFi is working perfectly with some occasional errors showing up in dmesg.

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

Thank you so much! Your work is very much appreciated.

I can now successfully build against 5.18.1-arch1-1 and so far the WiFi is working perfectly with some occasional errors showing up in dmesg.

Did you mean _rtw_memcpy(pnetdev->dev_addr, mac, ETH_ALEN);
That‘s an existing bug, I’ll check it out, any ideas are welcomed.

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

Actually, The latest update on code(with a mount of #ifdef) looks ugly. I truly believe the newer kernel (>5.18) delete the ‘’pci-dma-compat.h’’ , but I’m not sure since other network repo didn’t bring out related issue.

from rtl8852be.

HRex39 avatar HRex39 commented on September 23, 2024

Actually, The latest update on code(with a mount of #ifdef) looks ugly. I truly believe the newer kernel (>5.18) delete the ‘’pci-dma-compat.h’’ , but I’m not sure since other network repo didn’t bring out related issue.

Alright, the API change is here.
torvalds/linux@a2e7596

from rtl8852be.

Related Issues (13)

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.