Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1313 commits
Select commit Hold shift + click to select a range
ac96d9d
Fix kernel hang with active keepalive disabled
llccd May 20, 2020
bc60f42
Merge pull request #649 from llccd/v5.6.4.2
kimocoder May 20, 2020
fc0194c
Merge pull request #644 from 1Jeff1/HW17ACU
kimocoder May 20, 2020
df2b8df
Update README.md
kimocoder May 29, 2020
4df235b
Fix travis build
CGarces Jun 15, 2020
1b86121
rtl8812a: do not overwrite sequence number of injected frames
vanhoefm Jun 26, 2020
849bbf0
rtl8812a: add module parameter to retransmit injected frames
vanhoefm Jun 26, 2020
cb2fb9a
Merge pull request #661 from vanhoefm/v5.6.4.2
kimocoder Jun 26, 2020
58f6be2
Merge pull request #657 from CGarces/patch-1
kimocoder Jun 26, 2020
0a3f017
Fix compilation error with 5-8-rc1
CGarces Jul 10, 2020
058ef81
Merge pull request #673 from CGarces/kernel_5.9
kimocoder Jul 10, 2020
4339edf
Add checks for p->length and remove some goto statements
kimocoder Jul 12, 2020
cd02bae
Fix connection on resume when CONFIG_ANDROID enabled
kimocoder Jul 12, 2020
b742160
Modify makefile to handle empty INSTALL_MOD_PATH
kimocoder Jul 12, 2020
a6e3593
Fix outdated timer_init in BTCOEX routines
kimocoder Jul 12, 2020
8d4ac74
Let the linker optimize things as it thinks is best
kimocoder Jul 12, 2020
c266829
Allow a little extra size for rtw_hostapd_ioctl() packets
kimocoder Jul 12, 2020
8a9ae52
Return zero length output to SIOCGIWESSID when not connected
kimocoder Jul 12, 2020
72f409d
Fix a possible NUMM dereference
kimocoder Jul 12, 2020
660bcb8
rtl8814a: do not overwrite sequence number of injected frames
kimocoder Jul 12, 2020
156e96f
Add Travis check for GCC-10
kimocoder Jul 12, 2020
d6607fe
Fix implicit declaration of ‘rtw_resume_process’
kimocoder Jul 12, 2020
bff1fe3
Minor cleanup
kimocoder Jul 12, 2020
cddf06a
Fix build when CONFIG_USB_SUSPEND is defined
kimocoder Jul 12, 2020
e65b190
Remove unused includes
kimocoder Jul 12, 2020
57c7564
Optimize kernel includes
kimocoder Jul 12, 2020
b3bf74a
Fix wrong header guards - found by clang
kimocoder Jul 12, 2020
4b6c218
Fix multiple warnings when using clang
kimocoder Jul 12, 2020
52f38dd
-frename-registers is already in -O3
kimocoder Jul 12, 2020
b6ff9e4
Get rid of few compiler warnings
kimocoder Jul 12, 2020
b79883b
Some minor optimizations
kimocoder Jul 12, 2020
8da5086
Removed 'bc' from dependencies
kimocoder Jul 12, 2020
5323c74
Update Travis CI to add GCC-10
kimocoder Jul 12, 2020
c36640c
Implement simple transmit power boost and override
kimocoder Jul 12, 2020
afb5c17
Implement simple transmit power boost and override 2/2
kimocoder Jul 12, 2020
9ec3a13
Fix a Makefile issue
Jul 15, 2020
b03bd4b
Fix cross compilation
Roman3349 Jul 23, 2020
7b6ba9b
added device Edimax EW-7611UCB (Realtek RTL8821AU)
Jul 26, 2020
39f3403
Merge pull request #684 from Donneker/v5.6.4.2
kimocoder Jul 26, 2020
0138e83
bugfix: Wrap newer construct to allow build on kernel <4.18
Hurricos Jul 31, 2020
5f39eab
Merge pull request #681 from Roman3349/fix-cross-compilation
kimocoder Aug 1, 2020
0df6a65
Merge pull request #689 from Hurricos/v5.6.4.2
kimocoder Aug 1, 2020
29d1cdd
bugfix: initialize cfg80211_chan_def structure to zero to fix nl80211…
5kft Aug 9, 2020
e90626b
Fixed kernel v5.8 support
kimocoder Aug 16, 2020
06aa361
Update dkms.conf version
kimocoder Aug 16, 2020
f4d84c9
Merge pull request #699 from 5kft/chandef-init-fix
kimocoder Aug 16, 2020
df79a51
fix Kconfig compatibility for kernel v5.9
5kft Aug 29, 2020
006c821
Merge pull request #713 from 5kft/v5.6.4.2-fix-kconfig
kimocoder Aug 29, 2020
d4f1921
bugfix: report 48M not 46.5M
kimocoder Sep 19, 2020
07c704c
radiotap tx support for injection
kimocoder Sep 19, 2020
4a6d10f
Makefile: Simplify DKMS install/remove
kimocoder Oct 9, 2020
2801378
Makefile: simplify DKMS install/removal
kimocoder Oct 9, 2020
f9efa3a
Makefile: escape grep in DRIVER_VERSION variable
payano Oct 16, 2020
958bb8d
Merge pull request #753 from payano/v5.6.4.2
kimocoder Oct 16, 2020
0f4e46f
Turned 8814au chipset OFF
kimocoder Oct 19, 2020
91178ac
Update README.md
kimocoder Oct 19, 2020
8cdd115
Update README.md
kimocoder Oct 19, 2020
d6233ea
Update README.md
kimocoder Oct 19, 2020
e9fbf5c
Update README.md
kimocoder Oct 19, 2020
e31df90
issue 766: fix warnings about 'statement with no effect'
pprindeville-wti Nov 4, 2020
3325543
issue #768: don't apply ARM options to ARM64
pprindeville-wti Nov 4, 2020
ee9619b
Fix kernel 5.10-rc1
CGarces Nov 8, 2020
b3cd835
Update README.md
brkeh Nov 28, 2020
43af1cd
Fix Raspbian Buster Instructions for v5.6.4.2
gaffneyd4 Dec 9, 2020
4573749
Merge pull request #773 from CGarces/fix_kernel_5.10
kimocoder Dec 22, 2020
62cb003
Merge pull request #791 from gaffneyd4/patch-1
kimocoder Dec 22, 2020
438738d
Migrate travis CI to github actions
CGarces Dec 23, 2020
5521bf9
Merge pull request #798 from CGarces/github_actions
kimocoder Dec 23, 2020
1b71153
Merge pull request #779 from brkeh/patch-1
kimocoder Dec 27, 2020
d160214
Merge pull request #767 from pprindeville/issue#766
kimocoder Dec 27, 2020
2365ad5
README.md: Fix bold text formatting
kuanyili Dec 28, 2020
ad351bd
Merge pull request #800 from kuanyili/fix-bold-text
kimocoder Dec 28, 2020
2686ea8
Merge pull request #769 from pprindeville/issue#768
kimocoder Dec 30, 2020
689bc8c
Fix memory leak
CGarces Jan 11, 2021
18453b4
Fix cfg80211_ch_switch_started_notify on kernel 5.11-rc3
CGarces Jan 11, 2021
4feb712
Merge pull request #811 from CGarces/patch-2
kimocoder Jan 11, 2021
64e7aaa
Merge pull request #810 from CGarces/fix_kernel_5.10_patch
kimocoder Jan 11, 2021
71baec2
Fix error on arm builds
CGarces Jan 14, 2021
059e06a
Merge pull request #814 from CGarces/patch-3
kimocoder Jan 18, 2021
2e50883
Add ability to get the current channel by iw utility, based on the pa…
astsam Jan 21, 2021
4617974
Allow inject management and control frames
astsam Jan 24, 2021
0893f2c
Get per rx path rssi info for CCK modulation
astsam Jan 24, 2021
5e66b87
Add missing 5GHz channels
astsam Jan 25, 2021
5e61763
Add low frequency 5GHz band
astsam Jan 27, 2021
b65dcf4
Merge pull request #823 from astsam2/v5.6.4.2
kimocoder Feb 3, 2021
37d2ab4
Fix error creating an access point below channel 36
astsam Feb 5, 2021
e6df6a1
Improved github actions
CGarces Mar 6, 2021
6fad442
Remove duplicate USB IDs and sort the elements.
CGarces Mar 6, 2021
f2cfe9e
Merge pull request #840 from CGarces/githubactions
kimocoder Mar 27, 2021
689e7eb
Merge pull request #841 from CGarces/fix_usbids
kimocoder Mar 27, 2021
c0ce817
Merge pull request #829 from astsam2/v5.6.4.2
kimocoder Mar 27, 2021
43eb4c1
Remove rtl8822bu device
CGarces Apr 3, 2021
e7e83f2
Fix GRO_DROP deprecation kernel 5.12
CGarces Apr 3, 2021
f9c8ad7
Merge pull request #848 from CGarces/fix_5.12
kimocoder May 4, 2021
3a64331
Merge pull request #847 from CGarces/patch-4
kimocoder May 4, 2021
9b4c60a
Add linux 5.12.x support
May 8, 2021
1dfc05a
Add linux 5.12.x support
KonstantIMP May 8, 2021
20f810c
Fix libc6 dependency 2.33
CGarces May 11, 2021
0b87ed9
Merge pull request #860 from CGarces/patch-6
kimocoder May 21, 2021
b8167e6
Merge pull request #857 from KonstantIMP/v5.6.4.2
kimocoder Jun 27, 2021
47a38b7
Fix kernel 5.15 compilation
CGarces Oct 10, 2021
6fd304f
fix libc6_2.34 dependency on build
CGarces Oct 10, 2021
307d694
Merge pull request #898 from CGarces/fix_5.15
kimocoder Nov 8, 2021
191f5bc
Remove REMAKE_INITRD
iyanmv Nov 21, 2021
bd8e44b
Add back 8814au support
kimocoder Dec 12, 2021
849206d
Merge pull request #913 from iyanmv/iyanmv-remove-remake-initrd
kimocoder Dec 12, 2021
7bb5114
Fix kernel v5.15+ compiler warnings
kimocoder Dec 12, 2021
1b63ee6
Fixed compiler warning for unused function
kimocoder Dec 12, 2021
a72835d
Fix (test) for IPX header on various distros
kimocoder Dec 12, 2021
3a6402e
Fix for kernel v3.20
kimocoder Dec 12, 2021
2b8c666
Fix make parallel jobserver warning
LorenzoAncora Dec 13, 2021
98d1477
Limit the output of "dkms status" and "mkdir"
LorenzoAncora Dec 13, 2021
7e61ad8
rtl8812au: Fix code for kernel 5.17 API change
heitbaum Feb 9, 2022
cfe8742
Merge pull request #942 from heitbaum/517
kimocoder Mar 5, 2022
959f3b6
Merge pull request #925 from LorenzoAncora/v5.6.4.2
kimocoder Mar 5, 2022
2f52f84
Optimize kernel v5.15 support
kimocoder Mar 5, 2022
37e27f9
Small code cleanup
kimocoder Mar 5, 2022
f123ff3
Update Makefile to fix building on ppc
Ice-IX Mar 22, 2022
5bb4bff
linux: set netdev macaddr using dev_addr_set
Reflexe May 7, 2022
a7e64ba
linux: proc: use pde_data instead of PDE_DATA in >=5.17
Reflexe May 7, 2022
f5243b6
Update README.md
May 7, 2022
89a30e4
GCC 11.2 needed for kernel>=5.17. Updated Ubuntu
CGarces May 14, 2022
4ea7ffb
Fix GCC compiler warning
kimocoder Jun 6, 2022
bf9f12f
Merge pull request #963 from CGarces/fix_ci
kimocoder Jun 6, 2022
41532e3
Add kernel 5.18 support
kimocoder Jun 6, 2022
6d0d9fb
Tag new build version
kimocoder Jun 6, 2022
56419c2
Merge pull request #962 from 3rd3/patch-2
kimocoder Jun 6, 2022
91d47c6
Minor code cleanup
kimocoder Jun 6, 2022
a116233
Fix compile warning in rtw_sta_mgt.c
kimocoder Jun 6, 2022
ed08f26
Merge pull request #947 from Ice-IX/patch-1
kimocoder Jun 6, 2022
2fcc00b
Merge pull request #961 from Reflexe/v5.17.5
kimocoder Jun 6, 2022
3b0cdfc
Add signing to Makefile
kimocoder Jun 6, 2022
9590d7e
Remove more Windows code
kimocoder Jun 6, 2022
2b784b4
Updated README.md
kimocoder Jun 6, 2022
16d1a9c
Update README.md
kimocoder Jun 6, 2022
cab4e4e
Remove more Windows code
kimocoder Jun 6, 2022
261d248
updated readme flow
bluegroneman Jun 23, 2022
4ab079f
Fix compilation for arm64
kimocoder Jul 15, 2022
be6f069
Fix for for corrupted device name
elfabx Jul 30, 2022
01dd27d
Added RPi Build from CI
DrSchottky Jul 31, 2022
3854a61
Add kernel 6.0 support
heitbaum Aug 15, 2022
c65315c
Add kernel 5.19.2 support
heitbaum Aug 18, 2022
66a6582
Merge pull request #992 from heitbaum/kernel-6.0-rc1
kimocoder Aug 27, 2022
8e6bd39
Merge pull request #989 from elfabx/devicename-fix
kimocoder Aug 27, 2022
ae0b0a5
Merge pull request #990 from DrSchottky/v5.6.4.2
kimocoder Aug 27, 2022
2aafb1e
Add some Android fixes
kimocoder Aug 27, 2022
d809a0b
Add switch for VIF (vintf) support
kimocoder Aug 27, 2022
e7a4a39
Fix build error for AOSP kernel v5.10
kimocoder Aug 27, 2022
3334183
Ensure KVER can be controlled
wawrzek Oct 17, 2022
1d83c0d
Add kernel 6.1 support
5kft Oct 17, 2022
dc7ab66
Merge pull request #1007 from wawrzek/v5.6.4.2
kimocoder Nov 5, 2022
afd38cc
Fix compiler warnings on kernel 6.x
kimocoder Nov 5, 2022
03eed18
Merge pull request #1008 from heitbaum/linux-6.1
kimocoder Dec 5, 2022
450db78
Merge pull request #978 from bengroneman/v5.6.4.2
kimocoder Dec 5, 2022
b1d911b
Makefile: Fix "fatal error: 'drv_types.h' file not found"
MrR0b0X Dec 19, 2022
e046e6f
Merge pull request #1029 from MrRob0-X/v5.6.4.2
kimocoder Dec 19, 2022
137030b
Makefile: Fix the path of `hal/phydm`
MrR0b0X Dec 19, 2022
ac4969f
Merge pull request #1030 from MrRob0-X/v5.6.4.2
kimocoder Dec 19, 2022
08589e2
Cleaned up Makefile
kimocoder Dec 19, 2022
8144c38
Makefile: set check for two way path's
MrR0b0X Dec 20, 2022
a070fd9
added RHEL_RELEASE_VERSION 8
Dec 22, 2022
ee29979
Merge pull request #1032 from MrRob0-X/v5.6.4.2
kimocoder Dec 22, 2022
92c313c
fix cfi trip from usb_recv_tasklet
GeorgeBannister Jan 25, 2023
e1e4ebd
fix cfi trip from rtw_xmit_entry
GeorgeBannister Jan 26, 2023
c0084bb
fix prototype
GeorgeBannister Jan 26, 2023
e72dacd
Merge pull request #1041 from GeorgeBannister/cfi
kimocoder Jan 26, 2023
d98018d
Merge pull request #1034 from eusafe/dev
kimocoder Feb 3, 2023
9cab18e
fix(Makefile): ensure akms postinst hooks compatibility
mjholub Mar 5, 2023
a278842
Fix control channel frequency in the
Mar 13, 2023
47edc1b
Add kernel v6.3 support
kimocoder Mar 13, 2023
e9699df
Merge pull request #1053 from astsam2/v5.6.4.2
kimocoder Mar 13, 2023
20f240f
Merge pull request #1050 from 154pinkchairs/akms-hooks-compat
kimocoder Mar 13, 2023
2859894
fix(Makefile): remove `[[]]` bashism
mjholub Mar 14, 2023
eee82ac
Merge pull request #1056 from 154pinkchairs/fix-bashism
kimocoder Mar 14, 2023
a352e7f
Add doc for proxmox build instructions
ferdinandkeller Mar 28, 2023
0417a2c
Fix RPi build github action
DrSchottky Apr 1, 2023
0445b2b
Fix compiler (rtw_br_ext.c:969:11) and kernel (net/wireless/sme.c:843…
gglluukk Apr 2, 2023
42a0c86
Adopt patch for 5.x kernel warning dump
gglluukk Apr 2, 2023
91db7d2
Merge pull request #1064 from DrSchottky/v5.6.4.2
kimocoder Apr 2, 2023
f6184e3
Update GH actions workflow
kimocoder Apr 2, 2023
a429fe1
Revert "Update GH actions workflow"
kimocoder Apr 2, 2023
9d5c4aa
Merge pull request #1065 from gglluukk/v5.6.4.2
kimocoder Apr 2, 2023
fe71d83
Update GH actions workflow
kimocoder Apr 2, 2023
7d8f129
Add 056E:4010 for elecom device
asukiaaa Apr 13, 2023
4a0ceab
Pragma GCC < 11 warning fix for -Wstringop-overread
gglluukk Apr 17, 2023
1b0472d
Parallelize RPi driver builds
DrSchottky Apr 18, 2023
555241e
Merge pull request #1068 from asukiaaa/patch-1
kimocoder Apr 23, 2023
ccda185
Merge pull request #1069 from gglluukk/v5.6.4.2
kimocoder Apr 23, 2023
96b013c
Possible fix for iwd crash
kimocoder May 1, 2023
9600ea1
Update dkms.conf
kimocoder May 1, 2023
1e2ca33
Fix clang warning
kimocoder May 1, 2023
d4ad212
get_ra() exists only on PowerPC
kimocoder May 1, 2023
0c3d4b3
Remove useless warning
kimocoder May 1, 2023
8cb23d8
Remove dead code associated with CONFIG_PLATFORM_INTEL_BYT
kimocoder May 1, 2023
6282169
fix SUBARCH on riscv64
kimocoder May 1, 2023
357faf7
Minor fixes and cleanup
kimocoder May 2, 2023
35308f4
Code optimization
kimocoder May 2, 2023
5ae69b6
Fixed job name in raspberry action
DrSchottky May 2, 2023
b3227c7
Some cleanup of unused chips
kimocoder May 26, 2023
dc8dcb4
Merge pull request #1072 from DrSchottky/v5.6.4.2
kimocoder May 31, 2023
ca797e1
Revert "Some cleanup of unused chips"
kimocoder Jun 6, 2023
6f7a4e5
Address warning in createbss_hdl()
kimocoder Jul 2, 2023
09ba98c
Use eth_hw_addr_set instead of dev_addr_set
CGarces Jul 2, 2023
60222a5
Merge pull request #1089 from CGarces/fix_1088
kimocoder Jul 3, 2023
3bcbfe4
Fix compilation error on kernels < 5.15
CGarces Jul 3, 2023
9dc4a4c
Merge pull request #1091 from CGarces/patch-1
kimocoder Jul 3, 2023
d00db12
ioctl_cfg80211: fix build against kernels < 4.10.x
paralin Jul 3, 2023
a842611
Merge pull request #1092 from paralin/fix-kernel-4.9
kimocoder Jul 8, 2023
eff5b5a
Add an extra definition for cfg80211_connect_bss() usage
seppzer0 Jul 18, 2023
04f600e
Merge pull request #1097 from seppzer0/v5.6.4.2
kimocoder Jul 23, 2023
8954f2b
Fix the VFS internal message
kimocoder Oct 29, 2023
81be2f4
Add kernel v6.6 support
kimocoder Oct 29, 2023
d8ad927
Fix build on 6.x kernels.
sarrchri Oct 31, 2023
9d4d3f5
Fix build on Ubuntu 23.04 (kernel 6.2).
sarrchri Nov 1, 2023
4a983e4
Merge pull request #1119 from sarrchri/fix-build-6x
kimocoder Nov 3, 2023
5b90ddb
ioctl_cfg80211: Add support for standard RSSI notifications
bwh-mind Nov 2, 2023
8b485b7
Make use of MODULE_IMPORT_NS conditional
bwh-mind Nov 7, 2023
b3f7e7a
Fix eth_hw_addr_set() definition for compatibility with stable branches
bwh-mind Nov 7, 2023
d07318c
Merge pull request #1123 from bwh-mind/compat
kimocoder Nov 17, 2023
a3e0c0b
Merge pull request #1122 from bwh-mind/rssi-notif
kimocoder Nov 17, 2023
c0d1681
Fix change_beacon for kernel 6.7
crivasr Jan 16, 2024
d3feb6a
Update os_intfs.c for kernel 6.8
alium Mar 12, 2024
88d0f5c
Update usb_intf.c for kernel 6.8
alium Mar 12, 2024
135756a
Merge pull request #1145 from alium/v5.6.4.2
kimocoder Mar 15, 2024
6b6f134
Update Makefile
kimocoder Mar 15, 2024
98895e9
Merge pull request #1134 from crivasr/v5.6.4.2
kimocoder Mar 15, 2024
f23979f
Update Makefile
kimocoder Mar 15, 2024
123e373
Update Makefile to error on incompatible-pointer-types
heitbaum Mar 15, 2024
4f645ee
Merge pull request #1147 from heitbaum/patch-2
kimocoder Mar 23, 2024
860ccf3
Update ioctl_cfg80211.c - support for kernel 6.9
alium Mar 30, 2024
63cf0b4
Merge pull request #1149 from alium/v5.6.4.2
kimocoder Apr 9, 2024
c7f8f6e
Remove leftovers of Intel WIDI and take a general cleanup
kimocoder May 9, 2024
9d6b253
Add Android 11 docs/scripts to 'android' dir/collection
kimocoder May 10, 2024
475e609
Add Android 10 docs/scripts to 'android' dir/collection
kimocoder May 10, 2024
b44d288
Add logfile script
kimocoder May 10, 2024
0313f65
Added lastest drv modif from upstream and fix for rhel9.4
virer Jun 19, 2024
41ea46f
Revert "Remove leftovers of Intel WIDI and take a general cleanup"
chinawrj Jul 2, 2024
cc2b3e0
Add note about the issues with AC600
Darin755 Jul 9, 2024
7a9e1ff
Fix spelling
Darin755 Jul 9, 2024
337d3d6
Update README.md
kimocoder Feb 3, 2025
cdb29e9
fix build for kernel v6.13
amazingfate Feb 9, 2025
3e6900c
Merge pull request #1220 from amazingfate/fix-6.13
kimocoder Feb 10, 2025
c31ddd9
Merge pull request #1175 from Darin755/v5.6.4.2
kimocoder Feb 10, 2025
fa33903
Merge pull request #1170 from chinawrj/v5.6.4.2
kimocoder Feb 10, 2025
847bf24
Merge pull request #1062 from ferdinandkeller/v5.6.4.2
kimocoder Feb 10, 2025
80d4ba5
Merge pull request #1167 from virer/v5.6.4.2_rocky94
kimocoder Feb 10, 2025
40ace70
fix build for kernel 6.14
rpardini Mar 25, 2025
c3fb89a
Merge pull request #1226 from rpardini/fix-build-6.14.y
kimocoder Mar 30, 2025
f17facc
Fix build for kernel 6.19
paralin Mar 14, 2026
7344855
Merge pull request #1254 from paralin/fix-6.19
kimocoder Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 63 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Build

on: [pull_request]

jobs:

commontasks:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- name: Avoid 0x0BDA
#Find devices that not use 0x0BDA instead of const USB_VENDOR_ID_REALTEK
run: grep -c -i "0x0BDA" os_dep/linux/usb_intf.c | grep -w 1
- name: Find duplicates
#Find devices that not use 0x0BDA instead of const USB_VENDOR_ID_REALTEK
run: grep -i "{USB_DEVICE(" os_dep/linux/usb_intf.c | cut -d ')' -f1 | sort | uniq -cd | wc -c | grep -w 0
- name: Get kernel matrix
id: set-matrix
run: |
JSON=$(curl -s https://www.kernel.org/releases.json)
VERSIONSARRAY=$(echo $JSON | jq -c '[.releases[] | {version: .version, moniker: .moniker} | select(.moniker != "linux-next") | .version]')
echo ::set-output name=matrix::${VERSIONSARRAY}

build:
needs: commontasks
strategy:
fail-fast: false
matrix:
version: ${{fromJson(needs.commontasks.outputs.matrix)}}
#version: [4.9.248, 4.4.248]
include:
#Version 4.15.x requested to test Ubuntu 18.04 LTS version
- os: ubuntu-18.04
version: $(uname -r)
use_apt: true

runs-on: ubuntu-22.04
steps:
- name: install deb packages
env:
VERSION: ${{matrix.version }}
if: ${{ !matrix.use_apt }}
run: |
KERNEL_URL=https://kernel.ubuntu.com/~kernel-ppa/mainline/
KERNEL_URL_DETAILS=$(wget --quiet -O - ${KERNEL_URL}v${VERSION}/ | grep -A8 "Build for amd64\|Test amd64")
ALL_DEB=$(echo "$KERNEL_URL_DETAILS" | grep -m1 'all.deb' | cut -d '"' -f 2)
AMD64_DEB=$(echo "$KERNEL_URL_DETAILS" | grep -m1 "amd64.deb" | cut -d '"' -f 2)
[ -z "$ALL_DEB" ] && exit 1
[ -z "$AMD64_DEB" ] && exit 2
wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB
wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB
sudo dpkg --force-all -i *.deb
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
- name: apt-linux-headers
if: ${{ matrix.use_apt }}
run: |
sudo apt-get install linux-headers-$(uname -r)
echo "KVER=${{matrix.version }}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: build
run: make KVER=$KVER
107 changes: 107 additions & 0 deletions .github/workflows/raspberry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
name: Raspberry Pi Build

on:
create:
tags:
- '/^v[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+[A-Za-z0-9]*$/'
workflow_dispatch:

jobs:
build:
strategy:
matrix:
version: ["buster", "bullseye"]
runs-on: ubuntu-22.04
name: Build RTL8812AU driver for Raspberry Pi
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl gnupg2 curl
sudo apt-get install -y gcc-arm-linux-gnueabihf crossbuild-essential-arm64 make
sudo curl -fsSL http://archive.raspberrypi.org/debian/raspberrypi.gpg.key --output /usr/share/keyrings/raspberrypi.gpg.key
echo "deb [arch=amd64, signed-by=/usr/share/keyrings/raspberrypi.gpg.key] http://archive.raspberrypi.org/debian/ ${{ matrix.version }} main" | sudo tee /etc/apt/sources.list.d/raspberrypi.list > /dev/null
sudo apt-get update
sudo apt-get install -y raspberrypi-kernel-headers
- name: Build Pi kernel drivers
id: build_raspberry
run: |
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
for kernel_folder in /lib/modules/*+; do
kver=`basename "$kernel_folder"`
if [[ $kver =~ "v8" ]]; then
target_arch="arm64"
cross="aarch64-linux-gnu-"
else
target_arch="arm"
cross="arm-linux-gnueabihf-"
fi
echo "Cross compiling" "$kver" "for arch" "$target_arch"
make clean > log.txt
make ARCH=$target_arch CROSS_COMPILE=$cross KVER=$kver -j$(nproc) > log.txt && mkdir -p build/raspberrypi/$kver/ && cp 88XXau.ko build/raspberrypi/$kver/
echo kernel_ver="$(echo $kver | cut -f 1 -d -)" >> $GITHUB_OUTPUT
done
- name: Compress artifacts
run: |
tar czvf rtl8812au-raspberrypi-${{ steps.build_raspberry.outputs.kernel_ver }}.tar.gz -C build/raspberrypi/ .
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: RPi ${{ matrix.version }} kernel drivers
path: rtl8812au*.tar.gz


kalibuild:
runs-on: ubuntu-22.04
name: Build RTL8812AU driver for Raspberry Pi (re4son)
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl gnupg2 curl
sudo apt-get install -y gcc-arm-linux-gnueabihf crossbuild-essential-arm64 make
- name: Build Re4son kernel drivers
id: build_kali
run: |
sudo apt-get -y install qemu-system-arm qemu-user-static binfmt-support > /dev/null
curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x96d00b0c4b00fd5360cc087711764ee8ac24832f" | sudo gpg --dearmor -o /usr/share/keyrings/kali.gpg
echo "deb [arch=armel,armhf,arm64 signed-by=/usr/share/keyrings/kali.gpg] http://http.re4son-kernel.com/re4son/ kali-pi main" | sudo tee /etc/apt/sources.list.d/kali.list
sudo sed -i 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
for arch in "armel" "armhf" "arm64"; do
echo "Adding arch" "$arch"
sudo dpkg --add-architecture "$arch"
sudo apt-get update
sudo apt-get install -y kalipi-kernel-headers:"$arch"
for kernel_folder in /lib/modules/*Re4son*; do
kver=`basename "$kernel_folder"`
if [[ $kver =~ "v8" ]]; then
target_arch="arm64"
cross="aarch64-linux-gnu-"
sudo ln -fs /usr/aarch64-linux-gnu/lib/libc.so.6 /lib/libc.so.6
sudo ln -fs /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
else
target_arch="arm"
cross="arm-linux-gnueabihf-"
sudo ln -fs /usr/arm-linux-gnueabihf/lib/libc.so.6 /lib/libc.so.6
sudo ln -fs /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
sudo ln -fs /usr/arm-linux-gnueabihf/lib/ld-linux.so.3 /lib/ld-linux.so.3
fi
echo "Cross compiling" "$kver" "for arch" "$target_arch"
make clean > log.txt
make ARCH=$target_arch CROSS_COMPILE=$cross KVER=$kver -j$(nproc) > log.txt && mkdir -p build/kalipi/$kver/ && cp 88XXau.ko build/kalipi/$kver/
echo kernel_ver="$(echo $kver | cut -f 1 -d -)" >> $GITHUB_OUTPUT
done
done
- name: Compress artifacts
run: |
tar czvf rtl8812au-kalipi-${{ steps.build_kali.outputs.kernel_ver }}.tar.gz -C build/kalipi/ .
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: RPi re4son kernel drivers
path: rtl8812au*.tar.gz
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.o
*.cmd
*.ko
*.cm
Module.symvers
modules.order
*.mod.c
.tmp_versions
.cache.mk
*.mod
*.o.d
*.c.orig
8 changes: 4 additions & 4 deletions Kconfig
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config RTL8821AU
tristate "Realtek 8821A USB WiFi"
config 88XXAU
tristate "Realtek 88XXau USB WiFi"
depends on USB
---help---
Help message of RTL8821AU
help
Help message of 88XXau

Loading