Commit Graph

154 Commits

Author SHA1 Message Date
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
Carlos Garcés
6877344343
Merge pull request #195 from pterjan/patch-1
Fix the 5.8 fix
2020-10-04 12:03:13 +02:00
5kft
9b82410c07
fix Kconfig compatibility for kernel v5.9 2020-08-29 10:10:52 -07:00
Pascal Terjan
827a02287a Fix the 5.8 fix
The original fix stopped calling cfg80211_rtw_mgmt_frame_register.
2020-08-23 17:05:47 +00:00
Carlos Garcés
6d2705d802
Merge pull request #194 from 5kft/fix-startup-traps
rtl8192eu: Fix driver startup traps in rtw_cfg80211_ch_switch_notify
2020-08-18 09:46:16 +02:00
5kft
28c2e151e1
rtl8192eu: Fix driver startup traps in rtw_cfg80211_ch_switch_notify
These changes are a backport of associated newer changes made in the v5.6.4.2
rtl8812au driver, and correct problems in the previous initialization process
that caused multiple kernel traps on startup.
2020-08-17 19:33:52 -07:00
Carlos Garcés
925ac2be34
Merge pull request #185 from yagoplx/realtek-4.4.x
Fix typo in MTPC
2020-06-20 13:12:28 +02:00
yagoplx
e527c271c9 Fix typo in MTPC 2020-06-19 15:16:02 -03:00
Carlos Garcés
ea7cfbd672
Merge pull request #184 from yagoplx/realtek-4.4.x
Add AP info, Add Compile-Time Transmit Power Fixing & Boost
2020-06-19 20:01:39 +02:00
yagoplx/y
666bfeb0f0 Add AP info, Add Compile-Time Transmit Power Fixing & Boost
Turns out these devices can serve as really decent access points.
Adding txpower control info as well. See my other PR.

This is in a separate PR because the readme instructed to do so.

Update README.md

Move my lines more to the bottom

 Implement simple transmit power boost and fixed setting

Source: 80b9bc47b3

Turns out the "higher levels" of this driver are not actually able to affect the device's physical power output, like via cfg80211, yet.
After some extensive testing I finally found the code responsible for setting the device's power and added some compile-time
tunables to influence it. For example here we give the transmit power index a tiny boost of two, which can be changed by the user via the source.

This is as far as my skills go so if you want to try and make this accessible to iw and iwconfig please give it a go.
Note that this will take an index between 1 (min power the device can put out) and 63 (max power the device can put out). I have no idea what these values actually translate to in dBm, but setting the override to max, 63, on my rtl card really gave range a boost.

Add AP and TXPOWER CONTROL info

Turns out these devices can serve as really decent access points.
Adding txpower control info as well. See my other PR.

This is in a separate PR because the readme instructed to do so.

Update README.md

Move my lines more to the bottom

 Implement simple transmit power boost and fixed setting

Source: 80b9bc47b3

Turns out the "higher levels" of this driver are not actually able to affect the device's physical power output, like via cfg80211, yet.
After some extensive testing I finally found the code responsible for setting the device's power and added some compile-time
tunables to influence it. For example here we give the transmit power index a tiny boost of two, which can be changed by the user via the source.

This is as far as my skills go so if you want to try and make this accessible to iw and iwconfig please give it a go.
Note that this will take an index between 1 (min power the device can put out) and 63 (max power the device can put out). I have no idea what these values actually translate to in dBm, but setting the override to max, 63, on my rtl card really gave range a boost.

Add AP and TXPOWER CONTROL info

Turns out these devices can serve as really decent access points.
Adding txpower control info as well. See my other PR.

This is in a separate PR because the readme instructed to do so.

Update README.md

Move my lines more to the bottom

 Implement simple transmit power boost and fixed setting

Source: 80b9bc47b3

Turns out the "higher levels" of this driver are not actually able to affect the device's physical power output, like via cfg80211, yet.
After some extensive testing I finally found the code responsible for setting the device's power and added some compile-time
tunables to influence it. For example here we give the transmit power index a tiny boost of two, which can be changed by the user via the source.

This is as far as my skills go so if you want to try and make this accessible to iw and iwconfig please give it a go.
Note that this will take an index between 1 (min power the device can put out) and 63 (max power the device can put out). I have no idea what these values actually translate to in dBm, but setting the override to max, 63, on my rtl card really gave range a boost.
2020-06-18 18:04:01 -03:00
Carlos Garcés
2bd66378a6
Merge pull request #182 from CGarces/fix_travis
Update to kernel 5.8-rc1
2020-06-15 23:07:06 +02:00
Carlos
f0a1b30419 Fix kernel 5.8 compilation 2020-06-15 22:35:08 +02:00
Carlos
ee34be26ff Fix parsing of https://kernel.ubuntu.com/~kernel-ppa/mainline/ 2020-06-15 22:11:37 +02:00
Carlos Garcés
19601b6e66
Merge pull request #181 from CGarces/arm64_fix
Fix CONFIG_PLATFORM_ARM_AARCH64 compilation
2020-05-21 01:34:13 +02:00