summaryrefslogtreecommitdiff
path: root/net/mac80211/vht.c
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@rivierawaves.com>2013-10-24 15:53:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-11-25 20:49:36 +0100
commit2e3049b79cb98018abc83383f9b737508240dd54 (patch)
treeb83e9e48ab8b041361ce358c9d823217ff018260 /net/mac80211/vht.c
parent8fe02e167efa8ed4a4503a5eedc0f49fcb7e3eb9 (diff)
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 'net/mac80211/vht.c')
0 files changed, 0 insertions, 0 deletions