qcacld-3.0: Extend KEK and KCK lengths
For GTK offload functionality, currently only 16bytes of KEK and KCK are being copied from the userspace. In latest kernel, kek length and kck length are sent to the host driver as part of set_rekey_data command. Therefore, use this length to copy the kek, kck params in host driver. Change-Id: Idef0247aaab22022a84898eca6eb2f010ca1bf1f CRs-Fixed: 3345506
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
0c397eaac2
當前提交
e1ce015186
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -63,8 +64,10 @@ QDF_STATUS pmo_tgt_send_gtk_offload_req(struct wlan_objmgr_vdev *vdev,
|
||||
qdf_atomic_set(&vdev_ctx->gtk_err_enable, true);
|
||||
qdf_mem_copy(op_gtk_req->kck, gtk_req->kck,
|
||||
gtk_req->kck_len);
|
||||
op_gtk_req->kck_len = gtk_req->kck_len;
|
||||
qdf_mem_copy(op_gtk_req->kek, gtk_req->kek,
|
||||
PMO_KEK_LEN);
|
||||
op_gtk_req->kek_len = gtk_req->kek_len;
|
||||
qdf_mem_copy(&op_gtk_req->replay_counter,
|
||||
>k_req->replay_counter, PMO_REPLAY_COUNTER_LEN);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user