I upgraded my Linksys WRT3200ACM to SNAPSHOT, r5216 (to fix the krack exploits). Now, wifi devices that are idle for a long time don't get disconnected anymore.
I tried to set "option max_inactivity '300' " in the "wifi-iface" sections of /etc/config/wireless, but that didn't change anything.
One thing I noticed, which might or might not have anything to do with this:
At bootup the time is far in the future. The timestamp of all devices in /dev shows "Dec 1 2036". After /etc/init.d/sysfixtime runs, the system time is set to a more reasonable value.
hwclock returns: "Mon Dec 1 14:15:19 2036". I tried to change that with "hwclock -w -u -f /dev/rtc0", but no effect and no error message.
Any ideas or pointers?
kernel version: 4.9.58
hostapd version: v2.7-devel