Giter Site home page Giter Site logo

rtl8723cs's Introduction

rtl8723cs

this is https://github.com/megous/linux/tree/orange-pi-5.18/drivers/staging/rtl8723cs as an own repo to have a version of this driver which compiles well against newer mainline kernels (v5.18 currently).

the own repo is just to make it easier to clone and integrate it into other kernel trees.

it was taken from the git revision c57ae638a569563b439485d0fb0eb48ca1af42d1 (as the last one of the above mentioned directory) of that repo.

rtl8723cs's People

Contributors

hexdump0815 avatar

Watchers

James Cloos avatar  avatar

rtl8723cs's Issues

Doesn't compile on kernel 5.19

Hi,

After upgrading to kernel 5.19, the rtl8723cs can't be compiled

/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:2522:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 2522 |                 struct cfg80211_scan_info info;
      |                 ^~~~~~
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c: At top level:
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:6890:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *)’ [-Werror=incompatible-pointer-types]
 6890 |         .stop_ap = cfg80211_rtw_stop_ap,
      |                    ^~~~~~~~~~~~~~~~~~~~
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:6890:20: note: (near initialization for ‘rtw_cfg80211_ops.stop_ap’)
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_unregister’:
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:7121:17: error: ‘struct wireless_dev’ has no member named ‘current_bss’
 7121 |         if (wdev->current_bss) {
      |                 ^~
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_change_iface’:
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:1843:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1843 |                 is_p2p = _TRUE;
/usr/src/realtek-rtl8723cs-0.0~git20210902.0fb0c24/os_dep/linux/ioctl_cfg80211.c:1845:9: note: here
 1845 |         case NL80211_IFTYPE_STATION:
      |         ^~~~

Any fix soon ?

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.