Commit Graph

894 Commits

Author SHA1 Message Date
kimocoder
eccee894cd Fix minor indentations 2019-08-24 01:46:25 +02:00
kimocoder
f2b259a389 Minor cleanup 2019-08-24 01:27:28 +02:00
kimocoder
d8b264a27d Fixed a issue when DEBUG was enabled 2019-08-24 01:11:34 +02:00
kimocoder
833b7c15e9 Minor cleanup 2019-08-24 01:10:19 +02:00
kimocoder
2b0fe0c95b Added support for NVIDIA Jetson Nano platform 2019-08-24 01:09:40 +02:00
kimocoder
62e40de47b Decreased log level from 4 to 3 and suppressed som debug 2019-08-24 01:01:46 +02:00
kimocoder
5ee5d67d22 Add check for psta->cmn.aid out of bounds 2019-08-24 00:56:50 +02:00
kimocoder
703d5772d4 Fix interface rename issue 2019-08-24 00:48:52 +02:00
kimocoder
f4bd60fbcd Rename autoconf.h include duo to kernels autoconf 2019-08-24 00:45:57 +02:00
kimocoder
c215cafcaa Cleaned out some Windows & FreeBSD code 2019-08-24 00:41:14 +02:00
Christian Bremvåg
74fe3d427b
Update README.md 2019-08-23 17:09:45 +02:00
Christian Bremvåg
902c781308
Update README.md 2019-08-23 17:03:36 +02:00
Christian Bremvåg
50c38058ff
Update README.md 2019-08-23 17:02:14 +02:00
kimocoder
632d9755b6 Cleanup patch files 2019-08-23 10:10:11 +02:00
kimocoder
bbe93fbd6d Fix compilation issues from earlier 2019-08-23 10:08:36 +02:00
kimocoder
df1b6776c7 Fix wrong PR that causes compile error 2019-08-19 22:30:30 +02:00
kimocoder
fd796b8bc1 Register wiphy after we probe MAC addr. (moved to wiphy_preinit) 2019-08-18 18:49:07 +02:00
kimocoder
67b10d4ebf Change autoconf.h name and include 2019-08-18 18:44:41 +02:00
kimocoder
05af254270 Fix one compile error from yesterday 2019-08-18 18:42:18 +02:00
kimocoder
cf5401d986 Add check for psta->cmn.aid out of bounds 2019-08-18 18:17:57 +02:00
kimocoder
b3aef6d290 Fixed a issue when DEBUG was enabled 2019-08-18 04:45:55 +02:00
kimocoder
e9daed6187 Fix interface rename issue 2019-08-18 04:43:53 +02:00
kimocoder
f1dfc49bdb Added support for NVIDIA Jetson Nano platform 2019-08-17 23:24:35 +02:00
kimocoder
e72f261d95 Decreased log level from 4 to 3 to avoid flooding 2019-08-17 22:55:07 +02:00
kimocoder
69ad9b581f Enabled MP_VHT_HW_TX_MODE for 8814au too 2019-08-17 22:46:49 +02:00
kimocoder
27d005ba81 Silence some debug output - dmesg got flooded 2019-08-17 22:41:29 +02:00
kimocoder
2777bcd917 Fix the correct interface name instead of being nameless 2019-08-17 22:31:40 +02:00
kimocoder
97a531e519 Fix alloc stainfo code 2019-08-17 21:19:58 +02:00
kimocoder
39ae054a38 Cleaned up a patch applied 2019-08-17 20:11:40 +02:00
kimocoder
619d992fe4 Fixed WiFi Direct in driver 2019-08-17 20:10:54 +02:00
kimocoder
548498f1d0 Added support for Neo2 (OpenWRT) platform 2019-08-17 19:21:50 +02:00
kimocoder
2f444f87a7 Uploaded tools and docs 2019-08-17 19:09:11 +02:00
kimocoder
52182f3873 Cleaned up PHYDM Makefile 2019-08-17 18:52:24 +02:00
kimocoder
a00101e97a Cleaned up Makefile 2019-08-17 18:47:31 +02:00
kimocoder
e1258a0dde Cleaned out unsupported chipsets from usb_intfs.c 2019-08-17 15:14:11 +02:00
kimocoder
65e47eab43 Fix ieee80211.h linux capabilities 2019-08-17 14:32:08 +02:00
kimocoder
8807b5e46b Fix cfg80211.h include 2019-08-17 13:48:49 +02:00
kimocoder
7214fe8834 Add cfg80211 dependency for openwrt 2019-08-17 13:47:37 +02:00
kimocoder
6b029c4b52 Fix wrong type in rtw_dump_cur_efuse 2019-08-17 13:46:26 +02:00
kimocoder
a0bb0e1d42 Added DEBUG to USB - CONFIG_USB_DEBUG in Makefile 2019-08-17 13:09:09 +02:00
kimocoder
ab77d23e50 Fix compile issues introduced yesterday + more cleanup 2019-08-17 12:52:47 +02:00
kimocoder
84c41035b4 Just some minor permission fix PR 2019-08-17 00:11:30 +02:00
kimocoder
33cd907df1 Just some minor permission fix PR 2019-08-17 00:11:15 +02:00
kimocoder
3a75759ecf a little sta_alloc fix 2019-08-17 00:07:45 +02:00
kimocoder
1e62d66f89 Relax regrules (wifi regdom) 2019-08-17 00:04:38 +02:00
kimocoder
c2fd51ad82 Added kernel v5.3+ support - enjoy 2019-08-16 23:44:50 +02:00
kimocoder
4d95fe8727 Enable DFS for 5ghz support 2019-08-16 23:27:14 +02:00
Christian Bremvåg
0a4ce9dddc
staging: replace explicit NULL comparison
Replace explicit NULL comparison with ! operator to
simplify code.

Found with Coccinelle script:
@@
expression ptr;
position p;
statement s0;
@@

ptr@p =
\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\|usb_alloc_urb\|
alloc_netdev\|dev_alloc_skb\)(...)
... when != ptr

if (
(
+ !
ptr
- == NULL
)
) s0
2019-08-16 23:10:38 +02:00
Christian Bremvåg
c18b6668eb
staging: prevent an underflow in rtw_check_beacon_data()
* The "len" could be as low as -14 so we should check for negatives.
2019-08-16 23:05:40 +02:00
Christian Bremvåg
8f04e62ca7
Fix incorrect response to SIOCGIWESSID
When not associated with an AP, wifi device drivers should respond to the
SIOCGIWESSID ioctl with a zero-length string for the SSID, which is the
behavior expected by dhcpcd.

Currently, this driver returns an error code (-1) from the ioctl call,
which causes dhcpcd to assume that the device is not a wireless interface
and therefore it fails to work correctly with it thereafter.

When not associated with an AP, other wifi device drivers respond to the SIOCGIWESSID ioctl with a zero-length string for the SSID; this is the behaviour expected by dhcpcd.

This driver returns an error code (-1) from the ioctl call - this causes dhcpcd to assume that the device is not a wireless interface and therefore it fails to work correctly with it thereafter.

It would be good if the behaviour of this driver could be brought into line with that of other drivers for similar devices; that is for the response to SIOCGIWESSID to be a zero-length string and a success code rather than an error.
2019-08-16 22:53:33 +02:00