mac80211: increase U-APSD max service period length
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 4 Nov 2014 09:33:04 +0000 (11:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Nov 2014 12:18:22 +0000 (13:18 +0100)
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>
net/mac80211/sta_info.c

index 2cd48cefcbdcd1bd688b5af57dfdb8d7889db6a4..adc25371b171d32ff0847b503ae5ea0fb31ffacc 100644 (file)
@@ -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;
        }