Lines Matching refs:cipher_mask
1194 enum mt76_cipher_type cipher, u16 cipher_mask) in mt7615_mac_wtbl_update_key() argument
1209 if (cipher_mask == BIT(cipher)) in mt7615_mac_wtbl_update_key()
1224 enum mt76_cipher_type cipher, u16 cipher_mask, in mt7615_mac_wtbl_update_pk() argument
1235 if (cipher_mask) in mt7615_mac_wtbl_update_pk()
1239 if (cipher_mask & BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_pk()
1244 if (cipher != MT_CIPHER_BIP_CMAC_128 || cipher_mask == BIT(cipher)) { in mt7615_mac_wtbl_update_pk()
1261 enum mt76_cipher_type cipher, u16 cipher_mask) in mt7615_mac_wtbl_update_cipher() argument
1266 cipher_mask & ~BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_cipher()
1278 u16 cipher_mask = wcid->cipher; in __mt7615_mac_wtbl_set_key() local
1285 cipher_mask |= BIT(cipher); in __mt7615_mac_wtbl_set_key()
1286 mt7615_mac_wtbl_update_cipher(dev, wcid, cipher, cipher_mask); in __mt7615_mac_wtbl_set_key()
1287 err = mt7615_mac_wtbl_update_key(dev, wcid, key, cipher, cipher_mask); in __mt7615_mac_wtbl_set_key()
1291 err = mt7615_mac_wtbl_update_pk(dev, wcid, cipher, cipher_mask, in __mt7615_mac_wtbl_set_key()
1296 wcid->cipher = cipher_mask; in __mt7615_mac_wtbl_set_key()