Lines Matching refs:crypt
631 struct ieee80211_crypt_data *crypt)
636 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL)
643 strcmp(crypt->ops->name, "TKIP") == 0) {
652 atomic_inc(&crypt->refcnt);
653 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv);
654 atomic_dec(&crypt->refcnt);
670 int keyidx, struct ieee80211_crypt_data *crypt)
675 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL)
681 atomic_inc(&crypt->refcnt);
682 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv);
683 atomic_dec(&crypt->refcnt);
716 struct ieee80211_crypt_data *crypt = NULL;
768 crypt = local->crypt[idx];
779 (void) hostap_handle_sta_crypto(local, hdr, &crypt,
784 if (crypt && (crypt->ops == NULL ||
785 crypt->ops->decrypt_mpdu == NULL))
786 crypt = NULL;
788 if (!crypt && (fc & IEEE80211_FCTL_PROTECTED)) {
798 (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0)
893 (keyidx = hostap_rx_frame_decrypt(local, skb, crypt)) < 0)
957 hostap_rx_frame_decrypt_msdu(local, skb, keyidx, crypt))
961 if (crypt && !(fc & IEEE80211_FCTL_PROTECTED) && !local->open_wep) {