mac80211: make listen_interval be limited by low level driver
authorTomas Winkler <tomas.winkler@intel.com>
Fri, 18 Jul 2008 05:53:00 +0000 (13:53 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Aug 2008 19:09:07 +0000 (15:09 -0400)
commitea95bba41e69c616bb1512cf59d22f33266b8568
treefe3d17351465189b041bf20c0c9f6c4835d63997
parent98f7dfd86cbbd377e2cbc293529681b914296f68
mac80211: make listen_interval be limited by low level driver

This patch makes possible for a driver to specify maximal listen interval
The possibility for user to configure listen interval is not implemented
yet, currently the maximum provided by the driver or 1 is used.
Mac80211 uses config handler to set listen interval for to the driver.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/main.c
net/mac80211/mlme.c