Larry Finger
7f8451a86e
Remove wrapper rtw_mdelay_os()
...
This wrapper just calls mdelay(). Remove it.
Link: https://lore.kernel.org/r/20210805192644.15978-3-Larry.Finger@lwfinger.net
2021-10-11 12:57:06 +02:00
Carlos Garcés
5bc12edecb
Merge pull request #245 from CGarces/staging_cherrypick
...
Adapted commits from staging area
2021-10-11 12:18:18 +02:00
Carlos Garcés
cf246719f1
Remove wrapper for memset()
...
Link: 545d963a9e (diff-16d649c4743131c1aae5f812af5596dae6423bb63eaaf2990b8c89c9a681a913)
2021-10-11 12:09:34 +02:00
Carlos Garcés
76f68bbfcf
Remove hidden warnings from makefile
2021-10-11 12:05:35 +02:00
Larry Finger
fdbea81f08
Remove wrapper routine rtw_msleep_os()
...
The effect of this macro is to call msleep(). Remove the wrapper.
Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
1fcfef2e07
Remove rtw_yield_os()
...
This wrapper is just a call to yield().
Link: https://lore.kernel.org/r/20210805192644.15978-1-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
f1aa80a838
Remove more empty routines
...
After removing some empty routines in os_dep/osdep_service.c, new routines
become empty. These include rtw_mfree_stainfo(),
_rtw_free_sta_xmit_priv_lock(), and rtw_mfree_recv_priv_lock.
Link: https://lore.kernel.org/r/20210805183717.23007-5-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
51e1f13a91
Remove all calls to _rtw_spinlock_free()
...
This routine is empty, thus all calls to it can be removed.
Link: https://lore.kernel.org/r/20210805183717.23007-4-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
34ec238387
Remove wrapper around vfree
...
This call is so simple that there is no need, or use, for a wrapper.
Link: https://lore.kernel.org/r/20210805183717.23007-3-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
4d3d23dd24
Remove wrapper around do_div
...
Wrapper routine rtw_modular64() contains only a call to do_div() and
is used once in the code. Remove the wrapper.
Link: https://lore.kernel.org/r/20210803135223.12543-9-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Larry Finger
d7c3737cd5
Remove wrappers for atomic operations
...
These wrappers were useful when this driver had the hooks for Windows,
but are no longer needed.
Link: https://lore.kernel.org/r/20210802192721.23110-4-Larry.Finger@lwfinger.net
2021-10-11 10:44:02 +02:00
Phillip Potter
e8b235e056
correct set/defined but unused warnings from debug cleanup
...
This patch fixes an existing warning
related to an array within include/rtw_security.h not being used.
Link: https://lore.kernel.org/r/20210731133804.196631-1-phil@philpotter.co.uk
2021-10-11 10:44:01 +02:00
Greg Kroah-Hartman
6b5e7665c9
remove rtw_usb_control_msg() macro
...
It is a wrapper around usb_control_msg() that does nothing, so remove
the macro and just call the correct USB function instead in the one
place it is used.
Link: https://lore.kernel.org/r/20210730092417.1014392-12-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Greg Kroah-Hartman
904e95f373
remove rtw_usb_bulk_msg() macro
...
No one is using this wrapper macro, so just remove it as it is
pointless.
Link: https://lore.kernel.org/r/20210730092417.1014392-11-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Greg Kroah-Hartman
ca6e4a43f7
remove include/nic_spec.h
...
No one was including this file, so just remove it.
Link: https://lore.kernel.org/r/20210730092417.1014392-10-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Greg Kroah-Hartman
361918ceb1
remove unused enum _NIC_VERSION
...
None of these enumerated values were used anywhere in the driver, so
just remove them all.
Link: https://lore.kernel.org/r/20210730092417.1014392-9-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Greg Kroah-Hartman
ac1790da7c
remove rtw_mfree2d() function
...
It is just a wrapper around kfree(), so remove it and just call kfree()
instead.
Adaptation of: https://lore.kernel.org/r/20210730092417.1014392-7-gregkh@linuxfoundation.org
2021-10-11 10:44:01 +02:00
Larry Finger
1401b54fd0
Remove empty header file
...
File include/drv_types_linux.h is empty. Remove it.
Adaptation of: https://lore.kernel.org/r/20210729170930.23171-2-Larry.Finger@lwfinger.net
2021-10-10 23:13:31 +02:00
Carlos Garcés
bc765550ed
Merge pull request #246 from Mange/fix_ci
...
Fix libc6 dependency
2021-10-10 23:09:32 +02:00
Carlos Garcés
fa64647e38
Fix libc6 dependency
2021-10-10 23:02:43 +02:00
Carlos Garcés
4c9751be79
Merge pull request #244 from CGarces/fix_5.15
...
Fix buils with kernel 5.15
2021-10-09 13:46:06 +02:00
Carlos Garcés
59fd03940c
Fix for kernel 5.15
...
Fixed compilation warnings with GCC 11
Fix libc6 dependency 2.34
2021-10-09 13:33:01 +02:00
Carlos Garcés
5464196753
Merge pull request #236 from CGarces/fix_5.12
...
Fixed 5.12 support.
2021-05-12 09:43:22 +02:00
Carlos Garcés
4013a01fe6
Fix libc6 2.33 dependency
2021-05-11 23:17:21 +02:00
Carlos Garcés
09c5222d59
Fixed 5.12 support.
2021-05-10 19:06:13 +02:00
Carlos Garcés
ab35c7e967
Merge pull request #233 from CGarces/fix_5.12
...
Add kernel 5.12(+) (GRO_DROP removed) support
2021-04-03 16:53:01 +02:00
Carlos Garcés
e103b7c701
Merge pull request #232 from CGarces/centos8_fix
...
Add RHEL/CENTOS 8 support
2021-04-03 16:52:43 +02:00
Carlos Garcés
6a9f1c3ab1
Merge pull request #227 from Mange/kernel_5.11
...
Fix wireless regulatory API misuse
2021-04-03 16:52:22 +02:00
clnhub
ac90a311a3
Add kernel 5.12(+) (GRO_DROP removed) support
2021-04-03 14:46:24 +00:00
Carlos
48460503c0
Add RHEL/CENTOS 8 support
2021-04-01 15:37:13 +00:00
Carlos Garces
8fa56156a8
Fix wireless regulatory API misuse
...
Port of 81f153faac
2021-03-11 23:39:00 +01:00
Carlos Garcés
6a758d54cf
Merge pull request #226 from CGarces/github_actions
...
Improved github actions
2021-03-06 17:34:09 +01:00
Carlos Garces
d062e34d79
Improved github actions
...
Added step to detect misuse of USB_VENDOR_ID_REALTEK
Added check for duplicated USB IDs
Check for .deb files before download it
Move git checkout before build step
2021-03-06 17:13:00 +01:00
Carlos Garcés
7e8858e0df
Merge pull request #222 from glebm/realtek-4.4.x-fix-gcc10
...
Fix build with gcc-10 (-Wrestrict)
Close #221
2021-02-06 17:18:48 +01:00
Gleb Mazovetskiy
d6e1690ae8
Fix build with gcc-10 (-Wrestrict)
...
Fixes errors such as this:
```
os_dep/linux/ioctl_mp.c:611:4: warning: 'sprintf' argument 3 overlaps destination object 'extra' [-Wrestrict]
error, forbidden warning:ioctl_mp.c:611
611 | sprintf(extra, "%s,pathb=%d", extra, txpower_inx);
```
Fixes #221
2021-02-06 17:13:16 +01:00
Carlos Garcés
722ebf1e6d
Merge pull request #223 from CGarces/fix_build
...
Github actions enhancements
2021-02-06 14:01:36 +01:00
Carlos
742f7f5329
Set fail-fast to false to avoid cancel all builds due temporal errors on kernel versions
...
Removed verbose to wget commands
Forced dpkg command to allow compilation if .deb installations fails due dependencies not needed for build.
2021-02-06 12:47:57 +00:00
Carlos Garcés
faf68bbf82
Merge pull request #215 from CGarces/fix_5.11
...
Fix cfg80211_ch_switch_started_notify on kernel 5.11-rc3
2021-01-11 12:58:24 +01:00
Carlos Garcés
8133834ebe
Fix cfg80211_ch_switch_started_notify on kernel 5.11-rc3
...
See 669b84134a
2021-01-11 11:12:16 +00:00
Carlos Garcés
b7faffdd77
Merge pull request #211 from CGarces/test_actions
...
Migrate travis CI to github actions
2020-12-19 01:06:25 +01:00
Carlos Garces
f211318f2b
Migrate travis CI to github actions
2020-12-19 00:59:23 +01:00
Carlos Garcés
c1cbf44db8
Merge pull request #209 from CGarces/fix_openWRT
...
Force get sta_info.h from include folder
2020-12-17 21:56:29 +01:00
Carlos Garces
2f31fe5ecd
Force get sta_info.h from include folder
2020-12-14 12:58:56 +01:00
Carlos Garcés
2ff6fb4f87
Merge pull request #201 from CGarces/kernel_5.10
...
Fix Kernel compilation 5.10-rc1
2020-11-12 10:46:15 +01:00
Carlos
8ba6813bfd
Fix Kernel compilation 5.10-rc1
...
Adapt code due set_fs() removal
See f56e65dff6
2020-11-10 22:09:15 +00:00
Carlos Garcés
64c8f5f3dc
Merge pull request #202 from CGarces/fix_c90
...
Fix compilation warnings
2020-10-31 19:09:04 +01:00
Carlos Garces
326965ada9
Fix fallthrough errors
2020-10-31 18:39:03 +01:00
Carlos Garces
281e328b33
Update kernels to last LTS
2020-10-31 18:38:25 +01:00
Carlos Garces
b6a5f1bce9
Fix c90 errors
2020-10-31 18:27:48 +01:00
Carlos Garcés
1628c748ce
Merge pull request #196 from 5kft/fix-v5.9-compatibility
...
fix Kconfig compatibility for kernel v5.9
2020-10-04 12:03:46 +02:00