Lines Matching refs:cipher_mask
1121 enum mt76_cipher_type cipher, u16 cipher_mask, in mt7615_mac_wtbl_update_key() argument
1138 if (cipher_mask == BIT(cipher)) in mt7615_mac_wtbl_update_key()
1148 else if (cipher_mask) in mt7615_mac_wtbl_update_key()
1150 if (!cipher_mask) in mt7615_mac_wtbl_update_key()
1161 enum mt76_cipher_type cipher, u16 cipher_mask, in mt7615_mac_wtbl_update_pk() argument
1172 if (cipher_mask) in mt7615_mac_wtbl_update_pk()
1176 if (cipher_mask & BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_pk()
1183 cipher_mask == BIT(cipher))) { in mt7615_mac_wtbl_update_pk()
1200 enum mt76_cipher_type cipher, u16 cipher_mask, in mt7615_mac_wtbl_update_cipher() argument
1205 if (!cipher_mask) { in mt7615_mac_wtbl_update_cipher()
1214 cipher_mask & ~BIT(MT_CIPHER_BIP_CMAC_128)) in mt7615_mac_wtbl_update_cipher()
1227 u16 cipher_mask = wcid->cipher; in __mt7615_mac_wtbl_set_key() local
1235 cipher_mask |= BIT(cipher); in __mt7615_mac_wtbl_set_key()
1237 cipher_mask &= ~BIT(cipher); in __mt7615_mac_wtbl_set_key()
1239 mt7615_mac_wtbl_update_cipher(dev, wcid, cipher, cipher_mask, cmd); in __mt7615_mac_wtbl_set_key()
1240 err = mt7615_mac_wtbl_update_key(dev, wcid, key, cipher, cipher_mask, in __mt7615_mac_wtbl_set_key()
1245 err = mt7615_mac_wtbl_update_pk(dev, wcid, cipher, cipher_mask, in __mt7615_mac_wtbl_set_key()
1250 wcid->cipher = cipher_mask; in __mt7615_mac_wtbl_set_key()