]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use listen interval 5 as default
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 24 Feb 2010 13:19:37 +0000 (14:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Feb 2010 21:59:11 +0000 (16:59 -0500)
commitd2b57a599e57c2523a0c695677ec567e40669c92
tree1dfe5175f3acd06bcf2ef16ee346a4931a563611
parent1d7aee44abb7fb08b2d795ac47aa0f5f1f1b7ea4
mac80211: use listen interval 5 as default

Currently if a driver does not set hw.max_listen_interval a listen
interval of 1 is negotiated with the AP. Thus, the AP could drop
buffered frames for us after just one beacon interval which can
easily happen with the current powersave and scan implementation.
To avoid this issue increase the default interval to 5 which should
be a reasonable safe default.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c