diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-07-13 17:09:01 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-09-05 17:42:30 +0200 |
commit | 92671eb95c5935121801730293689710e3850afa (patch) | |
tree | 360afbe3bfab97c142e41aced1698d324cc97bbc /drivers/net/wireless/mediatek/mt76/mt7615/mac.h | |
parent | mt76: mt7615: add missing register initialization (diff) | |
download | linux-92671eb95c5935121801730293689710e3850afa.tar.xz linux-92671eb95c5935121801730293689710e3850afa.zip |
mt76: mt7615: move mt7615_mac_get_key_info in mac.c
This is a preliminary patch to update wtbl key directly from host
processor
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/mac.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/mac.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mac.h b/drivers/net/wireless/mediatek/mt76/mt7615/mac.h index b00ce8db58e9..358ab51270f0 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mac.h +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mac.h @@ -302,4 +302,23 @@ struct mt7615_tx_free { #define MT_TXS6_F1_RCPI_1 GENMASK(15, 8) #define MT_TXS6_F1_RCPI_0 GENMASK(7, 0) +enum mt7615_cipher_type { + MT_CIPHER_NONE, + MT_CIPHER_WEP40, + MT_CIPHER_TKIP, + MT_CIPHER_TKIP_NO_MIC, + MT_CIPHER_AES_CCMP, + MT_CIPHER_WEP104, + MT_CIPHER_BIP_CMAC_128, + MT_CIPHER_WEP128, + MT_CIPHER_WAPI, + MT_CIPHER_CCMP_256 = 10, + MT_CIPHER_GCMP, + MT_CIPHER_GCMP_256, +}; + +enum mt7615_cipher_type +mt7615_mac_get_key_info(struct ieee80211_key_conf *key, + u8 *key_data); + #endif |