mac80211: allow the driver not to pass the tid to ieee80211_sta_uapsd_trigger
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 18 Oct 2016 20:12:10 +0000 (23:12 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Oct 2016 10:12:19 +0000 (12:12 +0200)
commit0aa419ec6e7b98d485f6c66a62a90965eda3c1bb
tree2e679fdb5091579a1d4e108ea6c3454c6324f417
parentb473b8f12a6e187c1348a84556b8db1e2a82f981
mac80211: allow the driver not to pass the tid to ieee80211_sta_uapsd_trigger

iwlwifi will check internally that the tid maps to an AC
that is trigger enabled, but can't know what tid exactly.
Allow the driver to pass a generic tid and make mac80211
assume that a trigger frame was received.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/rx.c