diff options
| author | Karl Beldan <karl.beldan@rivierawaves.com> | 2013-10-24 17:53:32 +0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 23:49:36 +0400 |
| commit | 2e3049b79cb98018abc83383f9b737508240dd54 (patch) | |
| tree | b83e9e48ab8b041361ce358c9d823217ff018260 /include/linux | |
| parent | 8fe02e167efa8ed4a4503a5eedc0f49fcb7e3eb9 (diff) | |
| download | linux-2e3049b79cb98018abc83383f9b737508240dd54.tar.xz | |
mac80211: do not compute offset from ssn in Rx AMPDU reordering buffer
Currently, frames that go into the reordering buffer are stored at
index ieee80211_sn_sub(sn, tid_rx->ssn) % tid_rx->buf_size.
The offset calculation to the starting sequence number (SSN) is
useless and just adds overhead so simply use sn % tid_rx->buf_size.
This means the reordering buffer will start to be filled somewhere
in the middle (at SSN % buf_size) and continue to get used from
there, but there's no reason to start from the beginning.
Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
