]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ampdu_action tx_start ssn
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 3 Jan 2010 23:52:56 +0000 (00:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 22:13:36 +0000 (17:13 -0500)
commitb6ecc051213a2e3b146020116f9b57263bb5858a
tree63b0a068a8d3e9df5f2e76fd85a03d3b8e19176d
parentcad13ca33105290f725c40854fe75c4fdfecd170
mac80211: fix ampdu_action tx_start ssn

The start_seq_num is taken from the station's tid_seq[tid].
This is fine, except tid_seq sequence counter is shifted
by 4 bits to accommodate for frame fragmentation.

Both (iwlagn & ath9k) were unaffected by this minor glitch,
because they don't read the *ssn for the AMPDU_TX_START action.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-tx.c