lwfinger / rtl8723bu

Driver for RTL8723BU
284 stars 144 forks source link

Connecting works after several attempts when IPv6 is enabled #25

Open bogdanr opened 8 years ago

bogdanr commented 8 years ago

Using this driver I have to make connection attempts several times before it finally work. I tested this over a few weeks and it was clearly not a fluke. It happens with various routers, not just a specific one. Tested both on linux 4.3 and linux 4.5 and same thing happens.

Failed attempt:

[  130.451736] ------------[ cut here ]------------
[  130.451757] WARNING: CPU: 1 PID: 37 at net/wireless/sme.c:714 __cfg80211_connect_result+0x284/0x2fc()
[  130.451763] Modules linked in: rtsx_usb_ms rtsx_usb_sdmmc memstick rtsx_usb 8723bu(O) crc32_pclmul aesni_intel aes_x86_64 glue_helper lrw ablk_helper cryptd intel_rapl x86_pkg_temp_thermal i915 intel_pch_thermal lpc_ich processor_thermal_device intel_soc_dts_iosf iosf_mbi intel_gtt dw_dmac dw_dmac_core sdhci_acpi int3403_thermal goodix wmi elan_i2c kxcjk_1013 fjes industrialio_triggered_buffer uvcvideo acpi_als int3400_thermal int3402_thermal videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core acpi_thermal_rel int340x_thermal_zone kfifo_buf videodev acpi_pad industrialio tpm_tis efivarfs
[  130.451856] CPU: 1 PID: 37 Comm: kworker/u8:1 Tainted: G           O    4.5.0+ SMP
[  130.451861] Hardware name: TECLAST tPAD/tPAD, BIOS 5.6.5 09/01/2015
[  130.451873] Workqueue: cfg80211 cfg80211_event_work
[  130.451879]  0000000000000000 ffff8800dbbd3cc8 ffffffff8146ef79 0000000000000000
[  130.451890]  0000000000000009 ffff8800dbbd3d00 ffffffff81066abf ffffffff81a48e93
[  130.451900]  ffff8800cd424c00 0000000000000000 ffff88009b606218 ffff8800dbbd3d50
[  130.451910] Call Trace:
[  130.451924]  [<ffffffff8146ef79>] dump_stack+0x61/0x7d
[  130.451937]  [<ffffffff81066abf>] warn_slowpath_common+0x94/0xad
[  130.451947]  [<ffffffff81a48e93>] ? __cfg80211_connect_result+0x284/0x2fc
[  130.451957]  [<ffffffff81066b7c>] warn_slowpath_null+0x15/0x17
[  130.451966]  [<ffffffff81a48e93>] __cfg80211_connect_result+0x284/0x2fc
[  130.451977]  [<ffffffff81a2cab8>] cfg80211_process_wdev_events+0xdb/0x189
[  130.451986]  [<ffffffff81a2cab8>] ? cfg80211_process_wdev_events+0xdb/0x189
[  130.451996]  [<ffffffff81a2cbb4>] cfg80211_process_rdev_events+0x4e/0x5d
[  130.452004]  [<ffffffff81a289a9>] cfg80211_event_work+0x19/0x21
[  130.452014]  [<ffffffff81079554>] process_one_work+0x174/0x281
[  130.452023]  [<ffffffff81079b3a>] worker_thread+0x1fc/0x2ae
[  130.452032]  [<ffffffff8107993e>] ? rescuer_thread+0x2af/0x2af
[  130.452043]  [<ffffffff8107d9c1>] kthread+0xa0/0xa8
[  130.452053]  [<ffffffff8107d921>] ? kthread_parkme+0x1f/0x1f
[  130.452076]  [<ffffffff81abc18f>] ret_from_fork+0x3f/0x70
[  130.452086]  [<ffffffff8107d921>] ? kthread_parkme+0x1f/0x1f
[  130.452093] ---[ end trace f2784fa5e330dd71 ]---
[  130.454074] RTL871X: send eapol packet
[  130.457269] RTL871X: send eapol packet
[  130.601822] RTL871X: set pairwise key camid:4, addr:20:aa:4b:e5:b1:5d, kid:0, type:AES
[  130.602782] RTL871X: set group key camid:5, addr:20:aa:4b:e5:b1:5d, kid:1, type:AES
[  133.793320] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u3i2: link is not ready
[  133.812953] RTL871X: set bssid:00:00:00:00:00:00
[  137.781984] RTL871X: nolinked power save enter

Successful attempt:

[  224.975916] ------------[ cut here ]------------
[  224.975933] WARNING: CPU: 3 PID: 122 at net/wireless/sme.c:714 __cfg80211_connect_result+0x284/0x2fc()
[  224.975966] Modules linked in: rtsx_usb_ms rtsx_usb_sdmmc memstick rtsx_usb 8723bu(O) crc32_pclmul aesni_intel aes_x86_64 glue_helper lrw ablk_helper cryptd intel_rapl x86_pkg_temp_thermal i915 intel_pch_thermal lpc_ich processor_thermal_device intel_soc_dts_iosf iosf_mbi intel_gtt dw_dmac dw_dmac_core sdhci_acpi int3403_thermal goodix wmi elan_i2c kxcjk_1013 fjes industrialio_triggered_buffer uvcvideo acpi_als int3400_thermal int3402_thermal videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core acpi_thermal_rel int340x_thermal_zone kfifo_buf videodev acpi_pad industrialio tpm_tis efivarfs
[  224.976030] CPU: 3 PID: 122 Comm: kworker/u8:2 Tainted: G        W  O    4.5.0+ SMP
[  224.976034] Hardware name: TECLAST tPAD/tPAD, BIOS 5.6.5 09/01/2015
[  224.976042] Workqueue: cfg80211 cfg80211_event_work
[  224.976049]  0000000000000000 ffff8800da147cc8 ffffffff8146ef79 0000000000000000
[  224.976056]  0000000000000009 ffff8800da147d00 ffffffff81066abf ffffffff81a48e93
[  224.976062]  ffff8800cd424c00 0000000000000000 ffff880087539e18 ffff8800da147d50
[  224.976067] Call Trace:
[  224.976078]  [<ffffffff8146ef79>] dump_stack+0x61/0x7d
[  224.976088]  [<ffffffff81066abf>] warn_slowpath_common+0x94/0xad
[  224.976096]  [<ffffffff81a48e93>] ? __cfg80211_connect_result+0x284/0x2fc
[  224.976103]  [<ffffffff81066b7c>] warn_slowpath_null+0x15/0x17
[  224.976108]  [<ffffffff81a48e93>] __cfg80211_connect_result+0x284/0x2fc
[  224.976115]  [<ffffffff81a2cab8>] cfg80211_process_wdev_events+0xdb/0x189
[  224.976121]  [<ffffffff81a2cab8>] ? cfg80211_process_wdev_events+0xdb/0x189
[  224.976129]  [<ffffffff81a2cbb4>] cfg80211_process_rdev_events+0x4e/0x5d
[  224.976134]  [<ffffffff81a289a9>] cfg80211_event_work+0x19/0x21
[  224.976141]  [<ffffffff81079554>] process_one_work+0x174/0x281
[  224.976146]  [<ffffffff81079b3a>] worker_thread+0x1fc/0x2ae
[  224.976151]  [<ffffffff8107993e>] ? rescuer_thread+0x2af/0x2af
[  224.976163]  [<ffffffff8107d9c1>] kthread+0xa0/0xa8
[  224.976170]  [<ffffffff8107d921>] ? kthread_parkme+0x1f/0x1f
[  224.976179]  [<ffffffff81abc18f>] ret_from_fork+0x3f/0x70
[  224.976186]  [<ffffffff8107d921>] ? kthread_parkme+0x1f/0x1f
[  224.976190] ---[ end trace f2784fa5e330dd72 ]---
[  224.976967] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20u3i2: link becomes ready
[  224.980954] RTL871X: send eapol packet
[  224.983808] RTL871X: send eapol packet
[  225.005478] RTL871X: set pairwise key camid:4, addr:20:aa:4b:e5:b1:5d, kid:0, type:AES
[  225.006507] RTL871X: set group key camid:5, addr:20:aa:4b:e5:b1:5d, kid:1, type:AES