diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2014-11-04 04:33:04 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-04 07:18:22 -0500 |
commit | 13a8098af93e31788684c1f2682739beb93dc680 (patch) | |
tree | c3fb0d118545d2180044ebe09f349b117c23e9e4 /net | |
parent | 8ed2874715c17f27bb7b9bacbcfa41bc88a64476 (diff) |
mac80211: increase U-APSD max service period length
Deliver up to 128 frames during service period instead of 8 if
unlimited is specified by the client during association.
8 was just an arbitrary value; so is 128 since unlimited can
be any number.
However for large traffic bursts, increasing this value looks
reasonable. Also, it seems that a few certification tests
expect more frames to be delivered during SP.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/sta_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 2cd48cefcbdc..adc25371b171 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
@@ -1531,7 +1531,7 @@ void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta) | |||
1531 | break; | 1531 | break; |
1532 | case 0: | 1532 | case 0: |
1533 | /* XXX: what is a good value? */ | 1533 | /* XXX: what is a good value? */ |
1534 | n_frames = 8; | 1534 | n_frames = 128; |
1535 | break; | 1535 | break; |
1536 | } | 1536 | } |
1537 | 1537 | ||