mac80211: ignore PSM bit of reordered frames
This patch tackles one of the problems of my reorder release timer patch from August. <http://www.spinics.net/lists/linux-wireless/msg57214.html> => What if the reorder release triggers and ap_sta_ps_end (called by ieee80211_rx_h_sta_process) accidentally clears the WLAN_STA_PS_STA flag, because 100ms ago - when the STA was still active - frames were put into the reorder buffer. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
5af3c1d195
commit
4cfda47b69
@ -167,6 +167,7 @@ typedef unsigned __bitwise__ ieee80211_rx_result;
|
||||
* @IEEE80211_RX_FRAGMENTED: fragmented frame
|
||||
* @IEEE80211_RX_AMSDU: a-MSDU packet
|
||||
* @IEEE80211_RX_MALFORMED_ACTION_FRM: action frame is malformed
|
||||
* @IEEE80211_RX_DEFERRED_RELEASE: frame was subjected to receive reordering
|
||||
*
|
||||
* These are per-frame flags that are attached to a frame in the
|
||||
* @rx_flags field of &struct ieee80211_rx_status.
|
||||
@ -177,6 +178,7 @@ enum ieee80211_packet_rx_flags {
|
||||
IEEE80211_RX_FRAGMENTED = BIT(2),
|
||||
IEEE80211_RX_AMSDU = BIT(3),
|
||||
IEEE80211_RX_MALFORMED_ACTION_FRM = BIT(4),
|
||||
IEEE80211_RX_DEFERRED_RELEASE = BIT(5),
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user