• Christian Lamparter's avatar
    carl9170: split up carl9170_handle_mpdu · 6c4a5f24
    Christian Lamparter authored
    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: default avatarJavier Lopez <jlopex@cozybit.com>
    Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>