Commit graph

42 commits

Author SHA1 Message Date
Juan José Gutiérrez de Quevedo Pérez be07a12d4b delete unused variables 2021-03-27 22:03:09 +01:00
Juan José Gutiérrez de Quevedo Pérez 5d8efec3f6 fix for interface changes 2021-03-27 22:02:36 +01:00
Dalton Durst 2371a976e3 Fix invalid write in proc_get_ps_info
'str' in this context is a single-byte "buffer" in read-only memory.
This means that initializing 8723cs with  rtw_power_mgnt > 3 allows the
user to cause a kernel oops by reading /proc/net/rtl8723cs/[dev]/ps_info

Signed-off-by: Dalton Durst <dalton@ubports.com>
2020-06-27 10:57:41 +08:00
Ondrej Jirman 238f62cf18 8723cs: Port to Linux 5.8 2020-06-16 04:38:10 +08:00
Icenowy Zheng 700d05d54f bump DKMS version
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-03-02 19:59:29 +08:00
Icenowy Zheng 53c6d71bd0 fix WoWLAN code ( I don't know whether it works)
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-02-27 14:41:28 +08:00
Icenowy Zheng bb8a4961be support OOB interrupt
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-02-27 14:25:52 +08:00
Icenowy Zheng ab6b5789a6 adapt for 5.6
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-02-11 23:37:25 +08:00
Icenowy Zheng d7db077004 enable 802.11w
Signed-off-by: Icenowy Zheng <icenowy@aosc.io]>
2019-08-26 11:20:06 +08:00
Icenowy Zheng 80a39dd7a5 raise version for dkms
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-07-31 00:01:32 +08:00
Icenowy Zheng bfbc99c7c3 ap fill by armbian
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-07-30 23:45:58 +08:00
Icenowy Zheng 6669517a16 raise version for dkms
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-07-28 22:57:04 +08:00
Icenowy Zheng 1c9c0cb9d3 fix for 5.3
Please note to build it on v5.3-rc1 the commit
91046d6364afde646734c7ead1f649d253c386e9 from Linux master needs to be
backported.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-07-24 21:30:19 +08:00
Icenowy Zheng 9c9ed5935d gitignore: add *.mod
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-07-24 20:40:21 +08:00
Pascal de Bruijn 5ca4640a03 hal_mp: fix local variable initialization
hal/hal_mp.c:1072:10: warning: statement will never be executed [-Wswitch-unreachable]
   u1Byte p = 0, i = 0;
2019-07-24 17:57:48 +08:00
Pascal de Bruijn f4b84229fa core: fix some misleading indentation 2019-07-24 17:57:48 +08:00
Pascal de Bruijn 67c5991b70 fix for 5.2
drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c:986:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_select_queue = rtw_select_queue,
                      ^~~~~~~~~~~~~~~~
drivers/staging/rtl8723cs/os_dep/linux/os_intfs.c:986:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
2019-07-24 17:57:48 +08:00
Pascal de Bruijn 861cbb2029 Disable CONFIG_POWER_SAVING by default
As power saving seems to be broken
2019-06-30 22:42:33 +08:00
Pascal de Bruijn cc5244f34c expand Kconfig for in-tree builds 2019-06-30 22:42:33 +08:00
Pascal de Bruijn 372ab79b23 fix DRIVER_PREFIX to properly identify as rtl8723cs 2019-06-30 22:42:33 +08:00
Icenowy Zheng 9c0c3e51ae fix for 5.1
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-04-02 19:17:10 +08:00
Icenowy Zheng 48ec8c3015
Merge pull request #2 from anarsoul/master
Adapt for 5.0
2019-02-15 22:06:23 +08:00
Vasily Khoruzhick 4a5e01f831 Adapt for 5.0
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2019-01-25 22:34:36 -08:00
Icenowy Zheng f9549e2c8a adapt for 4.20
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-11-07 09:09:41 +08:00
Icenowy Zheng 625771d2ff raise version for dkms
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-08-15 12:38:51 +08:00
Icenowy Zheng 11f05c3e5d lower the debug level of alloc recvbuf fail message
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-08-15 12:38:40 +08:00
Icenowy Zheng 20a4b03c88 fix build on 4.19 (tested on next-20180814)
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-08-15 12:35:45 +08:00
Icenowy Zheng 092109a09d raise version for dkms
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-06-18 09:58:30 +08:00
Icenowy Zheng 23dcfc655f fix 4.14-
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-06-18 09:09:48 +08:00
Icenowy Zheng fd2166f091 fix suspend
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-06-18 02:06:28 +08:00
Icenowy Zheng 27d3c96abc Update for kernel 4.15
This commit adds support for kernel 4.15, which changed the timer
interface.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-12-20 00:18:22 +08:00
Icenowy Zheng 3fed0ea245 hide nolinked power save info
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-10-27 17:16:34 +08:00
Icenowy Zheng cf550bba1d Disable eFUSE from file
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-10-27 17:10:23 +08:00
Icenowy Zheng 46af4a47fb Merge pull request #1 from anarsoul/master
Fix build on 4.13
2017-10-21 00:35:57 +08:00
Vasily Khoruzhick 0f5044b779 Fix build on 4.13
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
2017-09-26 20:12:53 -07:00
Icenowy Zheng d255c74de5 fix for 4.11.10 kernel
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-07-15 01:09:04 +08:00
Icenowy Zheng 8d0c180b73 fix build on 4.11
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
2017-03-18 16:31:47 +08:00
Icenowy Zheng 942fadc305 Ported MAC from DT patch by Hans de Goede
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
2017-02-25 19:08:06 +08:00
Icenowy Zheng 89c045ff47 add .gitignore and make it buildable on current linux-next
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
2017-02-25 18:31:16 +08:00
Kamil Trzciński d019573693 Add modules_install 2017-01-30 21:38:01 +01:00
Kamil Trzcinski 8ca479f10c
Fix Makefile 2017-01-30 21:37:00 +01:00
Kamil Trzcinski 6b2045b110 initial commit 2017-01-30 21:28:09 +01:00