iwlwifi: mvm: move TX PN assignment for CCMP to the driver
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Apr 2015 15:54:54 +0000 (17:54 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 18:29:34 +0000 (21:29 +0300)
commitca8c0f4bede6098f9d531365d2ad9d7a598327f6
tree2cbaf07f860bd4ee5ed501bc0e0fb3f1ad8e5ef7
parent18f5a374b3db33720dc8c66cb94947585904d6c6
iwlwifi: mvm: move TX PN assignment for CCMP to the driver

Move the TX PN assignment (for CCMP only) to the driver. This prepares
the driver for future DSO (driver segmentation offload) where it will
split an SKB into multiple MPDUs by itself.

For TDLS, split out the CCMP TX command handling so that it won't get
a PN assigned, the firmware assigns the PN in that case.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/tdls.c
drivers/net/wireless/iwlwifi/mvm/tx.c