OSDN Git Service

iwlwifi: mvm: support new WoWLAN status FW API
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 26 Mar 2018 07:24:18 +0000 (10:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:19 +0000 (11:38 +0300)
commit2afa6a7311f5727c5a3984419d11b863cae69712
tree544a34a9984a4e589c77b0a43a77162525b9248c
parenta75b9b333aeb045fdb7f610b85f8b5305a2d706d
iwlwifi: mvm: support new WoWLAN status FW API

A new FW API has been added for WOWLAN_GET_STATUSES to support
multiple GTK keys and IGTK keys.  Check the respective TLV and use the
new API when it is set.

Let most of the code use the new version (v7) and convert the old
version (v6) to the new one when needed.

Also refactor some functions a bit so that they can be reused more
easily.  Particularly the part that calls WOWLAN_GET_STATUSES which is
reused in D3 and D0i3.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/d3.h
drivers/net/wireless/intel/iwlwifi/fw/file.h
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c