libera/#maemo/ Friday, 2021-07-23

joergthat's most likely related to wifi power saving mode and AP support02:25
L29Ahjoerg: tl-mr3020 running openwrt here05:15
L29Ahwill try switching to mir3g running openwrt05:18
L29Aher, s/mir3g/RB962UiGS-5HacT2HnT/05:19
L29Ahno luck05:22
L29Ahn900 seems to start suffering bad packet delays and loss after a few seconds after it stops initiating any traffic, according to pings, and if i don't ping it, it just gets dropped from the network (apparently w/o noticing it)05:27
joergL29Ah: check wifi power savings mode on N90010:47
joergI seen exactly this problem, with combinations of AP type, AP config and N900 WiFi power saving mode that didn't harmonize10:50
joergin internet connections 4edit connection next next next (last screen) "extended" right tab "other" see "power savings mode:" "with some APs you need to reduce from "max" to "medium" or "none"10:54
joergon AP check the timing and related settings of the wake-up beakons10:56
joergbeacons. I forgot the exact name, maybe somebody else recalls10:56
sixwheeledbeastdid someone say bacon. oh, :(10:57
sixwheeledbeast:P10:57
joergL29Ah: ralted -> https://www.hitchhikersguidetolearning.com/2017/09/17/legacy-power-save-in-wlan/11:00
joergrelated even11:01
joergDTIM beacon11:02
joerg>>The TIM element indicates to the WLAN station whether data is buffered in the Access Point and the TIM information field is explained in the next article.<<11:04
joerglook into all this, this is the root cause of the issue11:04
joerghttps://www.hitchhikersguidetolearning.com/2017/09/17/traffic-indication-map-explained/11:16
joergit *seems* the WL1253(?) in N900 has an incomplete or buggy implementation of DTIM and related stuff, or a jittery timer or whatever. I had best results with setting AP to "skip beacons: 0"/"DTIM with each N'th beacon: 1" and "DTIM period in seconds: 1"11:21
joergYMMV11:21
joergmy N900 WLAN power savings mode set to "medium" did it then11:23
* joerg hands sixwheeledbeast a bacon sandwich11:31
* joerg wouldn't be surprised either if this issue was a off-by-one problem of sorts, sth like "number of beacons to skip between 2 DTIM beacons: 0" and WL1253 reads/interprets that as MAXINT and waits 65535 beacons before waking up again. Sth is fishy in there with some APs and/or the N90011:37
joergand yeah, obviously when you initiate OUTbound traffic on the N900, this deadlock whatever it is gets escaped11:40
joerganyway at times my N900 sat there with me not noticing the charger wallwart been accidentally unplugged, and it was on instant response of the 24/7 established ssh connection from my PC to N900, for a week at times11:42
joergworst case there been a 1s delay on very first cmdline sent after hours of idling11:43
joergheartbreaking: (ancient TMO thread about clueless users abused by a poor AP) https://talk.maemo.org/showthread.php?t=59536&page=512:46
L29Ahjoerg: lowered DTIM interval on the AP from 2 to 1, seems good now, thank you20:09
joergvery welcome :-)20:25

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!