Lines Matching refs:cipher_mask
1195 enum mt76_cipher_type cipher, u16 cipher_mask) in mt7615_mac_wtbl_update_key() argument
1210 if (cipher_mask == BIT(cipher)) in mt7615_mac_wtbl_update_key()
1225 enum mt76_cipher_type cipher, u16 cipher_mask, in mt7615_mac_wtbl_update_pk() argument
1236 if (cipher_mask) in mt7615_mac_wtbl_update_pk()
1240 if (cipher_mask & BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_pk()
1245 if (cipher != MT_CIPHER_BIP_CMAC_128 || cipher_mask == BIT(cipher)) { in mt7615_mac_wtbl_update_pk()
1262 enum mt76_cipher_type cipher, u16 cipher_mask) in mt7615_mac_wtbl_update_cipher() argument
1267 cipher_mask & ~BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_cipher()
1279 u16 cipher_mask = wcid->cipher; in __mt7615_mac_wtbl_set_key() local
1286 cipher_mask |= BIT(cipher); in __mt7615_mac_wtbl_set_key()
1287 mt7615_mac_wtbl_update_cipher(dev, wcid, cipher, cipher_mask); in __mt7615_mac_wtbl_set_key()
1288 err = mt7615_mac_wtbl_update_key(dev, wcid, key, cipher, cipher_mask); in __mt7615_mac_wtbl_set_key()
1292 err = mt7615_mac_wtbl_update_pk(dev, wcid, cipher, cipher_mask, in __mt7615_mac_wtbl_set_key()
1297 wcid->cipher = cipher_mask; in __mt7615_mac_wtbl_set_key()