Giter Club home page Giter Club logo

rtl8723au's People

Contributors

clemej avatar digininja avatar dima74 avatar ecos-hj avatar kelebek333 avatar kfuchs avatar lwfinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtl8723au's Issues

Warnings

Just FYI

rtl8723au/os_dep/os_intfs.c:954:2: warning: initialization from incompatible pointer type [enabled by default]
  .ndo_select_queue = rtw_select_queue,
  ^
rtl8723au/os_dep/os_intfs.c:954:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]

gcc version: 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)
kernel: 3.13.5-202.fc20.x86_64
os: Fedora release 20 (Heisenbug)

Kernel panic with Ubuntu ppa-mainline 3.14.1 kernel

I'm seeing quite a few panics on the 3.14.x kernel series.
I'm using HEAD on kernel_version branch at the moment: 8727c18

Here are some of the panics:
[ 2711.970762] ------------[ cut here ]------------
[ 2711.970775] WARNING: CPU: 3 PID: 0 at /home/apw/COD/linux/drivers/usb/core/urb.c:450 usb_submit_urb.part.8+0x164/0x5a0()
[ 2711.970777] usb 1-1.4: BOGUS urb xfer, pipe 3 != type 1
[ 2711.970779] Modules linked in: 8723au(OF) cfg80211 hid_sensor_incl_3d hid_sensor_gyro_3d hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common parport_pc ppdev joydev bnep rfcomm bluetooth snd_hda_codec_hdmi 6lowpan_iphc snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nfsd intel_rapl auth_rpcgss x86_pkg_temp_thermal nfs_acl intel_powerclamp coretemp nfs snd_seq_midi kvm_intel snd_seq_midi_event lockd sunrpc binfmt_misc fscache kvm snd_rawmidi dm_multipath scsi_dh crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_seq aesni_intel nls_iso8859_1 aes_x86_64 uvcvideo lrw snd_seq_device gf128mul glue_helper ablk_helper snd_timer cryptd microcode videobuf2_vmalloc hid_sensor_hub videobuf2_memops hid_multitouch psmouse videobuf2_core snd videodev serio_raw rts5139(C) lpc_ich soundcore mei_me mei mac_hid lp parport usbhid hid dm_mirror dm_region_hash dm_log i915 i2c_algo_bit drm_kms_helper ahci drm libahci wmi video [last unloaded: cfg80211]
[ 2711.970858] CPU: 3 PID: 0 Comm: swapper/3 Tainted: GF WC O 3.14.1-031401-generic #201404141220
[ 2711.970860] Hardware name: LENOVO 20175/INVALID, BIOS 66CN55WW 02/28/2013
[ 2711.970862] 00000000000001c2 ffff88012f2c3d00 ffffffff8175bbf5 0000000000000007
[ 2711.970866] ffff88012f2c3d50 ffff88012f2c3d40 ffffffff8106ac9c ffff8800c6ae0000
[ 2711.970870] ffff880127e1df00 ffff88012783b000 0000000000000003 0000000000000000
[ 2711.970873] Call Trace:
[ 2711.970875] [] dump_stack+0x46/0x58
[ 2711.970885] [] warn_slowpath_common+0x8c/0xc0
[ 2711.970890] [] warn_slowpath_fmt+0x46/0x50
[ 2711.970894] [] usb_submit_urb.part.8+0x164/0x5a0
[ 2711.970899] [] ? __queue_work+0x177/0x3c0
[ 2711.970902] [] usb_submit_urb+0x35/0x80
[ 2711.970917] [] usb_read_interrupt_complete+0x229/0x353 [8723au]
[ 2711.970921] [] __usb_hcd_giveback_urb+0x83/0x120
[ 2711.970924] [] usb_giveback_urb_bh+0x96/0x130
[ 2711.970928] [] tasklet_action+0xcf/0xe0
[ 2711.970931] [] __do_softirq+0xef/0x330
[ 2711.970935] [] irq_exit+0x11e/0x140
[ 2711.970940] [] do_IRQ+0x67/0x110
[ 2711.970944] [] common_interrupt+0x6d/0x6d
[ 2711.970946] [] ? cpuidle_enter_state+0x61/0xe0
[ 2711.970952] [] ? cpuidle_enter_state+0x57/0xe0
[ 2711.970955] [] cpuidle_idle_call+0xc0/0x210
[ 2711.970960] [] arch_cpu_idle+0xe/0x30
[ 2711.970965] [] cpu_idle_loop+0x98/0x260
[ 2711.970969] [] ? clockevents_register_device+0xe2/0x140
[ 2711.970973] [] cpu_startup_entry+0x6b/0x70
[ 2711.970976] [] start_secondary+0xc8/0xd0
[ 2711.970979] ---[ end trace f5287f9056a9eb1c ]---
[ 2715.839255] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
[ 2715.839255] ==> rssi_level:3, rate_bitmap:0x000ff005
[ 2729.862945] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
[ 2729.862945] ==> rssi_level:2, rate_bitmap:0x000ff000
[ 2753.575495] ------------[ cut here ]------------
[ 2753.575504] WARNING: CPU: 3 PID: 0 at /home/apw/COD/linux/drivers/usb/core/urb.c:450 usb_submit_urb.part.8+0x164/0x5a0()
[ 2753.575506] usb 1-1.4: BOGUS urb xfer, pipe 3 != type 1
[ 2753.575507] Modules linked in: 8723au(OF) cfg80211 hid_sensor_incl_3d hid_sensor_gyro_3d hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common parport_pc ppdev joydev bnep rfcomm bluetooth snd_hda_codec_hdmi 6lowpan_iphc snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nfsd intel_rapl auth_rpcgss x86_pkg_temp_thermal nfs_acl intel_powerclamp coretemp nfs snd_seq_midi kvm_intel snd_seq_midi_event lockd sunrpc binfmt_misc fscache kvm snd_rawmidi dm_multipath scsi_dh crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_seq aesni_intel nls_iso8859_1 aes_x86_64 uvcvideo lrw snd_seq_device gf128mul glue_helper ablk_helper snd_timer cryptd microcode videobuf2_vmalloc hid_sensor_hub videobuf2_memops hid_multitouch psmouse videobuf2_core snd videodev serio_raw rts5139(C) lpc_ich soundcore mei_me mei mac_hid lp parport usbhid hid dm_mirror dm_region_hash dm_log i915 i2c_algo_bit drm_kms_helper ahci drm libahci wmi video [last unloaded: cfg80211]
[ 2753.575565] CPU: 3 PID: 0 Comm: swapper/3 Tainted: GF WC O 3.14.1-031401-generic #201404141220
[ 2753.575566] Hardware name: LENOVO 20175/INVALID, BIOS 66CN55WW 02/28/2013
[ 2753.575567] 00000000000001c2 ffff88012f2c3d00 ffffffff8175bbf5 0000000000000007
[ 2753.575571] ffff88012f2c3d50 ffff88012f2c3d40 ffffffff8106ac9c ffff8800c6ae0000
[ 2753.575574] ffff880127e1df00 ffff88012783b000 0000000000000003 0000000000000000
[ 2753.575576] Call Trace:
[ 2753.575578] [] dump_stack+0x46/0x58
[ 2753.575585] [] warn_slowpath_common+0x8c/0xc0
[ 2753.575588] [] warn_slowpath_fmt+0x46/0x50
[ 2753.575591] [] usb_submit_urb.part.8+0x164/0x5a0
[ 2753.575594] [] ? __queue_work+0x177/0x3c0
[ 2753.575597] [] usb_submit_urb+0x35/0x80
[ 2753.575607] [] usb_read_interrupt_complete+0x229/0x353 [8723au]
[ 2753.575610] [] __usb_hcd_giveback_urb+0x83/0x120
[ 2753.575612] [] usb_giveback_urb_bh+0x96/0x130
[ 2753.575615] [] tasklet_action+0xcf/0xe0
[ 2753.575617] [] __do_softirq+0xef/0x330
[ 2753.575619] [] irq_exit+0x11e/0x140
[ 2753.575623] [] do_IRQ+0x67/0x110
[ 2753.575625] [] common_interrupt+0x6d/0x6d
[ 2753.575626] [] ? cpuidle_enter_state+0x61/0xe0
[ 2753.575631] [] ? cpuidle_enter_state+0x57/0xe0
[ 2753.575633] [] cpuidle_idle_call+0xc0/0x210
[ 2753.575637] [] arch_cpu_idle+0xe/0x30
[ 2753.575639] [] cpu_idle_loop+0x98/0x260
[ 2753.575643] [] ? clockevents_register_device+0xe2/0x140
[ 2753.575645] [] cpu_startup_entry+0x6b/0x70
[ 2753.575648] [] start_secondary+0xc8/0xd0
[ 2753.575649] ---[ end trace f5287f9056a9eb1d ]---
[ 2754.949297] ------------[ cut here ]------------
[ 2754.949321] WARNING: CPU: 3 PID: 0 at /home/apw/COD/linux/drivers/usb/core/urb.c:450 usb_submit_urb.part.8+0x164/0x5a0()
[ 2754.949324] usb 1-1.4: BOGUS urb xfer, pipe 3 != type 1
[ 2754.949325] Modules linked in: 8723au(OF) cfg80211 hid_sensor_incl_3d hid_sensor_gyro_3d hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common parport_pc ppdev joydev bnep rfcomm bluetooth snd_hda_codec_hdmi 6lowpan_iphc snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nfsd intel_rapl auth_rpcgss x86_pkg_temp_thermal nfs_acl intel_powerclamp coretemp nfs snd_seq_midi kvm_intel snd_seq_midi_event lockd sunrpc binfmt_misc fscache kvm snd_rawmidi dm_multipath scsi_dh crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_seq aesni_intel nls_iso8859_1 aes_x86_64 uvcvideo lrw snd_seq_device gf128mul glue_helper ablk_helper snd_timer cryptd microcode videobuf2_vmalloc hid_sensor_hub videobuf2_memops hid_multitouch psmouse videobuf2_core snd videodev serio_raw rts5139(C) lpc_ich soundcore mei_me mei mac_hid lp parport usbhid hid dm_mirror dm_region_hash dm_log i915 i2c_algo_bit drm_kms_helper ahci drm libahci wmi video [last unloaded: cfg80211]
[ 2754.949402] CPU: 3 PID: 0 Comm: swapper/3 Tainted: GF WC O 3.14.1-031401-generic #201404141220
[ 2754.949404] Hardware name: LENOVO 20175/INVALID, BIOS 66CN55WW 02/28/2013
[ 2754.949407] 00000000000001c2 ffff88012f2c3d00 ffffffff8175bbf5 0000000000000007
[ 2754.949411] ffff88012f2c3d50 ffff88012f2c3d40 ffffffff8106ac9c ffff8800c6ae0000
[ 2754.949415] ffff880127e1df00 ffff88012783b000 0000000000000003 0000000000000000
[ 2754.949418] Call Trace:
[ 2754.949420] [] dump_stack+0x46/0x58
[ 2754.949430] [] warn_slowpath_common+0x8c/0xc0
[ 2754.949434] [] warn_slowpath_fmt+0x46/0x50
[ 2754.949438] [] usb_submit_urb.part.8+0x164/0x5a0
[ 2754.949442] [] ? __queue_work+0x177/0x3c0
[ 2754.949446] [] usb_submit_urb+0x35/0x80
[ 2754.949460] [] usb_read_interrupt_complete+0x229/0x353 [8723au]
[ 2754.949464] [] __usb_hcd_giveback_urb+0x83/0x120
[ 2754.949467] [] usb_giveback_urb_bh+0x96/0x130
[ 2754.949471] [] tasklet_action+0xcf/0xe0
[ 2754.949474] [] __do_softirq+0xef/0x330
[ 2754.949477] [] irq_exit+0x11e/0x140
[ 2754.949482] [] do_IRQ+0x67/0x110
[ 2754.949487] [] common_interrupt+0x6d/0x6d
[ 2754.949488] [] ? cpuidle_enter_state+0x61/0xe0
[ 2754.949494] [] ? cpuidle_enter_state+0x57/0xe0
[ 2754.949498] [] cpuidle_idle_call+0xc0/0x210
[ 2754.949503] [] arch_cpu_idle+0xe/0x30
[ 2754.949507] [] cpu_idle_loop+0x98/0x260
[ 2754.949512] [] ? clockevents_register_device+0xe2/0x140
[ 2754.949515] [] cpu_startup_entry+0x6b/0x70
[ 2754.949519] [] start_secondary+0xc8/0xd0
[ 2754.949522] ---[ end trace f5287f9056a9eb1e ]---

connection drops with kernel 3.17

I am using 3.17.2-1-ARCH with Antergos on my Lenovo 13 and experience connection drops with some wifi networks (wifi symbol says I am still connected).
Should i try to use the driver provided here or is this the same driver used in the kernel I am allready using?

I tested the connection with 2 wireless networks.
Network A seems to work fine. The speed is not as good as with windows but its stable.
However with Network B the connection drops every few minutes and only works again after turning the wifi off and on. I had the same issue with Ubuntu Gnome 13.10 (windows or other wireless modules have no issue with the network).
Using wicd instead of the networkmanager didn't solve the issue.
Any idea what else I could try?

Cannot see 802.11G-only or 5GHz networks

I have a Linksys E-3000 running Toastman Tomato-USB firmware (http://toastmanfirmware.yolasite.com/) had it set on the 2.4GHz radio for 802.11G only. (Both B and N were disabled in that band.) My laptop was unable to see the network and attempts to join it as a hidden network also failed. I've had to either enable B and G or use the firmware's "N only" option. While the firmware says "N only" iwlist claims 802.11bgn. I'm not sure if the firmware's UI option is misleading or if there's a bug in how the driver is interpreting the capabilities of the network.

Additionally, the chip cannot see the 5GHz network I have enabled.

[tom@tomcat ~]$ uname -a
Linux tomcat 3.9.1-301.fc19.x86_64 #1 SMP Wed May 8 18:02:34 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

[tom@tomcat ~]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 19 (Schrödinger’s Cat)
Release: 19
Codename: Schrödinger’sCat

problems with corporate WPA2 encrypted network

thanks a lot for the driver. Unfortunately I can not connect with it to an wpa2 encrypted network. AP is seen and authorization worked, but connection is not established (OS: Ubuntu 13.04)

Slow download speeds, normal upload speeds

Using Linux Mint 15 and I'm getting really slow download speeds.

I get about 30Mb download speeds on windows/vmware running linux mint 15. When booting to linux mint directly (using this driver) I get about 1Mb download speeds. The weird thing my upload speeds are normal, just the download speeds are bad. I've tried disabling ipv6 but still get about the same numbers.

Please let me know what I can provide.

Can't connect to WPA2 networks?

I'm using the latest commit on the main branch, and I run 3.13.5-1-ARCH (64 bits). I try to connect with

sudo wifi-menu

I can see the networks, and sometimes I have the ! (existing active connexion) status, but when I try to connect, it doesn't get through. Here is the output of journalctl -xn:

~ $ journalctl -xn
-- Logs begin at jeu 2014-02-20 02:00:59 EST, end at mer 2014-03-05 14:23:51 EST. --
mar 05 14:23:47 billybumbler kernel: RTL8723AU: ERROR indicate disassoc
mar 05 14:23:48 billybumbler kernel: RTL8723AU: ERROR set bssid:00:00:00:00:00:00
mar 05 14:23:48 billybumbler kernel: [84B blob data]
mar 05 14:23:48 billybumbler kernel: RTL8723AU: ERROR indicate disassoc
mar 05 14:23:48 billybumbler network[7077]: Failed to bring the network up for profile 'wlan0-MyLittleWifi'
mar 05 14:23:48 billybumbler systemd[1]: netctl@wlan0\x2dMyLittleWifi.service: main process exited, code=exited, status=1/FAILURE
mar 05 14:23:48 billybumbler systemd[1]: Failed to start Networking for netctl profile wlan0-MyLittleWifi.
-- Subject: L'unité (unit) netctl@wlan0\x2dMyLittleWifi.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- L'unité (unit) netctl@wlan0\x2dMyLittleWifi.service a échoué, avec le résultat failed.
mar 05 14:23:48 billybumbler systemd[1]: Unit netctl@wlan0\x2dMyLittleWifi.service entered failed state.
mar 05 14:23:48 billybumbler sudo[6988]: pam_unix(sudo:session): session closed for user root
mar 05 14:23:51 billybumbler kernel: RTL8723AU: ERROR nolinked power save enter

What kind of diagnosis should I run?

Monitor mode not working.

When trying to switch to monitor mode in Ubuntu 12.04 Kernel 3.5.0-23-generic

user@Ubuntu-Usb:~$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.

Linux 3.10.x

Any advice how to compile this under 3.10 kernel?
I can't seem to get it working on latest Archlinux Version

Should set the network interface type correctly to wlan

Currently, the rtl8723au driver reports to userspace to be a normal ethernet driver, rather than a wlan driver. This has various effects, for example udev's new interface naming code witll give the device an automatic name starting with "en" rather than "wl".

The 80211 core code uses this code to make sure the type is properly reported:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/net/wireless/core.c#n735

The rtl823au driver appears to do its own 80211 stack, so it should add a thing and report things property.

Problem with wifi hotspot

Thanks for this wonderful driver. It works great with most wifi connections. However it generates kernal panic if I use the wifi hotspot device from FreedomPop. Is there a way I can generate a debug log to send to you? Thanks.

Driver crash after system wakeup when suspended

After a lot of testing I found an error in the upstream module for the rtl8723au device. The code from this repo is working fine...

The following error occurs when using the upstream module from Linux kernel 3.15.5 running an up to date Arch distribution. I know, that this message does not show a trace to the r8723au module but when using the code from this repository I can not reproduce this error. The error is reproducable by suspending the system and wakening it up again. On my system it always happens. After this error, it is not possible to connect to any wireless network anymore. When unloading the module and modprobing it, it mostly works fine again.

[17258.696560] ------------[ cut here ]------------
[17258.696578] WARNING: CPU: 0 PID: 12808 at net/wireless/sme.c:654 __cfg80211_connect_result+0x421/0x480 [cfg80211]()
[17258.696580] Modules linked in: r8723au(C) fuse uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev cfg80211 media rts5139(C) joydev mousedev iTCO_wdt iTCO_vendor_support coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm i915 microcode snd_hda_codec_hdmi evdev mac_hid snd_hda_codec_conexant psmouse snd_hda_codec_generic serio_raw lpc_ich i2c_i801 drm_kms_helper snd_hda_intel thermal snd_hda_controller ideapad_laptop drm sparse_keymap rfkill wmi snd_hda_codec battery snd_hwdep snd_pcm intel_gtt snd_timer i2c_algo_bit snd i2c_core soundcore mei_me video mei ac button processor pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ext4 crc16 mbcache jbd2 algif_skcipher af_alg hid_sensor_hub hid_multitouch hid_generic usbhid hid dm_crypt dm_mod sd_mod crc_t10dif
[17258.696657]  atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci ehci_pci libata xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio [last unloaded: 8723au]
[17258.696704] CPU: 0 PID: 12808 Comm: kworker/u16:108 Tainted: G        WC O  3.15.5-2-ARCH #1
[17258.696707] Hardware name: LENOVO 20246/Yoga2, BIOS 77CN16WW 03/12/2013
[17258.696714] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[17258.696717]  0000000000000000 0000000042104844 ffff8801a5eebca0 ffffffff815081fe
[17258.696722]  0000000000000000 ffff8801a5eebcd8 ffffffff81069b1d ffff88017ca9fc00
[17258.696726]  0000000000000000 0000000000000000 ffff880209f70000 ffff88009f869818
[17258.696730] Call Trace:
[17258.696752]  [<ffffffff815081fe>] dump_stack+0x4d/0x6f
[17258.696757]  [<ffffffff81069b1d>] warn_slowpath_common+0x7d/0xa0
[17258.696761]  [<ffffffff81069c4a>] warn_slowpath_null+0x1a/0x20
[17258.696769]  [<ffffffffa0a9cad1>] __cfg80211_connect_result+0x421/0x480 [cfg80211]
[17258.696778]  [<ffffffffa0a76c0c>] cfg80211_process_wdev_events+0x18c/0x1c0 [cfg80211]
[17258.696787]  [<ffffffffa0a76c78>] cfg80211_process_rdev_events+0x38/0x70 [cfg80211]
[17258.696812]  [<ffffffffa0a7210e>] cfg80211_event_work+0x1e/0x30 [cfg80211]
[17258.696818]  [<ffffffff810861d8>] process_one_work+0x168/0x450
[17258.696822]  [<ffffffff81086c32>] worker_thread+0x132/0x3e0
[17258.696827]  [<ffffffff81086b00>] ? manage_workers.isra.23+0x2d0/0x2d0
[17258.696832]  [<ffffffff8108d43a>] kthread+0xea/0x100
[17258.696837]  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
[17258.696843]  [<ffffffff81515efc>] ret_from_fork+0x7c/0xb0
[17258.696847]  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
[17258.696850] ---[ end trace c135fc6de847e4b1 ]---

I have tried a lot of stuff like disabling other hardware, unloading everything not needed etc., but the only case this error occurs is when using the r8723au module from upstream.

Hopefully this report is helpful. If you need more information, please let me know.

slow speed after rebooting from Windows

I'm using this driver with the latest Ubuntu since 10 months. It works pretty well. However, when I perform a reboot from Windows 8 and load Ubuntu, the wifi speed is pretty slow. The workaround is to shutoff and restart the computer instead of a soft reboot.

Errors while compiling after dist-upgrade.

I updated my xubuntu box kernel and after restarting i tried to re-install the driver i kept getting error 1-2. I read around that using "make clean" works but no luck.

Any help on getting this wifi stick going again would be glorious!
------TERMINAL COPY----------:
root@panduh420:/rtl8192du# cd
root@panduh420:
# cd rtl8192du
root@panduh420:/rtl8192du# make clean
rm -fr .mod.c *.mod *.o ..cmd _.ko *

rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core ; rm -fr *.mod.c *.mod *.o ._.cmd .ko
cd hal ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .
.cmd _.ko
root@panduh420:/rtl8192du# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-32-generic/build M=/root/rtl8192du modules
make[1]: Entering directory /usr/src/linux-headers-3.13.0-32-generic' CC [M] /root/rtl8192du/core/rtw_cmd.o CC [M] /root/rtl8192du/core/rtw_security.o CC [M] /root/rtl8192du/core/rtw_debug.o CC [M] /root/rtl8192du/core/rtw_io.o CC [M] /root/rtl8192du/core/rtw_ioctl_set.o CC [M] /root/rtl8192du/core/rtw_ieee80211.o CC [M] /root/rtl8192du/core/rtw_mlme.o CC [M] /root/rtl8192du/core/rtw_mlme_ext.o CC [M] /root/rtl8192du/core/rtw_wlan_util.o CC [M] /root/rtl8192du/core/rtw_pwrctrl.o CC [M] /root/rtl8192du/core/rtw_rf.o CC [M] /root/rtl8192du/core/rtw_recv.o CC [M] /root/rtl8192du/core/rtw_sta_mgt.o CC [M] /root/rtl8192du/core/rtw_ap.o CC [M] /root/rtl8192du/core/rtw_xmit.o CC [M] /root/rtl8192du/core/rtw_p2p.o CC [M] /root/rtl8192du/core/rtw_sreset.o CC [M] /root/rtl8192du/core/rtw_efuse.o CC [M] /root/rtl8192du/hal/hal_intf.o CC [M] /root/rtl8192du/hal/hal_com.o CC [M] /root/rtl8192du/hal/rtl8192d_hal_init.o CC [M] /root/rtl8192du/hal/rtl8192d_phycfg.o CC [M] /root/rtl8192du/hal/rtl8192d_rf6052.o CC [M] /root/rtl8192du/hal/rtl8192d_dm.o CC [M] /root/rtl8192du/hal/rtl8192d_rxdesc.o CC [M] /root/rtl8192du/hal/rtl8192d_cmd.o CC [M] /root/rtl8192du/hal/usb_halinit.o CC [M] /root/rtl8192du/hal/rtl8192du_led.o CC [M] /root/rtl8192du/hal/rtl8192du_xmit.o CC [M] /root/rtl8192du/hal/rtl8192du_recv.o CC [M] /root/rtl8192du/hal/Hal8192DUHWImg.o CC [M] /root/rtl8192du/hal/usb_ops_linux.o CC [M] /root/rtl8192du/hal/rtl8192d_xmit.o CC [M] /root/rtl8192du/os_dep/osdep_service.o CC [M] /root/rtl8192du/os_dep/os_intfs.o /root/rtl8192du/os_dep/os_intfs.c:874:2: warning: initialization from incompatible pointer type [enabled by default] .ndo_select_queue = rtw_select_queue, ^ /root/rtl8192du/os_dep/os_intfs.c:874:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default] CC [M] /root/rtl8192du/os_dep/usb_intf.o CC [M] /root/rtl8192du/os_dep/usb_ops_linux.o CC [M] /root/rtl8192du/os_dep/ioctl_linux.o CC [M] /root/rtl8192du/os_dep/xmit_linux.o CC [M] /root/rtl8192du/os_dep/mlme_linux.o CC [M] /root/rtl8192du/os_dep/recv_linux.o CC [M] /root/rtl8192du/os_dep/ioctl_cfg80211.o /root/rtl8192du/os_dep/ioctl_cfg80211.c:3556:5: warning: ‘struct cfg80211_mgmt_tx_params’ declared inside parameter list [enabled by default] u64 *cookie) ^ /root/rtl8192du/os_dep/ioctl_cfg80211.c:3556:5: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /root/rtl8192du/os_dep/ioctl_cfg80211.c: In function ‘cfg80211_rtw_mgmt_tx’: /root/rtl8192du/os_dep/ioctl_cfg80211.c:3567:21: error: dereferencing pointer to incomplete type size_t len = params->len; ^ /root/rtl8192du/os_dep/ioctl_cfg80211.c:3568:41: error: dereferencing pointer to incomplete type struct ieee80211_channel *chan = params->chan; ^ /root/rtl8192du/os_dep/ioctl_cfg80211.c:3569:24: error: dereferencing pointer to incomplete type const u8 *buf = params->buf; ^ /root/rtl8192du/os_dep/ioctl_cfg80211.c: At top level: /root/rtl8192du/os_dep/ioctl_cfg80211.c:3650:2: warning: initialization from incompatible pointer type [enabled by default] .mgmt_tx = cfg80211_rtw_mgmt_tx, ^ /root/rtl8192du/os_dep/ioctl_cfg80211.c:3650:2: warning: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx’) [enabled by default] make[2]: *_\* [/root/rtl8192du/os_dep/ioctl_cfg80211.o] Error 1 make[1]: **\* [_module_/root/rtl8192du] Error 2 make[1]: Leaving directory /usr/src/linux-headers-3.13.0-32-generic'
make: *** [modules] Error 2
root@panduh420:
/rtl8192du#

Just works perfectly (not an issue)

It works perfect on yoga i7 ubuntu 13.04, using:

  • Android phone to share internet connection via USB
  • sudo apt-get install git
  • git clone git://github.com/lwfinger/rtl8723au.git
  • cd rtl8723au/
  • make
  • sudo make install

(Just wanted to say thanks!)

r8723au

With 3.15.3-200.fc20.x86_64 & 3.15.4-200.fc20.x86_64 comes the r8723au.

I thought it's the same as 8723au, which work very well 👍

But with r8723au it just show a connection, but nothing happens:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.64  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 xxxx::xxxx:xxxx:xxxx:xxxx  prefixlen 64  scopeid 0x20<link>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 3  bytes 119502 (116.7 KiB)
        RX errors 0  dropped 168  overruns 0  frame 0
        TX packets 4  bytes 46980 (45.8 KiB)
        TX errors 0  dropped 4 overruns 0  carrier 0  collisions 0

ifconfig show the interface up an running but if I try to ping something, nothing happens.

$ping google.com
ping: unknown host google.com
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
24 packets transmitted, 0 received, 100% packet loss, time 22999ms

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C  
--- 192.168.1.1 ping statistics ---
15 packets transmitted, 0 received, 100% packet loss, time 13999ms

If this is not the right place for problems with r8723au, please tell me where I should report such things.

Very much RX dropped

Master branch driver. I have very much "RX dropped" packets. So, wifi is not stable.
WPA2 over wpa_supplicant. CPU load around 0%.
wlan0 Link encap:Ethernet HWaddr E0:B2:F1:FB:98:EB
inet addr:192.168.0.209 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4109 errors:0 dropped:705 overruns:0 frame:0
TX packets:503 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1917038 (1.8 MiB) TX bytes:402965 (393.5 KiB)

Install doesn't work in stock 13.04 install

On a Yoga 13, from a fresh ubuntu 13.04 install, make yields and error and modprobe fails due to an undefined variable "rtw-android_cmdstr_to_num"

Make Error:

WARNING: "rtw_android_cmdstr_to_num" [/home/dir/rtl8723au/8723au.ko] undefined!

Modprobe error

ERROR: could not insert '8723au': Unknown symbol in module, or unknown parameters

dmesg:

8723au: Unknown symbol rtw_android_cmdstr_to_num (err 0)

Wlan doesn't show up in Fedora 19

I build and install it without problems.
The module doesn't show up in lsmod if I load it manually with sudo modprobe rtl8723ae I can see it in lsmod.

But it don't show up as interface with ifconfig

Device: lenovo yoga 13 with Fedora 19 and kernel 3.10.7-200.fc19.x86_64

Running hostapd crashes when WPA2 encryption is used (8723AU module as Access Point)

I am currently having problems with my wireless device (with its own microprocessor) installed with 8723au module.

  • rtl8723au module: 8723au with 2.4Ghz
  • rtl8723au driver: Version as of Dec.16, 2013 commit
  • Linux Kernel: v3.10.24
  • File System: Ubuntu 13.04 (Raring Ringtail)
  • hostapd driver: NOT the one via "apt-get install", got my wpa_supplicant_hostapd source codes packaged within the 8723au module supplier's driver v4.1.6_7336.20130426.

I cross-compile the driver (with my device's platform's compiler) using my Ubuntu 12.04 PC as host and across kernel v3.10.24 source codes - NO problems in compilation (make clean && make all),

I copy and install the created 8723au.ko in my device's file system, via "insmod 8723au.ko debug=4" - NO problems in installation.

For 8723au as Client or STA - NO problems in connection (connects fine, signal OK, link quality OK).

For 8723au as Access Point (without encryption) - NO problem in connection (connects fine, signal OK, link quality OK).

For 8723au as Access Point (with WPA2 encryption) - HAS problem in connection (Kernel panic).

Please check these files you might need as reference:

Some quick questions:

  • I can see that this site offers the rtl8723au WiFi driver, and rtl8723au_bt for BT driver. How about hostapd driver? Is there and open source driver for this that works well with your rtl8723au/rtl8723au_bt?
    The default hostapd driver installed via "apt-get install hostapad" also crashes.
  • This kernel crash happens only if the AP is set with encryption (tested only WPA2 so far), When there is no encryption, there are no problems at all.
    Does this give a clue?

In Client mode - Can't obtain IP address from connected AP (using kernel_version branch)

I am currently having problems with my wireless device (with its own ARM microprocessor) installed with 8723au module, running in Client/STA mode.

I have the following setup:

  • rtl8723au module: 8723au with 2.4Ghz
  • rtl8723au driver: kernel_version branch as of Feb. 27, 2014 commit
  • Linux Kernel: v3.13.5
  • File System: Ubuntu 13.04 (Raring Ringtail)
  • Platform: ARMv7

I cross-compiled the driver (with my device's platform's compiler) using my Ubuntu 12.04 PC as host and across kernel v3.13.5 source codes - NO problems in compilation (make clean && make all),

I copied rtl8723aufw_*.bin to my platform's file system, specifically at /lib/firmware/rtlwifi.

I copied and installed the created 8723au.ko in my platform's file system, via "insmod 8723au.ko debug=4" - NO problems in installation.

But I had problems for 8723au as Client or STA.

I can:

  • Turn wlan0 up (via "ifconfig wlan0 up")
  • Scan nearby Access Points (via "iw dev wlan0 scan")
  • Set my wlan0's mode (via "iwconfig wlan0 mode managed")
  • Connect to an unencrypted Access Point (via "iwconfig wlan0 snakecentral")

But I can NOT:

  • Get IP from the Access Point I've connected to (via "dhclient -v wlan0"), because it times out.

Full logs at:
https://gist.github.com/maggieroxas/9264170

Unable to make on 3.13.6-1-ARCH

It's a fresh arch install:

[tp@oy rtl8723au]$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.6-1-ARCH/build M=/home/tp/rtl8723au  modules
make[1]: Entering directory '/usr/lib/modules/3.13.6-1-ARCH/build'
make[1]: *** No rule to make target 'modules'. Arrêt.
make[1]: Leaving directory '/usr/lib/modules/3.13.6-1-ARCH/build'
Makefile:516: recipe for target 'modules' failed
make: *** [modules] Error 2
[tp@oy rtl8723au]$ uname -r
3.13.6-1-ARCH

<solved>Fatal error, module not found...

I noticed after an Ubuntu system update that my wireless device stopped working. So I looked thru some forums and remembered that I needed to reinstall the rtl8732au driver but after trying I'm getting the error:
modprobe: Fatal: Module 8732au not found.

I followed the steps exactly and the first install worked flawlessly a month ago on a fresh Ubuntu 14.04 install, but with the update I assume sth changed as the driver install now kicks up the error.

I'm still pretty much a noob, so I just throwing this out there for any troubleshooting advice on where to look for trouble and what to try for a fix.

thanks in advance!

Compile Problem on ArchLinux

Hi, thanks for this driver!
I'm running Fedora19 now and, once installed missing packages, the divers compile and works perfectly.
Now i need to compile it under ArchLinux, but i get this error:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.9.5-301.fc19.x86_64/build M=/home/wifi/rtl8723au-master modules
make[1]: *** /lib/modules/3.9.5-301.fc19.x86_64/build: No such file or directory. Stop.
Makefile:516: recipe for target 'modules' failed
make: *** [modules] Error 2

Why is it looking for 3.9.5-301.fc19.x86_64? I'm chroot-ing from Fedora to the newborn arch, but i don't think that's the problem...
Sorry for noob question, but i really can't find anything on the web.

No Errors, but also no Wifi (Korora, Fedora 20, KDE)

I cloned the repo and ran the commands, but when I perform the modprobe I get the following message:

$ sudo modprobe 8723au
modprobe: ERROR: could not insert '8723au': Required key not available

Restart also does not present me a discovered wifi device.

$ uname -r

3.12.7-300.fc20.x86_64

RX Warning!

When connected and transferring data i receive lot of errors like this in dmesg:

[  440.536712] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  440.599790] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  440.685345] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  440.686507] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  440.986088] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  441.079666] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  441.193593] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  441.250411] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  441.472235] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  441.601665] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  441.862499] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  441.921028] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  441.980480] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.082275] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  442.142722] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.145972] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.326871] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  442.389812] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  442.447883] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  442.522215] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.829722] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.923886] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  442.989502] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  443.048503] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  443.107913] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  455.935197] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  458.049811] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  458.055135] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  458.056312] RTL8723AU: recvbuf2recvframe()-1270: RX Warning!
[  458.477587] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  458.819695] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  458.967392] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!
[  460.180140] RTL8723AU: recvbuf2recvframe()-1260: RX Warning! rx CRC ERROR !!

Driver version 4.1.6

rtl8723au dropping wifi and system lock ups

I am using the Lenovo Yoga 14 ultrabook with this driver. For a while I've been using Debian testing/unstable with the driver from the master branch and have had no issues come up. However, recently I upgraded to kernel version 3.16, and since that version includes the driver already, I had to use that one.

Here's where some issues come up. When using kernel 3.16, I notice the wifi signal just drops randomly, but not while it is actually downloading/uploading data, only if it has gone idle for a few moments at least. When this happens, it seems the only way to get wifi back is to turn the wireless off and back on.

The issue with the system lock ups are very peculiar. Sometimes it just happens immediately after logging in, and other times, it happens seveal minutes later. I am mostly certain that the lockups are caused by the wifi, since it does not happen when I turn wireless off.

I also tried installing other distros with kernel 3.16, notably Ubuntu 14.10 and Arch. Both have the same issues described. I went back to Debian and installed kernel 3.14 and compiled the driver in the master branch, and none of these issues are present.

dkms.conf error prevents auto-build under Ubuntu 13.10

Under Ubuntu 13.10 (at least), the 8723au module won't auto-build correctly with new kernels. The error can be seen explicitly with dkms status, which gives:
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive

I am not sure how BUILT_MODULE_NAME is distinct from BUILD_MODULE_NAME (the manpage for v2.0.20 seems to refer to them interchangeably!), but adding this extra line to dkms.conf resolves the issue.

index 60e7f4b..fad6203 100644
--- a/dkms.conf
+++ b/dkms.conf
@@ -1,5 +1,6 @@
 PACKAGE_NAME="8723au"
 PACKAGE_VERSION="0.1"
 BUILD_MODULE_NAME[0]="8723au"
+BUILT_MODULE_NAME[0]="8723au"
 DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
 AUTOINSTALL="yes"

Connection to a WPA2 Enterprise network drops intermittently

Referencing a comment I made on an earlier thread: my RTL8723AU card in my Lenovo Yoga experiences intermittent network communication when connected to a WPA2 Enterprise network. Every minute or so, network traffic stops for around 10-15 seconds, while Network Manager shows the connection still active. The network in question uses PEAP for authentication with MSCHAPv2 for inner auth.

The laptop is running Kubuntu 12.10 64-bit Linux Kernel 3.8.8 (although this happens with the stock 3.5.0 kernel as well). The driver was built from source from this repository.

Relevant output from /var/log/syslog:

May 17 08:55:39 uzume kernel: [101877.699012] RTL8723AU: rtw_wx_get_rts, rts_thresh=2347
May 17 08:55:39 uzume kernel: [101877.699015] RTL8723AU: rtw_wx_get_frag, frag_len=2346
May 17 08:55:56 uzume kernel: [101894.688334] RTL8723AU: rtw_wx_get_rts, rts_thresh=2347
May 17 08:55:56 uzume kernel: [101894.688338] RTL8723AU: rtw_wx_get_frag, frag_len=2346
May 17 08:56:05 uzume kernel: [101903.459854] RTL8723AU: IW_SCAN_THIS_ESSID, ssid=<NETWORK NAME REDACTED>, len=11
May 17 08:56:05 uzume kernel: [101903.966778] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:06 uzume kernel: [101904.969582] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:07 uzume kernel: [101905.972381] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:08 uzume kernel: [101906.475809] RTL8723AU: ERROR issue_nulldata, FAIL!, try_cnt =3, wait_ms =500
May 17 08:56:08 uzume kernel: [101906.476057] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:08 uzume kernel: [101906.484219] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:08 uzume kernel: [101906.484839] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:10 uzume kernel: [101908.361548] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:11 uzume kernel: [101909.364291] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:12 uzume kernel: [101910.367108] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:12 uzume kernel: [101910.690765] RTL8723AU: rtw_wx_get_rts, rts_thresh=2347
May 17 08:56:12 uzume kernel: [101910.690774] RTL8723AU: rtw_wx_get_frag, frag_len=2346
May 17 08:56:12 uzume kernel: [101910.870520] RTL8723AU: ERROR issue_nulldata, FAIL!, try_cnt =3, wait_ms =500
May 17 08:56:12 uzume kernel: [101910.871545] RTL8723AU: survey done event(50)
May 17 08:56:12 uzume kernel: [101910.871758] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:12 uzume kernel: [101910.885057] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:12 uzume kernel: [101910.885555] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:12 uzume kernel: [101910.887114] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:13 uzume kernel: [101912.093033] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:14 uzume kernel: [101913.095876] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:15 uzume kernel: [101914.098701] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:16 uzume kernel: [101914.602034] RTL8723AU: ERROR issue_nulldata, FAIL!, try_cnt =3, wait_ms =500
May 17 08:56:16 uzume kernel: [101914.602241] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:16 uzume kernel: [101914.615063] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:16 uzume kernel: [101914.615681] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:18 uzume kernel: [101916.475844] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:19 uzume kernel: [101917.478604] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:20 uzume kernel: [101918.481446] RTL8723AU: rtw_sctx_wait timeout
May 17 08:56:20 uzume kernel: [101918.984868] RTL8723AU: ERROR issue_nulldata, FAIL!, try_cnt =3, wait_ms =500
May 17 08:56:20 uzume kernel: [101918.986141] RTL8723AU: survey done event(34)
May 17 08:56:20 uzume kernel: [101918.986369] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:20 uzume kernel: [101918.999492] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:20 uzume kernel: [101919.002046] RTL8723AU: rtw_ack_tx_done ack_tx not set
May 17 08:56:29 uzume kernel: [101927.688870] RTL8723AU: rtw_wx_get_rts, rts_thresh=2347
May 17 08:56:29 uzume kernel: [101927.688880] RTL8723AU: rtw_wx_get_frag, frag_len=2346

In the example above, it looks like my traffic degraded starting at 08:56:05 and then resumed shortly after 08:56:20.

Kernels older than 3.0

Would anyone object if the code were limited to kernels 3.0 or newer? Is anyone using a 2.6.39 or older version?

DKMS typo

Nearest I can tell, the merge from issue 11 wasn't correct.

The Makefile (as committed) shows the following on line 532:
CONFIG_REL8723AS-VAU := m

It should be as follows:
CONFIG_RTL8723AS-VAU := m

The difference? REL != RTL

connection drop intermittently

Not sure if I should have opened a new issue, this is with WPA personal not enterprise. I can't get a large download (100megs) to succeed before it times out. It wouldn't connect to anything for a while and then it comes back. Is there anything I can do?

Here's the dmesg output, there's probably a lot of noise in here, sorry, not sure what you'd want to see. Thanks in advance for looking at this/all the work thats gone into this. It's appreciated.

[ 3.755752] RTL8723AU: ERROR indicate disassoc
[ 3.771124] RTL8723AU: ERROR indicate disassoc
[ 3.779121] RTL8723AU: ERROR indicate disassoc
[ 3.779976] RTL8723AU: ERROR set bssid:00:00:00:00:00:00
[ 3.780017] RTL8723AU: ERROR set ssid [g\xffffffc6isQ\xffffffffJ\xffffffec)\xffffffcd\xffffffba\xffffffba\xffffffab\xfffffff2\xfffffffb\xffffffe3F|\xffffffc2T\xfffffff8\x1b\xffffffe8\xffffffe7\xffffff8dvZ.c3\xffffff9f\xffffffc9\xffffff9a\xffffff9aD\xffffffcc1;] fw_state=0x00000008
[ 6.507290] RTL8723AU: ERROR set ssid [MsV] fw_state=0x00000008
[ 6.507304] RTL8723AU: ERROR set bssid:00:26:5a:f1:41:26
[ 6.590978] RTL8723AU: ERROR start auth
[ 6.593768] RTL8723AU: ERROR auth success, start assoc
[ 6.597815] RTL8723AU: ERROR assoc success
[ 9.607370] RTL8723AU: ERROR send eapol packet
[ 9.613179] RTL8723AU: ERROR send eapol packet
[ 9.613225] RTL8723AU: ERROR set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
[ 9.615000] RTL8723AU: ERROR set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2
[ 139.932853] RTL8723AU: ERROR indicate disassoc
[ 139.932911] RTL8723AU: ERROR set bssid:00:00:00:00:00:00
\xffffffb71X\xffffffa3Z%]\x05\x17X\xffffffe9^\xffffffd4\xffffffab\xffffffab\xffffffb2\xffffffcd\xffffffc6\xffffff9b\xffffff9b\xffffffb4T\x11\x0e\xffffff82tA!=\xffffffdc\xffffff87\xffffff87D\xffffffcc1;] fw_state=0x00000008
[ 139.937187] RTL8723AU: ERROR sta recv deauth reason code(6) sta:00:26:5a:f1:41:26
[ 139.938306] RTL8723AU: ERROR sta recv deauth reason code(6) sta:00:26:5a:f1:41:26
[ 139.967779] RTL8723AU: ERROR indicate disassoc
[ 146.097495] RTL8723AU: ERROR nolinked power save enter
[ 166.491892] RTL8723AU: ERROR nolinked power save leave
[ 168.493752] RTL8723AU: ERROR nolinked power save enter
[ 199.494796] RTL8723AU: ERROR nolinked power save leave
[ 201.495866] RTL8723AU: ERROR nolinked power save enter
[ 242.502575] RTL8723AU: ERROR nolinked power save leave
[ 244.503800] RTL8723AU: ERROR nolinked power save enter
[ 295.511974] RTL8723AU: ERROR nolinked power save leave
[ 297.513616] RTL8723AU: ERROR nolinked power save enter

linux_version branch won't build with Fedora 20 Linux 3.15.4-200.fc20.x86_64

/home/joe/Downloads/rtl8723au-kernel_version/hal/rtl8723a_bt-coexist.c: In function ‘HALBT_BTChipType’:
/home/joe/Downloads/rtl8723au-kernel_version/hal/rtl8723a_bt-coexist.c:11322:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
cc1: some warnings being treated as errors
make[2]: *** [/home/joe/Downloads/rtl8723au-kernel_version/hal/rtl8723a_bt-coexist.o] Error 1
make[1]: *** [_module_/home/joe/Downloads/rtl8723au-kernel_version] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.15.4-200.fc20.x86_64'
make: *** [modules] Error 2

Glitches with 3.15 stable kernel

Since the update to 3.15 stable yesterday, the driver isn't working well anymore. The issues are:

1 2 out of 4 bars max whereas on 3.14 it's 4 bars.
2 Frequent dropouts (e.g. connection loss).
3 Even on moments w/o dropouts it's very, very slow.

I had to downgrade to 3.14 and on 3.14 the driver still works perfectly, max bars, no dropouts, fast connection, etc.

Hopefully you can fix the driver for 3.15 :)

fedora 20

i have been unable to install this driver on any of four versions of fedora i have tried it on now, each were fresh install and each had been updated. in every case, this is/was the error i have received:

make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.11.10-301.fc20.x86_64/build M=/home/egriffin/Desktop/rtl8723au/rtl8723au-master modules
make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: No such file or directory. Stop.
make: *** [modules] Error 2

this is not the best part of owning a lenovo yoga.. and probably not the worst. Hopefully this is some stupid mistake on my part but googl seems to indicate that other people have struggled with this... possibly without success.

In any case, I have used your product many other time, so i thank you.

Cheers

ERROR sta recv deauth reason code(7)

This driver works quite well for me on a Lenovo Yoga 13 laptop with kernel 3.13.0.

However there is a single restaurant in town that has an access point that causes the driver to throw errors and not associate with the access point. The dmesg output is:

[19610.339888] usb 2-1.7: new high-speed USB device number 32 using ehci-pci
[19636.102929] RTL8723AU: ERROR indicate disassoc
[19636.102992] RTL8723AU: ERROR set bssid:00:00:00:00:00:00
[19636.103118] RTL8723AU: ERROR set ssid [?b\xffffff80)D\xffffffde|\xffffffa5\xffffff89NWY\xffffffd3Q\xffffffad\xffffffac\xffffff86\xffffff95\xffffff80\xffffffec\x17\xffffffe4\xffffff85\xfffffff1\xffffff8c
f\xfffffff1|\xffffffc0|\xffffffbb\x161\x08\xfffffffc] fw_state=0x00000008
[19636.105813] RTL8723AU: ERROR sta recv deauth reason code(7) sta:90:72:40:21:0b:84
[19636.136209] RTL8723AU: ERROR indicate disassoc
[19641.597909] RTL8723AU: ERROR nolinked power save enter

Misterious Kernel Panic in corporate WPA2 network (Arch Linux)

Hello there, I'm not a very experienced Linux user, so sorry in advance for stupid questions/assumptions/lack of technical information.

The issue is the following: in one particular spot of a university library my Arch system gives me a kernel panic. Sometimes it happens upon connection establishing, sometimes a bit later, but always around that time.

img_20140312_152419

I'm pretty sure it has something to do with wireless; I tried to disable wireless in NetworkManager and the problem did not occur for ~30 minutes I was on the spot. Again, with wireless on it happened almost instantly after connection had been established.
Also for some reason this issue occurs only in one spot, probably with specific wireless router. Unfortunately, I don't have access to it and it seems to be hidden.

My machine is Lenovo Youga 13 with Arch Linux.
uname -r gives me:
3.13.6-1-ARCH

Please tell me if there is any other information I could provide.
Thank you.

Very slow wifi speed on 3.12.7-2-ARCH

Hey, thanks for writing this driver. Awesome job!

Unfortunately I seem to have trouble getting any real throughput using this driver. I tried transferring some files in my local wireless using sftp, and all transfers never seem to exceed 196kb/s on Arch. On windows the chip has no trouble transferring data at rates above 5mb/s between the same set of devices; and even an external 8192cu usb stick manages to get up to 4mb/s.

The issue persists even when compiling the module without power management support . Any ideas on what might cause those very slow transfer rates? Sometimes it seems like it jumps up to 360kb/s, then the next second it slows down to less than 100kb/s ..

  • Linux devnull 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
  • newest git ver
  • dmesg:

[12024.158156] usbcore: registered new interface driver rtl8723au
[12024.731986] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[12024.732038] RTL8723AU: ERROR set bssid:00:00:00:00:00:00
\xffffffb71X\xffffffa3Z%]�X\xffffffe9^\xffffffd4\xffffffab\xffffffb2\xffffffcdƛ\xffffffb4T�\xffffff82tA!=܇\xffffffbcVp] fw_state=0x00000008
[12026.086414] RTL8723AU: ERROR set ssid [cookies] fw_state=0x00000008
[12026.086429] RTL8723AU: ERROR set bssid:64:66:b3:9f:36:5a
[12026.120343] RTL8723AU: ERROR start auth
[12026.123566] RTL8723AU: ERROR auth success, start assoc
[12026.127443] RTL8723AU: ERROR assoc success
[12026.135180] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
==> rssi_level:0, rate_bitmap:0x000ff015
[12026.151993] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[12026.278711] RTL8723AU: ERROR send eapol packet
[12026.284322] RTL8723AU: ERROR send eapol packet
[12026.284361] RTL8723AU: ERROR set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4
[12026.286760] RTL8723AU: ERROR set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2
[12026.741494] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
==> rssi_level:2, rate_bitmap:0x000ff000
[12030.759306] UpdateHalRAMask8192CUsb => mac_id:0, networkType:0x0b, mask:0x000fffff
==> rssi_level:1, rate_bitmap:0x000f0000

Unable to make on Arch Linux

rtl8723au (master) $ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.14.2-1-ARCH/build M=/home/tp/rtl8723au  modules
make[1]: Entering directory '/usr/lib/modules/3.14.2-1-ARCH/build'
Makefile:615: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
  CC [M]  /home/tp/rtl8723au/core/rtw_cmd.o
gcc: erreur: unrecognized command line option ‘-fstack-protector-strong’
scripts/Makefile.build:308: recipe for target '/home/tp/rtl8723au/core/rtw_cmd.o' failed
make[2]: *** [/home/tp/rtl8723au/core/rtw_cmd.o] Error 1
Makefile:1274: recipe for target '_module_/home/tp/rtl8723au' failed
make[1]: *** [_module_/home/tp/rtl8723au] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.14.2-1-ARCH/build'
Makefile:516: recipe for target 'modules' failed
make: *** [modules] Error 2

CC version:

rtl8723au (master) $ cc --version
cc (GCC) 4.8.2 20140206 (prerelease)
Copyright © 2013 Free Software Foundation, Inc.

DKMS Support?

First, thanks for doing this..

Until this driver gets into the kernel, I'm trying to set up DKMS with it for my wife's new yoga 11s laptop. She's a compulsory upgrader, so dkms support is a must... although i guess an rc.local hack might also work.

Regardless, it appears my simple dkms.conf file doesn't work:

PACKAGE_NAME="8723au"
PACKAGE_VERSION="0.1"
BUILD_MODULE_NAME[0]="8723au"
DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
AUTOINSTALL="yes"

However, when i run dkms build i get this:

$ sudo dkms build -m 8723au -v 0.1

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.11.0-12-generic -C /lib/modules/3.11.0-12-generic/build M=/var/lib/dkms/8723au/0.1/build....
ERROR (dkms apport): binary package for 8723au: 0.1 not found
Error!  Build of 8723au.ko failed for: 3.11.0-12-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/8723au/0.1/build/ for more information.

and the log shows:

DKMS make.log for 8723au-0.1 for kernel 3.11.0-12-generic (x86_64)
Sat Oct 12 00:10:09 EDT 2013
make: Entering directory `/usr/src/linux-headers-3.11.0-12-generic' 
  LD      /var/lib/dkms/8723au/0.1/build/built-in.o
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'

.. its almost like its trying to build the 'module' as a built-in, instead of a module? I checked the Makefile and its waaay more complicated than most module makefiles.

Any idea how I can get it to work?

Error running make

Hi,

I'm trying to install the rtl8723au driver on a Lenovo Yoga 11s running current stable version of Debian (7.3 "wheezy"). I download the files using git as advised, but when running make in the rtl8723au directory, I get an error as show in the extract below. I have tried to ensure I have the relevant packages installed - e.g. linux-headers, gcc, etc.

I'd be very grateful for any advice on what the problem could be (I'm still fairly new to Linux!). Many thanks for making this driver available.

Sam

root@11s:/home/sam/Downloads/wifi/rtl8723au# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/sam/Downloads/wifi/rtl8723au modules
make[1]: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC [M] /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.o /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_set_ie_secondary_ch_offset’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:204:25: error: ‘WLAN_EID_SECONDARY_CHANNEL_OFFSET’ undeclared (first use in this function) /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:204:25: note: each undeclared identifier is reported only once for each function it appears in /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_ieee802_11_parse_elems’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:1161:8: error: ‘WLAN_EID_HT_OPERATION’ undeclared (first use in this function) /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_set_ie_secondary_ch_offset’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:205:1: warning: control reaches end of non-void function [-Wreturn-type] make[4]: *** [/home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.o] Error 1 make[3]: *** [_module_/home/sam/Downloads/wifi/rtl8723au] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.2.0-4-amd64'
make: *** [modules] Error 2

Crashes home network.

I am really at a loss for understanding this, but with the latest commit to the kernel_version branch 60e49d3 I am no longer able to connect to any networks and trying to connect to the wireless router in my home causes the router to disconnect all devices on the network and no other devices can connect to it until I stop trying to connect with my laptop which uses the rtl8723au driver. As before in #25 , I have a yoga 13.

In between "BOGUS urb" tracebacks as discussed in issue #25, this[1] pops up.

EDIT: Even more dmesg output [2]

[1] http://pastebin.com/6xATwxqs
[2] http://pastebin.com/DNnTxcSD

Works but with warnings

This works great! There's a couple of warnings during make:

  CC [M]  /home/hosh/git/rtl8723au/hal/Hal8723PwrSeq.o
  CC [M]  /home/hosh/git/rtl8723au/hal/rtl8723a_bt-coexist.o
  CC [M]  /home/hosh/git/rtl8723au/os_dep/osdep_service.o
  CC [M]  /home/hosh/git/rtl8723au/os_dep/os_intfs.o
/home/hosh/git/rtl8723au/os_dep/os_intfs.c:962:2: warning: initialization from incompatible pointer type [enabled by default]
  .ndo_select_queue = rtw_select_queue,
  ^
/home/hosh/git/rtl8723au/os_dep/os_intfs.c:962:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]
  CC [M]  /home/hosh/git/rtl8723au/os_dep/usb_intf.o
  CC [M]  /home/hosh/git/rtl8723au/os_dep/usb_ops_linux.o

Despite these warnings, it compiles fine and installs and works correct.

Also, a simple install script that would be handy to be part of the repository:

#!/bin/bash
make clean
make
sudo make install

sudo modprobe 8723au

8723au AP mode

Kernel: 3.0.35
Wpa_supplicant: 2.2

When starting wpa_supplicant, got "wlan0: Driver does not support AP mode"

  1. Driver wext:
    /wpa_supplicant -Dwext -iwlan0 -c/etc/wpaAP.conf
    Successfully initialized wpa_supplicant
    ioctl[SIOCSIWAP]: Operation not permitted
    wlan0: Driver does not support AP mode
    wlan0: Driver does not support AP mode
  2. Driver nl80211
    wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpaAP.conf
    Successfully initialized wpa_supplicant
    wlan0: Failed to initialize driver interface

How to solve?

Frequent Kernal Panics - Arch Linux

Been having frequent kernel panics with the latest commit of the driver (d30225b) and the latest arch kernel 3.13.6. I'm on a lenovo yoga 11s.

It can occur as soon as I log on or I get as long as 15 minutes , but it happens every time. I still have testing to do but I updated the arch kernel and with that got the latest commit of the driver. I still need to revert the driver to the last commit and also the precious arch kernel, for testing, but I wanted to bring it up as an issue with arch kernel 3.13.6 and commit d30225b.

I will try to get a kernel dump message next time it happens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.