iwlwifi: mvm: allow same PN for de-aggregated AMSDU
authorSara Sharon <sara.sharon@intel.com>
Sun, 6 Mar 2016 13:08:55 +0000 (15:08 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Aug 2016 20:33:40 +0000 (23:33 +0300)
commitf1ae02b186d9b37ee621c7e922ecf5db96f5fb5c
tree0d3014f81b3f8573059cdc708e561fc3ab180147
parent60747ef4d173c2747bf7f0377fb22846cb422195
iwlwifi: mvm: allow same PN for de-aggregated AMSDU

The 9000 hardware will de-aggregate AMSDUs. In the process
it will copy the mac header "as is" to the new MPDUs.
This means driver should allow the same PN for MPDUs originated
from the same AMSDU.
Do that by incrementing the PN only for the last MPDU in the
sequence.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c