openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
751 stars 342 forks source link

mt7612e: unusually high inactive timeout for stations #201

Closed mweinelt closed 6 years ago

mweinelt commented 6 years ago

On ath9k/10k the most I see for inactive stations is around 300s. On a D-Link DIR860L I see inactivity times up to half an hour on the 5 GHz radio (MT7612E) only. This leads to client counts being way off.

# iw client0 station dump | grep inactive
    inactive time:  15157640 ms
    inactive time:  2845020 ms
    inactive time:  2614110 ms
    inactive time:  2273520 ms
    inactive time:  0 ms
    inactive time:  1790190 ms
    inactive time:  1109130 ms
    inactive time:  989860 ms
    inactive time:  987530 ms
    inactive time:  916600 ms
    inactive time:  927660 ms
    inactive time:  744370 ms
    inactive time:  580820 ms
    inactive time:  565460 ms
    inactive time:  80290 ms
    inactive time:  100280 ms
nbd168 commented 6 years ago

Please try the latest version (master only, not 18.06).

mweinelt commented 6 years ago

Inactive stations now disappear when higher than 300s. Thanks!

nbd168 commented 6 years ago

Thanks for testing, I will backport the change to 18.06