Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #1

Merged
merged 70 commits into from
Aug 16, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
1877871
Merge pull request #554 from justinvforvendetta/v5.6.4.2
kimocoder Feb 4, 2020
945d6ed
Update .travis.yml
kimocoder Feb 4, 2020
f5ae110
Makefile: keep the old driver name
yshui Feb 14, 2020
ea9aade
remove rtw_cfgvendor support
kimocoder Mar 7, 2020
39e9af7
remove USB_PACKET_OFFSET_SZ
kimocoder Mar 7, 2020
24ba606
mark unused PGs hidden
kimocoder Mar 7, 2020
479a4cb
remove unused PGs
kimocoder Mar 7, 2020
bc8c307
mark unused PWR LIMITs
kimocoder Mar 7, 2020
86d2fd5
remove unused PWR LIMITs
kimocoder Mar 7, 2020
da4b1ae
remove testchip support
kimocoder Mar 8, 2020
85f47a6
remove some testchip macros
kimocoder Mar 8, 2020
482064b
Merge pull request #561 from yshui/v5.6.4.2
kimocoder Mar 8, 2020
1bf08b7
Update wifi_regd.c
kimocoder Mar 8, 2020
19398a4
Add kernel v5.6 support
kimocoder Mar 8, 2020
5484970
Fix some compiler errors
kimocoder Mar 8, 2020
ee06453
Update NVidia Jetson platform support
kimocoder Mar 13, 2020
6baab05
Update .travis.yml
kimocoder Mar 13, 2020
25fc708
Removed keep alive flags to solve sta disconnections every 30s
kimocoder Mar 13, 2020
be92ddc
Merge branch 'v5.6.4.2' of https://github.com/aircrack-ng/rtl8812au i…
kimocoder Mar 13, 2020
1076705
Add RHEL 8 support and support for possible work on future RHEL
qbarnes Mar 28, 2020
5d432cd
Minor fix
stepheny Mar 30, 2020
1269760
Merge pull request #599 from qbarnes/rhel8
kimocoder Mar 30, 2020
8b29c11
Merge pull request #605 from stepheny/dev-v5.6.4.2
kimocoder Mar 30, 2020
b85fc8b
Update Travis CI configuration
CGarces Apr 19, 2020
64ba0b5
Merge pull request #622 from CGarces/patch-1
kimocoder Apr 25, 2020
761f1d9
Bugfix: Phy cannot be moved into another namespace
TheDJVG May 9, 2020
dff6a65
Merge pull request #642 from TheDJVG/v5.6.4.2
kimocoder May 9, 2020
8972201
Add support for Hawking HW17ACU
jeff546 May 16, 2020
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
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:

- env: COMPILER=gcc-7 KVER=$(curl -s https://www.kernel.org/releases.json | grep 'mainline' -B1 | head -1 | cut -d'"' -f4)
- env: COMPILER=gcc-7 KVER=$(curl -s https://www.kernel.org/releases.json | grep -A1 'latest_stable' | tail -1 | cut -d'"' -f4)
- env: COMPILER=gcc-7 KVER=5.5.18
#Kernels 5.4 with minor versions > 28 are failing on amd64. Not upgrade the minor version without check https://kernel.ubuntu.com/~kernel-ppa/mainline/
- env: COMPILER=gcc-7 KVER=5.4.28
- env: COMPILER=gcc-7 KVER=4.19.116
Expand Down
10 changes: 5 additions & 5 deletions core/rtw_security.c
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ u32 rtw_BIP_verify(_adapter *padapter, u8 *whdr_pos, sint flen
#ifndef PLATFORM_FREEBSD
#if defined(CONFIG_TDLS)
/* compress 512-bits */
static int sha256_compress(struct sha256_state *md, unsigned char *buf)
static int sha256_compress(struct rtw_sha256_state *md, unsigned char *buf)
{
u32 S[8], W[64], t0, t1;
u32 t;
Expand Down Expand Up @@ -2179,7 +2179,7 @@ static int sha256_compress(struct sha256_state *md, unsigned char *buf)
}

/* Initialize the hash state */
static void sha256_init(struct sha256_state *md)
static void sha256_init(struct rtw_sha256_state *md)
{
md->curlen = 0;
md->length = 0;
Expand All @@ -2200,7 +2200,7 @@ static void sha256_init(struct sha256_state *md)
@param inlen The length of the data (octets)
@return CRYPT_OK if successful
*/
static int sha256_process(struct sha256_state *md, unsigned char *in,
static int sha256_process(struct rtw_sha256_state *md, unsigned char *in,
unsigned long inlen)
{
unsigned long n;
Expand Down Expand Up @@ -2241,7 +2241,7 @@ static int sha256_process(struct sha256_state *md, unsigned char *in,
@param out [out] The destination of the hash (32 bytes)
@return CRYPT_OK if successful
*/
static int sha256_done(struct sha256_state *md, unsigned char *out)
static int sha256_done(struct rtw_sha256_state *md, unsigned char *out)
{
int i;

Expand Down Expand Up @@ -2291,7 +2291,7 @@ static int sha256_done(struct sha256_state *md, unsigned char *out)
static int sha256_vector(size_t num_elem, u8 *addr[], size_t *len,
u8 *mac)
{
struct sha256_state ctx;
struct rtw_sha256_state ctx;
size_t i;

sha256_init(&ctx);
Expand Down
2 changes: 1 addition & 1 deletion include/rtw_security.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ struct security_priv {
#define SEC_IS_BIP_KEY_INSTALLED(sec) _FALSE
#endif

struct sha256_state {
struct rtw_sha256_state {
u64 length;
u32 state[8], curlen;
u8 buf[64];
Expand Down
15 changes: 14 additions & 1 deletion os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -7603,12 +7603,20 @@ static void cfg80211_rtw_mgmt_frame_register(struct wiphy *wiphy,
#else
struct net_device *ndev,
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))
struct mgmt_frame_regs *upd)
#else
u16 frame_type, bool reg)
#endif
{
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0))
struct net_device *ndev = wdev_to_ndev(wdev);
#endif
_adapter *adapter;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))
u16 frame_type = BIT(upd->global_stypes << 4);
bool reg = false;
#endif

struct rtw_wdev_priv *pwdev_priv;

Expand Down Expand Up @@ -10069,11 +10077,16 @@ static struct cfg80211_ops rtw_cfg80211_ops = {

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
.mgmt_tx = cfg80211_rtw_mgmt_tx,
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34) && LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 35))
.action = cfg80211_rtw_mgmt_tx,
#endif

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))
.update_mgmt_frame_registrations = cfg80211_rtw_mgmt_frame_register,
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
.mgmt_frame_register = cfg80211_rtw_mgmt_frame_register,
#endif

#if defined(CONFIG_TDLS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0))
.tdls_mgmt = cfg80211_rtw_tdls_mgmt,
.tdls_oper = cfg80211_rtw_tdls_oper,
Expand Down