{"action":"created","issue":{"url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/120","labels_url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/120/comments","events_url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/120/events","html_url":"https://github.com/lwfinger/rtl8188eu/issues/120","id":78606376,"number":120,"title":"not able to keep a connection with v4.1.8_9499","user":{"login":"tisdall","id":4029388,"avatar_url":"https://avatars.githubusercontent.com/u/4029388?v=3","gravatar_id":"","url":"https://api.github.com/users/tisdall","html_url":"https://github.com/tisdall","followers_url":"https://api.github.com/users/tisdall/followers","following_url":"https://api.github.com/users/tisdall/following{/other_user}","gists_url":"https://api.github.com/users/tisdall/gists{/gist_id}","starred_url":"https://api.github.com/users/tisdall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisdall/subscriptions","organizations_url":"https://api.github.com/users/tisdall/orgs","repos_url":"https://api.github.com/users/tisdall/repos","events_url":"https://api.github.com/users/tisdall/events{/privacy}","received_events_url":"https://api.github.com/users/tisdall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-20T16:58:32Z","updated_at":"2015-07-03T19:10:09Z","closed_at":null,"body":"With rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 (that I got from https://github.com/LazyZhu/myblog/raw/gh-pages/file/RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104.zip ) I'm able to connect to my wifi ap with no issue:\r\n\r\n\tSuccessfully initialized wpa_supplicant\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tRTL871X: set bssid:00:00:00:00:00:00\r\n\tioctl[SIOCSIWAP]: Operation not permitted\r\n\tRTL871X: set ssid [g�isQ�J�)ͺ����F|�T���vZ.c3�ɚ] fw_state=0x00000008\r\n\tioctl[SIOCSIWENCODEEXT]: Invalid argument\r\n\tioctl[SIOCSIWENCODEEXT]: Invalid argument\r\n\troot@linaro-developer:~# RTL871X: indicate disassoc\r\n\tRTL871X: set ssid [Engage Labs] fw_state=0x00000008\r\n\tRTL871X: set bssid:b8:a3:86:50:59:c6\r\n\tRTL871X: start auth\r\n\tRTL871X: auth success, start assoc\r\n\tRTL871X: assoc success\r\n\tUpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tRTL871X: send eapol packet\r\n\tRTL871X: send eapol packet\r\n\tRTL871X: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) camid:4\r\n\t[CCMP]  GTK key_len=16 @@@@@@@@@@@@@@@@@@\r\n\tRTL871X: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2\r\n\tUpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:1, rate_bitmap:0x000f0000\r\n\r\n\r\nBut with the v4.1.8_9499 branch (of this repo) I get constant disconnects right after connecting as follows:\r\n\r\n\t...\r\n\t\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\t<6>cfg80211: Calling CRDA to update world regulatory domain\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:b8:a3:86:50:59:c6\r\n\tR8188EU: set ssid [Engage Labs] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:2, rate_bitmap:0x000ff000\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\tR8188EU: sta recv deauth reason code(2) sta:b8:a3:86:50:59:c6, ignore = 0\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>cfg80211: Calling CRDA for country: CA\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:b8:a3:86:50:59:c6\r\n\tR8188EU: set ssid [Engage Labs] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:1, rate_bitmap:0x000f0000\r\n\tR8188EU: sta recv deauth reason code(2) sta:b8:a3:86:50:59:c6, ignore = 0\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>cfg80211: Calling CRDA to update world regulatory domain\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:b8:a3:86:50:59:c6\r\n\tR8188EU: set ssid [Engage Labs] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:2, no_gkey_mc_cnt:0\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:2, rate_bitmap:0x000ff000\r\n\tR8188EU: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0\r\n\tR8188EU: sta recv deauth reason code(2) sta:b8:a3:86:50:59:c6, ignore = 0\r\n\r\n\t...\r\n\t\r\n\r\nThis is with a 3.4 kernel fork.  The top one is using the \"wext\" driver for wpa_supplicant and the bottom gave the same result whether I used \"nl80211\" or \"wext\".\r\n\r\nI also tried a connection with no encryption and I got this (over and over again):\r\n\r\n\t...\r\n\r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:1, rate_bitmap:0x000f0000\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:2, rate_bitmap:0x000ff000\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:1, rate_bitmap:0x000f0000\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\tR8188EU: nolinked power save leave\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set bssid:84:7a:88:2d:7a:29\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: set ssid [TimmyHTC] fw_state=0x00000088\r\n\tR8188EU: start auth\r\n\tR8188EU: auth success, start assoc\r\n\tR8188EU: assoc success\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:0, rate_bitmap:0x000ff005\r\n\t<6>UpdateHalRAMask8188EUsb => mac_id:0, networkType:0x0b, mask:0x000fffff\r\n\t\t     ==> rssi_level:1, rate_bitmap:0x000f0000\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: set bssid:00:00:00:00:00:00\r\n\tR8188EU: nolinked power save enter\r\n\t==> rtl8188e_iol_efuse_patch \r\n\r\n\t...\r\n"},"comment":{"url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/comments/118409808","html_url":"https://github.com/lwfinger/rtl8188eu/issues/120#issuecomment-118409808","issue_url":"https://api.github.com/repos/lwfinger/rtl8188eu/issues/120","id":118409808,"user":{"login":"EdRiffo","id":11078419,"avatar_url":"https://avatars.githubusercontent.com/u/11078419?v=3","gravatar_id":"","url":"https://api.github.com/users/EdRiffo","html_url":"https://github.com/EdRiffo","followers_url":"https://api.github.com/users/EdRiffo/followers","following_url":"https://api.github.com/users/EdRiffo/following{/other_user}","gists_url":"https://api.github.com/users/EdRiffo/gists{/gist_id}","starred_url":"https://api.github.com/users/EdRiffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdRiffo/subscriptions","organizations_url":"https://api.github.com/users/EdRiffo/orgs","repos_url":"https://api.github.com/users/EdRiffo/repos","events_url":"https://api.github.com/users/EdRiffo/events{/privacy}","received_events_url":"https://api.github.com/users/EdRiffo/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T19:10:09Z","updated_at":"2015-07-03T19:10:09Z","body":"I have the same issue, any findings?"}}