Lines Matching refs:key_le
457 struct brcmf_wsec_key_le *key_le) in convert_key_from_CPU() argument
459 key_le->index = cpu_to_le32(key->index); in convert_key_from_CPU()
460 key_le->len = cpu_to_le32(key->len); in convert_key_from_CPU()
461 key_le->algo = cpu_to_le32(key->algo); in convert_key_from_CPU()
462 key_le->flags = cpu_to_le32(key->flags); in convert_key_from_CPU()
463 key_le->rxiv.hi = cpu_to_le32(key->rxiv.hi); in convert_key_from_CPU()
464 key_le->rxiv.lo = cpu_to_le16(key->rxiv.lo); in convert_key_from_CPU()
465 key_le->iv_initialized = cpu_to_le32(key->iv_initialized); in convert_key_from_CPU()
466 memcpy(key_le->data, key->data, sizeof(key->data)); in convert_key_from_CPU()
467 memcpy(key_le->ea, key->ea, sizeof(key->ea)); in convert_key_from_CPU()
475 struct brcmf_wsec_key_le key_le; in send_key_to_dongle() local
477 convert_key_from_CPU(key, &key_le); in send_key_to_dongle()
481 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle()
482 sizeof(key_le)); in send_key_to_dongle()