iwlwifi: drop RX frames during hardware restart
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Wed, 25 Oct 2017 08:40:24 +0000 (11:40 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 3 Nov 2017 09:56:09 +0000 (11:56 +0200)
commit364a1ab91df160f96da5f8d9f778cfbafd5f6d81
treeaa19fdd761d57a311d58b9e202479c213021475f
parent8cef5344b5f24883c97180c15e17b35d46fc4f37
iwlwifi: drop RX frames during hardware restart

In case of a hardware restart the BA session data in HW is lost
so the reorder buffer simply passes the frames to mac80211 as is
as there is no NSSN set. Instead, we will drop these frames
before they reach the reorder buffer. mac80211 drops such frames anyway,
but we shouldn't rely on that. In addition it saves some
processing time

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c