kimocoder
499c160eab
Fix interface down on start
2019-10-30 20:32:57 +01:00
Christian Bremvåg
cb5a2d523f
Merge pull request #433 from CGarces/patch-2
...
Fix additional character at VENDOR_CWD_RAW_DATA
2019-10-30 20:18:19 +01:00
Christian Bremvåg
bc9432f80d
Merge pull request #420 from CGarces/v5.6.4.1
...
Fix compilation issue kernels < 4.18 (Ubuntu 18.04 and derived distros)
2019-10-22 23:38:51 +02:00
Carlos Garces
19dcc3302e
Fix commpilation issue for kernels < 4.18
...
cfg80211_sinfo_alloc_tid_stats function was included at 8689c051a20195b228e19acb155c7d6e48a86753
2019-10-05 16:34:17 +02:00
Carlos Garcés
2d564d873e
Delete ioctl_cfg80211.c.orig
2019-10-05 15:50:44 +02:00
Carlos Garcés
10cd433145
Fix additional character at VENDOR_CWD_RAW_DATA
2019-10-03 12:41:22 +02:00
Jurica Vukadin
4b162cbf8e
Fix oops on interface rename
...
Interface renaming crashes because rtw_ndev_notifier_call() tries to get the
adapter from ndev before ndev itself is assigned:
[29504.542194] rtl88xxau 3-5:1.0 wlp0s20u5: renamed from wlan0
[29504.561961] BUG: kernel NULL pointer dereference, address: 00000000000008c0
[29504.561966] #PF: supervisor read access in kernel mode
[29504.561968] #PF: error_code(0x0000) - not-present page
[29504.561970] PGD 0 P4D 0
[29504.561974] Oops: 0000 [#1 ] PREEMPT SMP NOPTI
[29504.561978] CPU: 5 PID: 27127 Comm: systemd-udevd Tainted: G OE 5.3.1-arch1-1-ARCH #1
[29504.561979] Hardware name: /DH87RL, BIOS RLH8710H.86A.0331.2018.0327.1547 03/27/2018
[29504.562035] RIP: 0010:rtw_ndev_notifier_call+0x31/0x55 [88XXau]
[29504.562038] Code: d2 74 45 55 53 48 89 f3 48 8b 2a 48 85 ed 74 12 48 89 ef e8 99 fe ff ff 48 83 fb 0b 75 04 84 c0 75 08 b8 00 00 00 00 5b 5d c3 <48> 8b 04 25 c0 08 00 00 48 8d b8 48 45 00 00 ba 10 00 00 00 48 89
[29504.562041] RSP: 0018:ffffb6e28252f7b0 EFLAGS: 00010202
[29504.562043] RAX: 0000000000000001 RBX: 000000000000000b RCX: 0000000000000001
[29504.562045] RDX: ffffffffc149ce80 RSI: 000000000000000b RDI: ffffa35bb1fad000
[29504.562046] RBP: ffffa35bb1fad000 R08: 0000000000800000 R09: ffffffffa489c660
[29504.562047] R10: ffffb6e28252f7c8 R11: ffffb6e38252f6b6 R12: 000000000000000b
[29504.562048] R13: ffffb6e28252f818 R14: ffffffffa4907d20 R15: 0000000000000000
[29504.562050] FS: 00007f638323f840(0000) GS:ffffa35c8eb40000(0000) knlGS:0000000000000000
[29504.562051] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[29504.562053] CR2: 00000000000008c0 CR3: 000000040bcb6006 CR4: 00000000001606e0
[29504.562054] Call Trace:
[29504.562062] notifier_call_chain+0x4c/0x70
[29504.562067] dev_change_name+0x219/0x320
[29504.562071] do_setlink+0xd45/0xf10
[29504.562077] ? preempt_count_add+0x68/0xa0
[29504.562081] ? _raw_spin_lock+0x13/0x30
[29504.562083] ? _raw_spin_unlock+0x16/0x30
[29504.562087] ? get_partial_node.isra.0.part.0+0xc2/0x210
[29504.562090] ? __alloc_pages_nodemask+0x1c4/0x10b0
[29504.562093] rtnl_setlink+0x105/0x170
[29504.562099] rtnetlink_rcv_msg+0x137/0x3c0
[29504.562101] ? rtnl_calcit.isra.0+0x120/0x120
[29504.562105] netlink_rcv_skb+0x75/0x140
[29504.562108] netlink_unicast+0x177/0x1f0
[29504.562111] netlink_sendmsg+0x204/0x3d0
[29504.562116] sock_sendmsg+0x5e/0x60
[29504.562118] __sys_sendto+0x120/0x190
[29504.562122] __x64_sys_sendto+0x25/0x30
[29504.562125] do_syscall_64+0x5f/0x1c0
[29504.562128] entry_SYSCALL_64_after_hwframe+0x44/0xa9
Move the assignment further down after ndev is known.
Signed-off-by: Jurica Vukadin <jura@vukad.in>
2019-09-28 22:37:51 +02:00
kimocoder
3c9b7800a6
Adding back a working fix for update channel info
2019-09-19 21:28:03 +02:00
kimocoder
2f5c8e6ea9
Fix errors from all patches added earlier
2019-09-19 21:05:16 +02:00
kimocoder
4fe60d92e5
Fix errors from all patches added earlier
2019-09-19 21:05:00 +02:00
kimocoder
9d91ee955a
Add missing include
2019-09-19 15:55:47 +00:00
kimocoder
51dbe24468
short GI is supported on all bands
2019-09-19 15:53:31 +00:00
kimocoder
43b099231f
Fix update channel info
2019-09-19 15:27:45 +00:00
kimocoder
bb94a25ef6
fix country setting and update vhc configure and rate fix (part 2)
2019-09-19 15:19:15 +00:00
kimocoder
dcad331843
Quiet default logging
2019-09-19 13:27:40 +00:00
kimocoder
a5043d715b
Add support for network namespaces
2019-09-19 13:24:09 +00:00
kimocoder
8c1b6f68f0
cfg80211: Fixed unallocated stats
2019-09-19 11:42:27 +00:00
kimocoder
5129cac125
Added support for Edimax EW-7611UCB
2019-09-08 22:10:44 +02:00
kimocoder
abf81a658b
Add support for TP-Link Archer T2U v3
2019-09-08 22:07:52 +02:00
kimocoder
a9695de429
Turned off USB ModeSwitch function/switch, may cause some trouble
2019-09-08 21:46:56 +02:00
kimocoder
bd54921c33
Cleanup/fix RAW_DATA policy (kernel v5.3) issue
2019-09-08 20:48:07 +02:00
root
0c7cac8843
Fix & cleanup kernel v5.3 support
2019-09-08 07:40:58 +00:00
kimocoder
0bb520cbfa
Some allround fixes (minors)
2019-08-24 05:57:54 +02:00
kimocoder
14204645d5
Nuke CONFIG_LOAD_PHY_PARA_FROM_FILE function
2019-08-24 02:18:32 +02:00
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
703d5772d4
Fix interface rename issue
2019-08-24 00:48:52 +02:00
kimocoder
c215cafcaa
Cleaned out some Windows & FreeBSD code
2019-08-24 00:41:14 +02:00
kimocoder
bbe93fbd6d
Fix compilation issues from earlier
2019-08-23 10:08:36 +02:00
kimocoder
fd796b8bc1
Register wiphy after we probe MAC addr. (moved to wiphy_preinit)
2019-08-18 18:49:07 +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
2777bcd917
Fix the correct interface name instead of being nameless
2019-08-17 22:31:40 +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
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
a0bb0e1d42
Added DEBUG to USB - CONFIG_USB_DEBUG in Makefile
2019-08-17 13:09:09 +02:00
kimocoder
33cd907df1
Just some minor permission fix PR
2019-08-17 00:11:15 +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
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
kimocoder
eaf96f0052
Pushing minor cleanups ..
2019-08-16 22:49:56 +02:00
kimocoder
1348762001
Remove signal handling from driver (software)
2019-08-16 22:11:06 +02:00
kimocoder
12d7cac87b
Nuke good 'old debug also known as /proc
2019-08-16 19:15:24 +02:00
kimocoder
3a405781ba
Disbale / clean iw priv
2019-08-16 18:38:23 +02:00
kimocoder
341f3e9c80
Remove customer string
2019-08-16 18:31:23 +02:00