intel / wds

Wireless Display Software For Linux OS (WDS)
https://01.org/wds
GNU Lesser General Public License v2.1
509 stars 104 forks source link

Loses connection after 30 mins #175

Open carlblakepmi opened 7 years ago

carlblakepmi commented 7 years ago

I can establish a miracast connection with an android device. Everything seems to work, but after 30 mins. the entire connection drops. This is the messages I see when that happens:


Jul 14 22:54:48 cr-400-2ac2 wpa_supplicant[945]: wlan0: Failed to initiate sched scan Jul 14 23:17:01 cr-400-2ac2 CRON[1523]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Jul 14 23:20:01 cr-400-2ac2 connmand[926]: Peer DHCP server: Received REQUEST NIP 0 Jul 14 23:20:01 cr-400-2ac2 kernel: [ 1884.087547] DHCP - REQUEST [RX] Jul 14 23:20:03 cr-400-2ac2 kernel: [ 1886.228326] DHCP - REQUEST [RX] Jul 14 23:20:11 cr-400-2ac2 kernel: [ 1894.311831] DHCP - REQUEST [RX] Jul 14 23:20:28 cr-400-2ac2 kernel: [ 1911.745592] DHCP - REQUEST [RX] Jul 14 23:19:48 cr-400-2ac2 wpa_supplicant[945]: message repeated 5 times: [ wlan0: Failed to initiate sched scan] Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: p2p-wlan0-1: AP-STA-DISCONNECTED b6:ef:39:39:5b:df p2p_dev_addr=b6:ef:39:39:db:df Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: AP-STA-DISCONNECTED b6:ef:39:39:5b:df p2p_dev_addr=b6:ef:39:39:db:df Jul 14 23:20:29 cr-400-2ac2 cpn: Source unavailable Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: P2P-GROUP-REMOVED p2p-wlan0-1 GO reason=REQUESTED Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: p2p-wlan0-1: interface state ENABLED->DISABLED Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: p2p-wlan0-1: AP-DISABLED Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: p2p-wlan0-1: CTRL-EVENT-DISCONNECTED bssid=02:04:4b:58:aa:c0 reason=3 locally_generated=1 Jul 14 23:20:28 cr-400-2ac2 connmand[926]: message repeated 3 times: [ Peer DHCP server: Received REQUEST NIP 0] Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {RX} 367084 packets 399923565 bytes Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {TX} 156 packets 19838 bytes Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {update} flags 102403 <UP,LOWER_UP> Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 operstate 5 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {update} flags 102403 <UP,LOWER_UP> Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 operstate 5 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.126009] [07-14 23:20:29.280] wl_notify_connect_status_ap: event WLC_E_DEAUTH_IND(6) status 0 reason 3 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.126039] [07-14 23:20:29.280] wl_notify_connect_status_ap: event WLC_E_DISASSOC_IND(12) status 0 reason 8 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.128488] wl_cfg80211_del_station : Disconnect STA : b6:ef:39:39:5b:df scb_val.val 3 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.132741] wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3 Jul 14 23:20:29 cr-400-2ac2 wpa_supplicant[945]: nl80211: deinit ifname=p2p-wlan0-1 disabled_11b_rates=0 Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {RX} 367084 packets 399923565 bytes Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {TX} 157 packets 19904 bytes Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {update} flags 102467 <UP,RUNNING,LOWER_UP> Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 operstate 6 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {update} flags 102467 <UP,RUNNING,LOWER_UP> Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 operstate 6 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.251941] dhd_cfg80211_clean_p2p_info : Clean : op_mode=0x0005 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.253235] 'cfg p2p_ifdis' error -23 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {update} flags 36866 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {newlink} index 10 operstate 2 Jul 14 23:20:29 cr-400-2ac2 avahi-daemon[471]: Interface p2p-wlan0-1.IPv6 no longer relevant for mDNS. Jul 14 23:20:29 cr-400-2ac2 avahi-daemon[471]: Leaving mDNS multicast group on interface p2p-wlan0-1.IPv6 with address fe80::4:4bff:fe58:aac0. Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {update} flags 36866 Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 address 02:04:4B:58:AA:C0 mtu 1500 Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {newlink} index 10 operstate 2 Jul 14 23:20:29 cr-400-2ac2 avahi-daemon[471]: Interface p2p-wlan0-1.IPv4 no longer relevant for mDNS. Jul 14 23:20:29 cr-400-2ac2 avahi-daemon[471]: Leaving mDNS multicast group on interface p2p-wlan0-1.IPv4 with address 192.168.0.1. Jul 14 23:20:29 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {del} route fe80:: gw :: scope 0 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.259164] "dhd->iflist[ifidx] != NULL": file "dhd_linux.c", line 8106 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.260405] deleting interface 'p2p-wlan0-1' idx 1 Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.260429] dhd_get_stats: BAD_IF Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.260873] dhd_get_stats: BAD_IF Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.261266] dhd_get_stats: BAD_IF Jul 14 23:20:29 cr-400-2ac2 kernel: [ 1912.261289] wl_cfg80211_netdev_notifier_call : [NETDEV_DOWN] wait for complete of cleanup_work (0 th) Jul 14 23:20:30 cr-400-2ac2 connmand[926]: Inconsistent IP pool management (start not found) Jul 14 23:20:30 cr-400-2ac2 connmand[926]: (null) {del} address 192.168.0.1/24 label p2p-wlan0-1 Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.255689] dhd_get_stats: BAD_IF Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.255817] Cannot find ifidx for(p2p-wlan0-1) set to 0 Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.263179] dhd_get_stats: BAD_IF Jul 14 23:20:30 cr-400-2ac2 connmand[926]: p2p-wlan0-1 {dellink} index 10 operstate 2 Jul 14 23:20:30 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {dellink} index 10 operstate 2 Jul 14 23:20:30 cr-400-2ac2 connman-vpnd[940]: p2p-wlan0-1 {remove} index 10 Jul 14 23:20:30 cr-400-2ac2 connmand[926]: (null) {remove} index 10 Jul 14 23:20:30 cr-400-2ac2 avahi-daemon[471]: IP_DROP_MEMBERSHIP failed: No such device Jul 14 23:20:30 cr-400-2ac2 connmand[926]: Remove interface (null) [ wifi ] Jul 14 23:20:30 cr-400-2ac2 avahi-daemon[471]: Withdrawing address record for fe80::4:4bff:fe58:aac0 on p2p-wlan0-1. Jul 14 23:20:30 cr-400-2ac2 avahi-daemon[471]: Withdrawing address record for 192.168.0.1 on p2p-wlan0-1. Jul 14 23:20:30 cr-400-2ac2 avahi-daemon[471]: Withdrawing workstation service for p2p-wlan0-1. Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.325494] dhd_get_stats: BAD_IF Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.325699] DHD-MON: dhd_del_monitor IF not found in monitor array, is this a monitor IF? 0xffffffc0f4f2a800 Jul 14 23:20:30 cr-400-2ac2 kernel: [ 1913.326204] wl_dealloc_netinfo : Unknown wdev freeed! Jul 14 23:21:23 cr-400-2ac2 wpa_supplicant[945]: P2P-DEVICE-LOST p2p_dev_addr=b6:ef:39:39:db:df Jul 14 23:21:23 cr-400-2ac2 wpa_supplicant[945]: dbus: Unregister peer object '/fi/w1/wpa_supplicant1/Interfaces/1/Peers/b6ef3939dbdf' Jul 14 23:21:23 cr-400-2ac2 cpn: * Peer removed: SAMSUNG-SM-G360V

It seems like there might be some issue with DHCP renewal. Does anybody know what's happening here?

jku commented 7 years ago

This is probably a question better suited for connman mailing list...