Lines Matching refs:rxkey
656 struct p54_keycache *rxkey; in p54_upload_key() local
658 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*rxkey), in p54_upload_key()
663 rxkey = skb_put(skb, sizeof(*rxkey)); in p54_upload_key()
664 rxkey->entry = slot; in p54_upload_key()
665 rxkey->key_id = idx; in p54_upload_key()
666 rxkey->key_type = algo; in p54_upload_key()
668 memcpy(rxkey->mac, addr, ETH_ALEN); in p54_upload_key()
670 eth_broadcast_addr(rxkey->mac); in p54_upload_key()
675 rxkey->key_len = min_t(u8, 16, len); in p54_upload_key()
676 memcpy(rxkey->key, key, rxkey->key_len); in p54_upload_key()
680 rxkey->key_len = 24; in p54_upload_key()
681 memcpy(rxkey->key, key, 16); in p54_upload_key()
682 memcpy(&(rxkey->key[16]), &(key in p54_upload_key()
687 rxkey->key_len = 0; in p54_upload_key()
688 memset(rxkey->key, 0, sizeof(rxkey->key)); in p54_upload_key()