Emmanuel Grumbach c68df2e7be mac80211: allow using AP_LINK_PS with mac80211-generated TIM IE
In 46fa38e84b65 ("mac80211: allow software PS-Poll/U-APSD with
AP_LINK_PS"), Johannes allowed to use mac80211's code for handling
stations that go to PS or send PS-Poll / uAPSD trigger frames for
devices that enable RSS.

This means that mac80211 doesn't look at frames anymore but rather
relies on a notification that will come from the device when a PS
transition occurs or when a PS-Poll / trigger frame is detected by
the device.

iwlwifi will need this capability but still needs mac80211 to take
care of the TIM IE. Today, if a driver sets AP_LINK_PS, mac80211
will not update the TIM IE. Change mac80211 to check existence of
the set_tim driver callback rather than using AP_LINK_PS to decide
if the driver handles the TIM IE internally or not.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[reword commit message a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-09-16 14:49:23 +02:00
..
2015-01-27 11:07:35 +01:00
2015-01-27 11:09:13 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2016-04-12 15:56:15 +02:00
2015-08-14 17:49:53 +02:00
2016-04-06 13:18:18 +02:00
2015-05-11 19:16:04 +02:00
2015-10-14 18:40:26 +02:00
2014-04-09 14:49:43 +02:00
2016-09-13 15:39:29 +02:00
2016-04-12 15:56:15 +02:00
2016-09-15 16:46:16 +02:00
2016-04-12 15:56:15 +02:00
2016-09-13 08:28:22 +02:00
2016-09-15 16:46:18 +02:00
2016-04-12 15:56:15 +02:00
2015-05-11 14:51:29 +02:00