Commit Graph

162 Commits (9d23382f005942f297a09ec4459db9ba61c9b7b7)

Author SHA1 Message Date
CamiKaseM7 c0d16813f5 Fix change_beacon for kernel 6.7 2024-01-16 03:44:34 -03:00
Ben Hutchings 5b90ddb5cb ioctl_cfg80211: Add support for standard RSSI notifications
Currently background scanning with wpa_supplicant does not work very
well because rtl8812au does not notify it about changes to RSSI.  To
fix this:

* Implement the cfg80211_ops::set_cqm_rssi_config operation to set the
  parameters for RSSI notifications.
* Add a rtw_cfg80211_cqm_rssi_update() function that calls
  cfg80211_cqm_rssi_notify() if the RSSI has changed significantly
  (based on those parameters).
* When connected in infrastructure mode, call
  rtw_cfg80211_cqm_rssi_update() after processing a beacon and
  updating the RSSI.

Signed-off-by: Ben Hutchings <ben.hutchings@mind.be>
2023-11-07 20:52:13 +01:00
kimocoder 81be2f4681 Add kernel v6.6 support 2023-10-29 16:29:30 +01:00
seppzer0 eff5b5a0c4 Add an extra definition for cfg80211_connect_bss() usage 2023-07-19 00:12:47 +02:00
Christian Stewart d00db12afc ioctl_cfg80211: fix build against kernels < 4.10.x
Kernel 4.10.x adjusted cfg80211_connect_bss to accept a timeout as the last
argument. Add a conditional statement which removes this extra parameter if the
kernel is less than version 4.10.x to fix build errors against version 4.9.x.

Note that the Jetson TX2 kernel is still version 4.9.x even though this version
is technically deprecated upstream.

Signed-off-by: Christian Stewart <christian@aperture.us>
2023-07-03 13:54:27 -07:00
kimocoder 357faf7221 Minor fixes and cleanup 2023-05-02 02:11:29 +02:00
kimocoder 8cb23d8f91 Remove dead code associated with CONFIG_PLATFORM_INTEL_BYT 2023-05-02 01:28:48 +02:00
kimocoder d4ad2121c9 get_ra() exists only on PowerPC 2023-05-02 00:25:10 +02:00
kimocoder 96b013c38a Possible fix for iwd crash 2023-05-01 22:05:27 +02:00
gluker 42a0c86d1a Adopt patch for 5.x kernel warning dump 2023-04-02 06:41:44 +03:00
gluker 0445b2ba0a Fix compiler (rtw_br_ext.c:969:11) and kernel (net/wireless/sme.c:843) warnings 2023-04-02 04:56:03 +03:00
Christian Bremvåg e9699df823
Merge pull request #1053 from astsam2/v5.6.4.2
Fix control channel frequency in the cfg80211_rtw_get_channel() for 40 MHz channels
2023-03-13 23:29:06 +01:00
kimocoder 47edc1bddf Add kernel v6.3 support 2023-03-13 23:28:34 +01:00
Sergei Makarenkov a278842835 Fix control channel frequency in the
cfg80211_rtw_get_channel() for 40 MHz channels
2023-03-13 15:28:39 +03:00
Evgeny a070fd98f6 added RHEL_RELEASE_VERSION 8 2022-12-22 16:59:33 +03:00
5kft 1d83c0d457 Add kernel 6.1 support
Co-authored: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: 5kft <5kft@users.noreply.github.com>
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2022-10-18 09:37:16 +00:00
kimocoder d809a0b3d7 Add switch for VIF (vintf) support 2022-08-27 03:16:26 +02:00
kimocoder 2aafb1ead6 Add some Android fixes 2022-08-27 03:10:39 +02:00
Rudi Heitbaum c65315c178 Add kernel 5.19.2 support 2022-08-19 10:59:57 +00:00
Rudi Heitbaum 3854a61113 Add kernel 6.0 support 2022-08-15 13:35:43 +00:00
kimocoder 3a6402e9e7 Fix for kernel v3.20 2021-12-12 22:40:54 +01:00
astsam 5e61763585 Add low frequency 5GHz band 2021-01-29 23:27:17 +03:00
astsam 5e66b8754f Add missing 5GHz channels 2021-01-29 22:48:42 +03:00
astsam 2e5088380c Add ability to get the current channel by iw utility, based on the patch provided by Ángel <kazimiro69@gmail.com> 2021-01-29 18:18:36 +03:00
Carlos Garcés 18453b4031
Fix cfg80211_ch_switch_started_notify on kernel 5.11-rc3
See 669b84134a
2021-01-11 11:21:29 +01:00
Christian Bremvåg f4d84c9655
Merge pull request #699 from 5kft/chandef-init-fix
bugfix: initialize cfg80211_chan_def structure to zero to fix nl80211…
2020-08-16 22:21:55 +02:00
kimocoder e90626b5c3 Fixed kernel v5.8 support 2020-08-16 18:45:23 +02:00
5kft 29d1cdde8b
bugfix: initialize cfg80211_chan_def structure to zero to fix nl80211_send_chandef kernel trap 2020-08-09 06:57:22 -07:00
Martin Kennedy 0138e832c1 bugfix: Wrap newer construct to allow build on kernel <4.18 2020-07-31 03:02:31 +00:00
kimocoder 4b6c218e95 Fix multiple warnings when using clang 2020-07-12 03:44:51 +00:00
kimocoder e65b190ab7 Remove unused includes 2020-07-12 03:04:21 +00:00
Carlos 0a3f017fa4 Fix compilation error with 5-8-rc1
Remove EOL kernel
2020-07-10 11:23:31 +02:00
Daan van Gorkum 761f1d94a5
Bugfix: Phy cannot be moved into another namespace
When CONFIG_NET_NS is enabled one would assume the device can be
moved into another namespace. Currently it will fail with:

command failed: Operation not supported (-95)

There's a check if the kernel is between 2.6.38 and 3.0.0
before it adds the netns flag to wiphy->flags.

With this commit it will always add the netns flag when
CONFIG_NET_NS is enabled.

Signed-off-by: Daan van Gorkum <djvg@djvg.net>
Fixes: https://github.com/aircrack-ng/rtl8812au/issues/518
2020-05-09 16:07:59 +08:00
kimocoder ea9aade289 remove rtw_cfgvendor support 2020-03-07 22:56:09 +00:00
kimocoder 856e392531 Some tweaks around the code 2020-02-01 09:04:01 +01:00
kimocoder 038f1ea370 Minor cleanup/fix for kernel v4.20 support (get_monotonic_boottime) 2020-02-01 07:34:27 +01:00
kimocoder d7fe9809f4 Better handling of 'fallthrough's 2020-01-20 08:03:10 +01:00
kimocoder 34258e769f Fix: pcap_activate status -8 and pcap_activate status -1 2020-01-11 20:30:27 +01:00
icjuego ecf67b12c7
Fix compilation for kernels < 4.10 2019-11-21 01:33:36 +00:00
kimocoder b5f97c1696 Fixed 8821au (8811au) support, fixed fw bug. fixes #466 2019-11-14 20:37:13 +01:00
kimocoder 3116f1e01a Added more 'iw' output 2019-11-14 20:19:03 +01:00
kimocoder 6deda60be2 Fix the Network Namespace (CONFIG_NET_NS) support 2019-11-14 01:47:00 +01:00
kimocoder 9bf4a34f73 adopt upstream: net: Fix inconsistent teardown 2019-11-13 17:35:03 +01:00
kimocoder fa35b99b42 Implemented txpower control 2019-11-13 16:36:58 +01:00
kimocoder 8fc76b7fe3 Added HT Greenfield capabilities 2019-11-13 16:18:11 +01:00
kimocoder 7ad5618762 Fix build support to older GCCs by adding fallthroughs 2019-11-11 04:07:55 +01:00
kimocoder d415163096 Fix CONFIG_CONCURRENT_MODE building due to missing VIF 2019-11-11 03:26:05 +01:00
kimocoder dbc8d10201 Fix connection error on resume 2019-11-11 03:02:26 +01:00
kimocoder f431b12c58 Hostapd/WPS support added 2019-11-11 02:07:56 +01:00
kimocoder 8eec8cd4a3 Some overall fixes.. includes + various 2019-11-11 02:04:51 +01:00