]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: split up carl9170_handle_mpdu
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 22 Oct 2012 13:01:29 +0000 (15:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:20:35 +0000 (15:20 -0400)
commiteb84a7406dce49b4df757a9d49f8c0a608486519
treedca3bffd86fe67d0c9ea19a52504e3381b778a08
parent9a722719c2ca1f29471f2c8b0feafd1b826c6a82
carl9170: split up carl9170_handle_mpdu

carl9170_handle_mpdu is the final part of the
rx path of the driver. It splits the raw data
streams from the device into skb packets and
passes them on to mac80211. As a result of
continuous updates, it grew over the years when
new code was added by the following commits:
- report A-MPDU status
- fix HT peer BA session corruption
- A-MPDU frame type filter
- ...

This patch splits the routine into two stages.
The first stage only deals with the details
about extracting and verifying the data from
the incoming stream. Whereas the second stage
packs it into skbs and passes it on to mac80211.

Reported-by: Javier Lopez <jlopex@cozybit.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/rx.c