mac80211: enable starting BA session with custom timeout
authorSara Sharon <sara.sharon@intel.com>
Wed, 9 Mar 2016 11:27:09 +0000 (13:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 09:46:05 +0000 (11:46 +0200)
commit1e0bbebaae660f27c24cbd9c3e693420234115ff
tree2434ba47b53ed8623a2e595340cba14d0d44e73d
parente03521232d2f808b1b593f44565665efb7b242b1
mac80211: enable starting BA session with custom timeout

Currently the debugfs entry for starting aggregation session
starts it with timeout of 5 seconds. Allow opening a session
with a custom timeout (according to spec 0 is no timeout).
while at it, refactor the function and remove the magic numbers.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debugfs_sta.c