Lines Matching refs:pmk_op
4307 struct brcmf_pmk_op_v3_le *pmk_op; in brcmf_pmksa_v3_op() local
4311 pmk_op = kzalloc(sizeof(*pmk_op), GFP_KERNEL); in brcmf_pmksa_v3_op()
4312 if (!pmk_op) in brcmf_pmksa_v3_op()
4315 pmk_op->version = cpu_to_le16(BRCMF_PMKSA_VER_3); in brcmf_pmksa_v3_op()
4319 pmk_op->count = cpu_to_le16(0); in brcmf_pmksa_v3_op()
4322 pmk_op->count = cpu_to_le16(1); in brcmf_pmksa_v3_op()
4325 memcpy(pmk_op->pmk[0].bssid, pmksa->bssid, ETH_ALEN); in brcmf_pmksa_v3_op()
4327 memcpy(pmk_op->pmk[0].pmkid, pmksa->pmkid, WLAN_PMKID_LEN); in brcmf_pmksa_v3_op()
4328 pmk_op->pmk[0].pmkid_len = WLAN_PMKID_LEN; in brcmf_pmksa_v3_op()
4331 memcpy(pmk_op->pmk[0].ssid.SSID, pmksa->ssid, pmksa->ssid_len); in brcmf_pmksa_v3_op()
4332 pmk_op->pmk[0].ssid.SSID_len = pmksa->ssid_len; in brcmf_pmksa_v3_op()
4334 pmk_op->pmk[0].time_left = cpu_to_le32(alive ? BRCMF_PMKSA_NO_EXPIRY : 0); in brcmf_pmksa_v3_op()
4337 pmk_op->length = cpu_to_le16(length); in brcmf_pmksa_v3_op()
4339 ret = brcmf_fil_iovar_data_set(ifp, "pmkid_info", pmk_op, sizeof(*pmk_op)); in brcmf_pmksa_v3_op()
4340 kfree(pmk_op); in brcmf_pmksa_v3_op()