iwlwifi: remove deprecated and unused iwl_mvm_keyinfo struct
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 18 Apr 2020 08:08:48 +0000 (11:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 24 Apr 2020 13:38:10 +0000 (16:38 +0300)
This struct hasn't been used in years and is just a remnant of an API
support removal that missed this structured.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200418110539.93860da2d12a.Ifeca3b3313e3f14330317bc3e3d62f7d991ec955@changeid
drivers/net/wireless/intel/iwlwifi/fw/api/sta.h

index 970e9e5..c010e6f 100644 (file)
@@ -245,32 +245,6 @@ enum iwl_sta_sleep_flag {
 #define STA_KEY_LEN_WEP40 (5)
 #define STA_KEY_LEN_WEP104 (13)
 
-/**
- * struct iwl_mvm_keyinfo - key information
- * @key_flags: type &enum iwl_sta_key_flag
- * @tkip_rx_tsc_byte2: TSC[2] for key mix ph1 detection
- * @reserved1: reserved
- * @tkip_rx_ttak: 10-byte unicast TKIP TTAK for Rx
- * @key_offset: key offset in the fw's key table
- * @reserved2: reserved
- * @key: 16-byte unicast decryption key
- * @tx_secur_seq_cnt: initial RSC / PN needed for replay check
- * @hw_tkip_mic_rx_key: byte: MIC Rx Key - used for TKIP only
- * @hw_tkip_mic_tx_key: byte: MIC Tx Key - used for TKIP only
- */
-struct iwl_mvm_keyinfo {
-       __le16 key_flags;
-       u8 tkip_rx_tsc_byte2;
-       u8 reserved1;
-       __le16 tkip_rx_ttak[5];
-       u8 key_offset;
-       u8 reserved2;
-       u8 key[16];
-       __le64 tx_secur_seq_cnt;
-       __le64 hw_tkip_mic_rx_key;
-       __le64 hw_tkip_mic_tx_key;
-} __packed;
-
 #define IWL_ADD_STA_STATUS_MASK                0xFF
 #define IWL_ADD_STA_BAID_VALID_MASK    0x8000
 #define IWL_ADD_STA_BAID_MASK          0x7F00