Commit Graph

135 Commits

Author SHA1 Message Date
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
Carlos Garcés
9fb2fa2c20 Add arm64 to build matrix 2020-05-21 01:21:41 +02:00
Carlos
4866155a03 Add cflags to use cfg80211 driver on ARCH64 2020-05-20 22:25:25 +02:00
Carlos Garcés
d1dd479fdd
Merge pull request #180 from CGarces/fix_vla
Hide vla warnings
2020-05-20 21:41:37 +02:00
Carlos Garces
57572dfd91 Hide vla warnings 2020-05-06 22:21:38 +00:00
Carlos Garcés
357550005c
Merge pull request #175 from CGarces/fix_Warnings
Fix compilation warnings on kernels >=5.6
2020-04-26 13:44:11 +02:00
Carlos Garces
02e23dbf71 add proc_ops for kernel 5.6 2020-04-26 13:24:18 +02:00
Carlos Garces
d3c6644e10 Fix compilation warnings instead of ignore it. 2020-04-26 13:11:30 +02:00
Carlos Garcés
4868187fe6
Merge pull request #173 from CGarces/fix_arm64
Fix missing CONFIG_PLATFORM_ARM_AARCH64 config option
2020-04-23 22:11:05 +02:00
Carlos Garcés
7348fb937e
Merge pull request #174 from CGarces/travis_cron
Update Travis CI
2020-04-23 22:01:41 +02:00
Carlos Garces
daa46ca676 Update Travis CI
Add support for Travis CI cron jobs
Enable ccache
Renamed internal variables.
Use environment variable for arch instead of fixed value.
Fetch stable and mainline kernel version dynamically.
Removed manual jobs and use Travis matrix expansion.
Updated GCC to 7.5
2020-04-23 21:52:04 +02:00
Carlos Garces
aefdc2f487 Fix missing CONFIG_PLATFORM_ARM_AARCH64 config option
Removed after 1d807f14d8
2020-04-23 21:42:18 +02:00
Carlos Garcés
d46ed0a076
Merge pull request #171 from diamondo25/patch-1
Fix missing ARM_RPI config option
2020-04-21 20:47:40 +02:00
Erwin Oegema
d7370374b8
Fix missing ARM_RPI config option 2020-04-21 16:04:37 +02:00
Carlos Garcés
04b1653589
Merge pull request #170 from CGarces/fix_ielen
rtl8192eu: Fix "ielen" not initialized
2020-04-19 22:54:35 +02:00
默默
b1c290c001
Add TMall MagicAP support
Co-authored-by: Carlos Garcés <CGarces@users.noreply.github.com>
2020-04-19 22:51:50 +02:00
Carlos Garces
9092dc6bd7 rtl8192eu: Fix "ielen" not initialized 2020-04-19 22:16:46 +02:00
Carlos Garcés
f5cf0ff09a
Merge pull request #169 from CGarces/update_5.6
Update Travis CI configuration
2020-04-19 17:03:16 +02:00
Carlos Garces
4672bae36a Update Travis CI configuration
Updated with all kernels from https://www.kernel.org/
Kernel mainline version fetch from kernel.org instead of hardcode it.
Fixed minor warnings on Travis configuration.
Simplified URL extraction
2020-04-19 16:14:54 +02:00
Carlos Garcés
83b5aff2a5
Merge pull request #159 from CGarces/fix_5.4
Fix for kernel 5.4
2020-01-23 00:25:10 +01:00