summaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorAndrei Otcheretianski2014-11-04 10:33:04 +0100
committerJohannes Berg2014-11-04 13:18:22 +0100
commit13a8098af93e31788684c1f2682739beb93dc680 (patch)
treec3fb0d118545d2180044ebe09f349b117c23e9e4 /net/mac80211/sta_info.c
parentmac80211: handle RIC data element in reassociation request (diff)
downloadkernel-qcow2-linux-13a8098af93e31788684c1f2682739beb93dc680.tar.gz
kernel-qcow2-linux-13a8098af93e31788684c1f2682739beb93dc680.tar.xz
kernel-qcow2-linux-13a8098af93e31788684c1f2682739beb93dc680.zip
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/mac80211/sta_info.c')
-rw-r--r--net/mac80211/sta_info.c2
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)
break;
case 0:
/* XXX: what is a good value? */
- n_frames = 8;
+ n_frames = 128;
break;
}