Wi-Fi unstable on Xperia Z1C (amami)
Cc: @ata2001
The Wi-Fi works some of the time but I've found it to be unreliable, sometimes it starts flapping up and down. E.g.:
sony-amami:~# ping google.com
PING google.com (216.58.207.238): 56 data bytes
64 bytes from 216.58.207.238: seq=0 ttl=54 time=9.659 ms
64 bytes from 216.58.207.238: seq=1 ttl=54 time=9.819 ms
ping: sendto: Network unreachable
sony-amami:~# ping google.com
ping: bad address 'google.com'
sony-amami:~# ping google.com
PING google.com (216.58.207.238): 56 data bytes
64 bytes from 216.58.207.238: seq=0 ttl=54 time=9.823 ms
ping: sendto: Network unreachable
dmesg contains all sorts of errors about wlan (wificrap2.txt):
[ 2762.566849] wlan: disconnected
[ 2762.566935] wlan(0) 00:00:00:00:00:00 Standalone
[ 2762.566936] [20:31:16.336312] [0000000C5CFF4052] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2762.566989] [20:31:16.336359] [0000000C5CFF43E1] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2762.567558] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2762.569274] [20:31:16.338650] [0000000C5CFFEFB0] [wpa_s] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2762.569289] [20:31:16.338665] [0000000C5CFFF0D1] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 2762.569599] [20:31:16.338975] [0000000C5D000817] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2762.905299] [20:31:16.674678] [0000000C5D62616A] [VosMC] wlan: [E :HDP] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
[ 2763.663020] [20:31:17.432411] [0000000C5E405E83] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.663044] [20:31:17.432436] [0000000C5E406070] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.663058] [20:31:17.432451] [0000000C5E406186] [VosMC] wlan: [E :HDD] wlan_hdd_tdls_scan_done_callback: 2973: Failed to revert: Mode=0, BTC enabled=1
[ 2763.732768] send_filled_buffers_to_user: 97 callbacks suppressed
[ 2763.732772] send_filled_buffers_to_user: Send Failed -3 drop_count = 31084
[ 2763.796813] [20:31:17.566207] [0000000C5E679117] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 2763.797423] [20:31:17.566817] [0000000C5E67BED9] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.842024] [20:31:17.611419] [0000000C5E74CFF0] [VosMC] wlan: [E :VOS] vos_mem_malloc: called with invalid arg 0 !!!
[ 2763.842031] [20:31:17.611427] [0000000C5E74D080] [VosMC] wlan: [E :PE ] limStripOffExtCapIE: 89: Unable to allocate memory to store addn IE
[ 2763.853104] [20:31:17.622499] [0000000C5E780EF5] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.892448] [20:31:17.661843] [0000000C5E8395B6] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.892743] wlan: 00:0a:f5:89:89:ff connected to c0:56:27:64:d0:46
[ 2763.893144] wlan(36) c0:56:27:64:d0:46 Standalone
[ 2763.893145] [20:31:17.662540] [0000000C5E83C9F9] [VosMC] wlan: [E :HDD] wlan_hdd_tdls_connection_callback: wlan_hdd_sta_tdls_init failed
[ 2763.893178] [20:31:17.662575] [0000000C5E83CC8B] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.893199] [20:31:17.662594] [0000000C5E83CE0D] [VosRX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.894151] [20:31:17.663546] [0000000C5E84156C] [VosTX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.895863] [20:31:17.665259] [0000000C5E8495DC] [VosRX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.896383] [20:31:17.665779] [0000000C5E84BCDF] [VosTX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.896505] [20:31:17.665901] [0000000C5E84C5FE] [wpa_s] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.896799] [20:31:17.666195] [0000000C5E84DC0E] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.904079] [20:31:17.673473] [0000000C5E86FDF0] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.904113] [20:31:17.673509] [0000000C5E8700A4] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.904305] [20:31:17.673701] [0000000C5E870EFE] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.904413] [20:31:17.673809] [0000000C5E871725] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.907672] [20:31:17.677068] [0000000C5E880B91] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2763.907705] [20:31:17.677102] [0000000C5E880E14] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2764.828474] protocol 0003 is buggy, dev wlan0
[ 2764.895520] [20:31:18.664929] [0000000C5FA973FD] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2764.903085] [20:31:18.672496] [0000000C5FABAB87] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.800534] [20:31:19.569957] [0000000C60B29818] [wpa_s] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.800660] [20:31:19.570085] [0000000C60B2A1B2] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.815348] [20:31:19.584772] [0000000C60B6EF2D] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.815589] [20:31:19.585014] [0000000C60B7015E] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.832068] [20:31:19.601492] [0000000C60BBD52A] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.832249] wlan: disconnected
[ 2765.832344] wlan(0) 00:00:00:00:00:00 Standalone
[ 2765.832345] [20:31:19.601770] [0000000C60BBEA03] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.832395] [20:31:19.601819] [0000000C60BBEDB0] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.832976] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2765.834904] [20:31:19.604328] [0000000C60BCA9E3] [wpa_s] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2765.834917] [20:31:19.604342] [0000000C60BCAAF0] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 2765.835866] [20:31:19.605290] [0000000C60BCF20F] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2766.825075] [20:31:20.594513] [0000000C61DEC0AB] [VosMC] wlan: [E :PMC] pmcTrafficTimerExpired: 1023: BMPS timer should not be running
[ 2766.883619] [20:31:20.653058] [0000000C61EFE77E] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2766.883642] [20:31:20.653083] [0000000C61EFE956] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2766.883656] [20:31:20.653097] [0000000C61EFEA66] [VosMC] wlan: [E :HDD] wlan_hdd_tdls_scan_done_callback: 2973: Failed to revert: Mode=0, BTC enabled=1
[ 2767.009387] [20:31:20.778828] [0000000C6214C019] [wpa_s] wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
[ 2767.009945] [20:31:20.779388] [0000000C6214EA0B] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.053881] [20:31:20.823323] [0000000C6221C91F] [VosMC] wlan: [E :VOS] vos_mem_malloc: called with invalid arg 0 !!!
[ 2767.053888] [20:31:20.823331] [0000000C6221C9C4] [VosMC] wlan: [E :PE ] limStripOffExtCapIE: 89: Unable to allocate memory to store addn IE
[ 2767.063758] [20:31:20.833202] [0000000C6224AE07] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.102651] [20:31:20.872094] [0000000C623012F0] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.102856] wlan: 00:0a:f5:89:89:ff connected to c0:56:27:64:d0:46
[ 2767.103437] [20:31:20.872880] [0000000C62304DE5] [VosRX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.103439] wlan(36) c0:56:27:64:d0:46 Standalone
[ 2767.103440] [20:31:20.872882] [0000000C62304E09] [VosMC] wlan: [E :HDD] wlan_hdd_tdls_connection_callback: wlan_hdd_sta_tdls_init failed
[ 2767.103469] [20:31:20.872913] [0000000C62305053] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.104487] [20:31:20.873930] [0000000C62309C99] [VosTX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.106266] [20:31:20.875710] [0000000C62312217] [VosRX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.106474] [20:31:20.875909] [0000000C6231310F] [VosTX] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.106670] [20:31:20.876114] [0000000C62314070] [wpa_s] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.106727] [20:31:20.876171] [0000000C623144AC] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.108743] [20:31:20.878186] [0000000C6231DBD6] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.108772] [20:31:20.878216] [0000000C6231DE11] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.108956] [20:31:20.878400] [0000000C6231EBD5] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.109050] [20:31:20.878494] [0000000C6231F2EE] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.112317] [20:31:20.881759] [0000000C6232E7CF] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2767.112353] [20:31:20.881797] [0000000C6232EAA8] [VosMC] wlan: [E :HDD] Ptt Socket error sending message to the app!!
[ 2768.079708] protocol 0003 is buggy, dev wlan0