提交線圖

20474 次程式碼提交

作者 SHA1 備註 日期
Sheenam Monga
d47fccbfde qcacmn: Fix potential OOB read in util_scan_parse_rnr_ie
Currently, while parsing scan RNR Ie data is moved to
next neighbor_ap_info_field after parsing the current
neighbor_ap_info_field. But in last iteration pointer may
try to access invalid data if (uint8_t *)ie + rnr_ie_len + 2)
bytes are less than sizeof neighbor_ap_info_field and same
is the case with tbtt_length access.

Fix is to add a length check of data + next data size to be parsed
< (uint8_t *)ie + rnr_ie_len + 2) instead of adding a validation
of data length only.

CRs-Fixed: 3710080
Change-Id: I05e5a9a02f0f4f9bc468db894588e676f0a248c0
2024-04-07 21:07:09 -07:00
Krupali Dhanvijay
77cebf7083 qcacmn: Add check to avoid NULL pointer deference in parse MBSSID
In malformed beacon frame may deference the NULL pointer while
parsing MBSSID IE in util_scan_parse_mbssid will lead to crash.

Add check in util_scan_parse_mbsssid for split_prof_start before
passing to util_gen_new_ie and assign zero to split_prof_len
whenever split_prof_start freed to avoid unanticipated scenario.

Change-Id: Ibb9739d6b5d1775ab52d59f9aa5050ca693cd926
CRs-Fixed: 3717571
2024-04-03 16:43:31 -07:00
Pragaspathi Thilagaraj
ba7f3371ee qcacmn: Set LTF keyseed required for existing peer also
LTF keyseed required flag is set only for newly created PASN
peer. This value is filled from the security mode value received
the PASN peer create request event from the firmware.
If PASN peer already exists, then the peer is just added to the
peer list and secure LTF keyseed required flag is not updated.
This leads to wrong sequence of commands going to firmware.

Expected sequence: Install TK -> Set LTF keyseed -> PASN Auth
STATUS.

Observed Sequence: Install TK -> PASN Auth status -> Set LTF
keyseed -> PASN Auth status.

So set the is_ltf_keyseed required flag for already existing
PASN peer also

Change-Id: If9994ad01a96bdb26ad55538a67feaed7e22892f
CRs-Fixed: 3742573
2024-03-29 15:51:58 -07:00
Vinod Kumar Pirla
3ea1cbb97c qcacmn: Introduce APIs to save peer create and destroy hist
Add new structures, enums and APIs to enhance driver support
to store peer create and destroy history in PSOC.

Add new list to MLME's PSOC object to hold entries.

Change-Id: I22b8d559e9981a93dc4891d563586dc13245aff9
CRs-Fixed: 3738897
2024-03-28 01:38:03 -07:00
Vinod Kumar Pirla
a43a03d5b7 qcacmn: New field to save number of FW roamed links
Add new field to hodl number of links FW roamed
to from roam sync indication.

Change-Id: Ie855a4725eb20d2696de7b7e88e67b870fb918c6
CRs-Fixed: 3755825
2024-03-28 00:22:34 -07:00
Jianmin Zhu
54e0332947 qcacmn: Generate all possible unique candidates for MLO AP
For mlo candidate, need generate all possible unique candidates, and try
to connect one by one by sort of score.

For single MLO AP 5 GHz + 6 GHz + 2 GHz
 generates all possible unique candidates as following:
 1. 6 GHz + 2 GHz + 5 GHz
 2. 6 GHz + 2 GHz
 3. 6 GHz + 5 GHz
 4. 6 GHz
 5. 5 GHz + 2 GHz
 6. 5 GHz
 7. 2 GHz

Since standby link doesn't contribute to MLO candidate score,
to assure 3 links candidate is tried before 2 links generated,
insert generated candidate after original candidate.

Change-Id: I6c92b02e47563fc9b15e37fcec2ab7025a6554a3
CRs-Fixed: 3750735
2024-03-25 19:48:01 -07:00
Shashikala Prabhu
20e6be3aa4 qcacmn: Fix out-of-bound read in T2LM IE parse API
In wlan_mlo_parse_t2lm_ie(), the code is present to check if the frame
length is less than the parsed IE length plus size of ie_header structure
(2 bytes). If the above condition is false then the subsequent code will
access the data of parsed IE length plus size of extn_ie_header structure
(3 bytes).

To fix the out-of-bound read, check if the frame length is less than
parsed IE length plus size of extn_ie_header structure.
Also, added the code to return success if frame length is same as parsed
IE length.

Change-Id: I07c32379ecd18d253a82876127c33b4d95196dd2
CRs-Fixed: 3704796
2024-03-24 23:18:34 -07:00
Shashikala Prabhu
3c0cb90468 qcacmn: Add frame length check in T2LM action frame parse APIs
Check for frame length before processing the T2LM request and response
action frames.

Change-Id: I3ac1c8f6c2ff58a8c3a6d589fe6485dd97bfce09
CRs-Fixed: 3704794
2024-03-24 23:18:17 -07:00
Ananya Gupta
789b303c02 qcacmn: Clear number of users per ppdu in monitor mode
Currently, when a new ppdu is received, num_users per ppdu is
not getting cleared after every ppdu is processed. Hence, in OFDMA
cases the number of users increments for each ppdu and asserts when
number of users exceed the OFDMA_NUM_USERS.
To fix this, clear num_users when the ppdu is processed from status
ring in monitor mode.

Change-Id: If2598486338650342b83d65f2d5410a73c38c006
CRs-Fixed: 3664999
2024-03-19 15:06:36 -07:00
Surya Prakash Sivaraj
7062447879 qcacmn: Ignore PCL scoring for non-DBS STA
HW is non-DBS. SAP is UP in 6 GHz. Now, when a STA connection is
attempted, the pcl for the second connection would have SAP SCC
channel with highest priority, all the 5 GHz channels with 2nd
highest priority and the 6 GHz channels with least priority.
Therefore, even if there is a strong 6 GHz candidate for STA, the
5 GHz candidate would be chosen and the SAP moves to SCC in 5 GHz.

To fix this, ignore the pcl scoring for the non-DBS concurrency
cases as the SAP can move to the channel of the best STA interface.

If the SAP is in legacy band, and if still a 6 GHz STA is chosen,
then the legacy SAP would be torn down. So, give STA the best
possible in non-DBS case.

Change-Id: I08d1acbe7805dcf7137534347406ffdf539ff0aa
CRs-Fixed: 3748694
2024-03-18 10:46:06 -07:00
Amit Mehta
03f346bc1e qcacmn: Add changes to distinguish between LPC and STA+MON
Currently there is no way to distinguish between
Local Packet Capture and STA+Mon mode as both mode
uses same monitor interface. So to distinguish between
two mode in local_packet_capture enable case use
mon_flags which can be passed during monitor interface
add time. If "flags otherbss" is passed during
monitor interface add driver will consider current mode
as STA+MON mode, LPC otherwise.

Change-Id: I56a724697bb187d0b809b6c43c7b5bf4b7d15ca7
CRs-Fixed: 3739438
2024-03-18 01:57:08 -07:00
Amit Mehta
cbca127f90 qcacmn: Define QDF macros for monitor interface flags
Define QDF macros for monitor interface flags

CRs-Fixed: 3739437
Change-Id: I2654d122bd4493a31e965d4026758ef36ec5537e
2024-03-18 00:37:11 -07:00
Amit Mehta
0d61faf9e7 qcacmn: Add changes to store monitor interface flags
Currently STA+Mon mode is not supported in LPC case
as both mode uses monitor interface to capture
packets. So to distinguish between two different
monitor modes add changes to store monitor interface flags

Change-Id: Ied43fa50adac200bed47a4044245baca4d6cc84f
CRs-Fixed: 3739291
2024-03-18 00:36:58 -07:00
Aasir Rasheed
6e6bab3a81 qcacmn: Use MLMR and MLSR bss type for vendor_roam_score_algo
Currently, Host driver is using only MLMR bss type for
vendor_roam_score_algorithm.

Due to recent change in host driver via
Change-Id: I01338dbbc0845e6f6284e4a374f5ad0a5cada334, Host driver
is using this api policy_mgr_2_freq_always_on_same_mac for
evaluating sbs or dbs frequency which in turn returns MLSR for
frequency 5 GHz and 6 GHz opposed to MLMR earlier.

This change is to use both the bss types MLMR and MLSR for
the evaluation vendor_roam_score_algorithm.

Change-Id: I72b0d5e5b2daf498a434c05b503ea8aebc65be74
CRs-Fixed: 3742619
2024-03-18 00:36:47 -07:00
CNSS_WLAN Service
5438cc76c2 Merge "qcacmn: Fix potential OOB read in util_scan_parse_mbssid()" into wlan-cmn.driver.lnx.2.0.14 2024-03-12 11:28:41 -07:00
CNSS_WLAN Service
2613f5f745 Merge "qcacmn: Fix potential OOB read in util_scan_is_split_prof_found()" into wlan-cmn.driver.lnx.2.0.14 2024-03-12 11:28:25 -07:00
CNSS_WLAN Service
a6fa17f7b9 Merge "qcacmn: Fix field-spanning kernel warning during driver load" into wlan-cmn.driver.lnx.2.0.14 2024-03-12 11:26:17 -07:00
CNSS_WLAN Service
3d4a6e6fda Merge "qcacmn: Fix field-spanning kernel warning during driver load" into wlan-cmn.driver.lnx.2.0.14 2024-03-12 11:25:42 -07:00
CNSS_WLAN Service
411a06c0c4 Merge "qcacmn: Fix OOB read of ML IE" into wlan-cmn.driver.lnx.2.0.14 2024-03-12 10:47:21 -07:00
Surya Prakash Sivaraj
87778b39c8 qcacmn: Fix potential OOB read in util_scan_parse_mbssid()
If the length of the MBSSID IE is 0, then there is a potential
OOB read in util_scan_parse_mbssid(), when the Max BSSID indicator
field is accessed.

To fix this, do not proceed with MBSSID parsing if the length
of the MBSSID IE is zero.

Change-Id: I2c7a7641b77fed20a910cb77035588a7540caa62
CRs-Fixed: 3717567
2024-03-12 09:07:39 -07:00
Srikanth Marepalli
77e5284c7c qcacmn: Fix potential OOB read in util_scan_is_split_prof_found()
If the tag length in next_elem is some invalid high value then the
existing length check can still pass and lead to the OOB access.

Add an OOB check w.r.t total IE length to ensure it has the
minimum number of bytes in the buffer.

Change-Id: I9778a3e0ced05d3246d91e23c2a47f7318634d75
CRs-Fixed: 3717566
2024-03-12 09:07:27 -07:00
Surabhi Vishnoi
8cc36ff7cf qcacmn: Fix field-spanning kernel warning during driver load
Currently, driver passes void pointer to wmsg as source buffer
in memcpy API to copy the local log_msg to nlmsg data buffer
in ptt_sock_send_msg_to_app(). This leads to kernel warn as
kernel is unable to calculate the size of variable length source
buffer.

To fix this issue, pass the data buffer of nlmsg in memcpy API
so that kernel is able to calculate the size of source buffer
and verify for buffer overflow before copy.

Change-Id: I91e2e1b0b8e58428ed5ba20c7caf4ec3b45a6428
CRs-Fixed: 3749523
2024-03-12 09:07:15 -07:00
Surabhi Vishnoi
5d71abe754 qcacmn: Fix field-spanning kernel warning during driver load
Currently, driver passes void pointer to wmsg as source buffer
in memcpy API to copy the local log_msg to nlmsg data buffer
in send_filled_buffers_to_user(). This leads to kernel warn
as kernel is unable to calculate the size of variable length
source buffer.

To fix this issue, pass the data buffer of nlmsg in memcpy API
so that kernel is able to calculate the size of source buffer
and verify for buffer overflow before copy.

Change-Id: Ief089f4a834aa89a0be75fcf201ad56ca9cba7d8
CRs-Fixed: 3749520
2024-03-12 07:57:08 -07:00
Surya Prakash Sivaraj
8536ce5d51 qcacmn: Fix OOB read of ML IE
In util_get_bvmlie_bssparamchangecnt() and util_get_bvmlie_mldcap(),
fix the possible OOB read of the ML IE, if the ML IE length is less
than the minimum template of Basic variant ML probe response.

Change-Id: I50efaba682a1e42ef8befe09224edc34de9c8c7b
CRs-Fixed: 3700045
2024-03-12 06:41:37 -07:00
Surya Prakash Sivaraj
24073c30bf qcacmn: Fix possible OOB read/writes in ML probe generation
Fix the OOB read/writes util_add_mlie_for_prb_rsp_gen() when
the common info length is higher than the ML IE inside which
the common info is encoded.

Change-Id: I07e9ad748404c6252924996aae57aba0f18e2f7d
CRs-Fixed: 3700072
2024-03-12 06:41:26 -07:00
Surya Prakash Sivaraj
9c831dd988 qcacmn: Support dynamic FILS enablement for dual SAP
For Dual SAP(legacy SAP + 6 GHz SAP), WFA  HE-4.1.1 cert
case requires the following:
a) If Dual SAP is enabled, the 6 GHz SSID should be
discovered via the RNR IE of the colocated legacy SAP.
b) If a co-located neighbor is present, the  6 GHz SAP
should not send FD or unsolicited probe responses.

Add support for the above the cert case by configuring the
FD support for the 6 GHz SAP based on the operation of the
co-located SAP.

Change-Id: Ib1ea2794baf8786b7c042fc35130b6929abb947f
CRs-Fixed: 3732663
2024-03-12 02:04:33 -07:00
Amit Mehta
117e50a841 qcacmn: Reset monitor mon filters to init state
Currently during local packet capture filter reset
mon_pdev monitor filters are not reset to default init
state, which can result in issue in STA+Mon case as
packets will not be routed to monitor rings.

So to fix the issue reset mon_pdev monitor filters
to init state on LPC filter reset.

Change-Id: I45c354381405427ef28eee6a31fae4f54c4ab5ab
CRs-Fixed: 3739278
2024-03-11 09:08:53 -07:00
Jianmin Zhu
bf97803ce8 qcacmn: Fix wrong MLO 2 GHz link CCFS1 in response to get_channel
2 GHz link CCFS may not filled correctly in vht/he op, wrong CCFS0
is got from util_scan_sec_chan_freq_from_htinfo and passed to kernel,
regulatory check failed, disconnect will happen.

To fix it, add new API util_scan_ccfs0_from_htinfo, and get CCFS0 by it.

Change-Id: I0e8879f13cff37b85cffb6446cc15c60c05465d2
CRs-Fixed: 3739815
2024-03-11 01:50:08 -07:00
Jianmin Zhu
a9c79a17ae qcacmn: Move TPE MACRO to regulatory module
Move TPE MACRO to regulatory module

Change-Id: I61672a09abe6b0d5884d1233fbc4f5d2595ea290
CRs-Fixed: 3737992
2024-03-11 00:43:32 -07:00
Manikanta Pubbisetty
e2e92aa7d6 qcacmn: Force update HP/TP upon delayed register writes
Currently if HP/TP register updates are delayed due to delayed reg
write work not getting scheduled, although driver has processed
the ring completely, hardware would see HP/TP delta and fires an
interrupt based on interrupt threshold configuration until the
HP/TP updates reach the hardware.

When system is heavily stressed, this delay in HP/TP updates would
result in IRQ storm further stressing the system which is bad.
Force update HP/TP to the hardware under such scenarios to avoid
this problem.

Currently doing this just for CE DST SRNGs, this can be scaled to
other SRNGs on need.

Change-Id: I8a4938dbd4850d7ab6ae5183186237a5e37e1038
CRs-Fixed: 3749078
2024-03-10 23:25:57 -07:00
Abhinav Kumar
e454eb5052 qcacmn: Add QCA vendor attribute for BTM support configuration
Add a vendor attribute to configure BTM support in STA mode.

Change-Id: Icba0f008bc63b21d125f8ba685dc97af7c1b9e95
CRs-Fixed: 3742264
2024-03-09 16:03:24 -08:00
Manikanta Pubbisetty
0a79864dd1 qcacmn: Increase soc wake time for ipci devices
Currently for IPCI devices, SoC wake request and release messages
are serialized, i.e., a new request cannot make it to the firmware
unless the current request is completed. In some cases, when system
is heavily loaded, SoC wake request cannot make it to the firmware
due to a previous SoC wake release resulting in a timeout.

Increase the SoC wake timeout to 1 second to avoid this. Since this
is a worst case value, increasing it should be fine.

Change-Id: Ic265c0076233378bc6db7b2a99f7a0b7d7a4b2bc
CRs-Fixed: 3748244
2024-03-08 07:31:35 -08:00
Vinod Kumar Pirla
f3d3f64f12 qcacmn: Always update OSIF/HDD connect info
Driver tries to fetch BSS info from kernel to update
connect results and at the same time updates HDD/OSIF
of the current link's BSSID and link ID.
OSIF/HDD will not be updated, if BSS info is not found
in kernel. This will leave MLO manager and OSIF/HDD to
go out-of-sync.

This can later lead to link switch failure as HDD is
not having all link's information.

To keep MLO manager and OSIF/HDD in sync, always update
OSIF/HDD even if BSS info fetch from kernel fails.

Change-Id: Ie2e67317256cc2d9edaa7663d3902b63a45cbaaa
CRs-Fixed: 3729709
2024-03-07 00:27:18 -08:00
Amit Mehta
f4dda761c5 qcacmn: Add changes to log peer unmap event count
Currently host does not maintain peer map and unmap
event count, due to which its difficult to check
if host has received peer unmap events for all peer map.

To fix the issue maintain peer map and unmap count and dump
stats in case of duplicate peer map event.

CRs-Fixed: 3707115
Change-Id: I8881cc35646ba4abcc9897b71ed462a5e2c3dfb4
2024-03-05 23:21:02 -08:00
Aditya Kodukula
5cbfd2c051 qcacmn: Add a qdf macro for flexible length array
Define a qdf macro QDF_FLEX_ARRAY for declaring flexible length arrays.

Change-Id: I9be0d699fc85264e37b9e399ca239cada74eba5a
CRs-Fixed: 3690235
2024-03-05 22:17:53 -08:00
Karthik Kantamneni
83938b4902 qcacmn: Add new ssr reason code for enable irq failure
Add new ssr/hang reason code for enable irq failure.
This reason code will be used to log recovery reason when
enable irq failure is seen.

Change-Id: Idc126f9d313373a47cde02c5dfd0fc909970691f
CRs-Fixed: 3724895
2024-03-05 13:33:22 -08:00
Karthik Kantamneni
5bce59c56f qcacmn: Add support to request rtpm resume in suspending state
Add support to request rtpm resume in suspending state,
this helps to request resume from WOW initial wake up
sequence if resume request is being missed from CE
interrupt handler.

Change-Id: I7e5e4be7d793fef94c7c72f9c3bd2ac28e992f7c
CRs-Fixed: 3743772
2024-03-05 13:33:10 -08:00
Manikanta Pubbisetty
9cc2e55b8c qcacmn: Re-enable kswapd reclaim during nbuf alloc
Currently in __qdf_nbuf_alloc(), __GFP_KSWAPD_RECLAIM flag is
unset before calling kernel APIs for SKB allocation. Since this
flag is not set, in low memory scenarios, nbuf allocations might
fail resulting in firmware assert.

Re-enable the __GFP_KSWAPD_RECLAIM flag to avoid these failures.
It is safe to re-enable this flag since __qdf_nbuf_alloc() does
not request for order-3 allocations any more.

Change-Id: I2501a751d42277e2f7015b9e712ccdf5ec0ef7f1
CRs-Fixed: 3739812
2024-03-04 18:36:49 -08:00
Krupali Dhanvijay
8cd067442d qcacmn: Change minimum mbssid ie length value to 1
Currently, in the driver, the minimum MBSSID IE length value
in the driver is set to 4. Some APs advertize this value as
1. In such situations, driver fails to parse the the ie.
So, to avoid such cases, modify the minimum mbssid ie length
value to 1.

Change-Id: I6ef89706b95318cb9bd38e04cab56b0fdef99fd5
CRs-Fixed: 3684794
2024-03-04 07:26:27 -08:00
Rahul Gusain
b2253d3444 qcacmn: OOB while accessing ML IE
Currently, in function "util_get_ml_bv_partner_link_info" driver
access the ML IE memory with offset which is calculated from ML IE
length and increment this offset with other values (such as
perstaprof_stainfo_len). But this can lead to OOB for ML IE when
this offset value is increment beyond ML IE length.

So, to fix this, add check for offset before accessing ML IE.

Change-Id: Ie7312ab3379fce16e5b0f83d07d46f263f774ed8
CRs-Fixed: 3710085
2024-03-04 00:57:21 -08:00
Krupali Dhanvijay
f323c32b7d qcacmn: Fix out-of-bound in wlan_mlo_parse_bcn_prbresp_t2lm_ie
Currently, In the MLO t2lm API, wlan_mlo_parse_bcn_prbresp_t2lm_ie
is missing frame boundary checks which may lead to out-of-bound
reads if the lengths are not checked by the caller.

Fix is, while parsing t2lm ie pass the frame length and add
check for frame boundary.

CRs-Fixed: 3704739
Change-Id: If3068db3489ee1c9a9da4945407598e27e3ca276
2024-02-22 22:28:30 -08:00
Jianmin Zhu
a1aaa5c775 qcacmn: Fix assert in cm_validate_partner_links
Uninitialized pointer partner_entry is deferenced wrongly in
Change-Id: Ib7e2f4cd43c8190c5e5fd0bb7786df41b022f518

Change-Id: I0cada18a043f4ed2f65697f81530b4169dc46dd2
CRs-Fixed: 3738263
2024-02-22 01:50:53 -08:00
Jianmin Zhu
c753fff381 qcacmn: Add API to check whether MLO CSA allowed
SCC links in same MLD is not allowed, add API to check whether MLO CSA
allowed

CRs-Fixed: 3722991
Change-Id: I1eab54995e2b12715b66c58d6c6e31c14de6c994
2024-02-20 11:57:17 -08:00
Yu Tian
60d9ef02ec qcacmn: Add verbose log for RX frame dropping
Now only error counter is present in normal
datapath RX frame dropping. This change add
verbose log for easy debug.

CRs-Fixed: 3706290
Change-Id: Iae2fb9f6100109173921c4f1d43258a0722dc0de
2024-02-19 20:15:26 -08:00
Vinod Kumar Pirla
0d945daa64 qcacmn: Extend vdev stop and peer delete cmd for link switch
Enhance WMI command of existing peer delete and VDEV stop to
add new TLV to carry MLO params with link switch BIT set when
link switch is in progress.

Change-Id: I50b1aa48e4e2c976a56bcd3b75395eef6830e627
CRs-Fixed: 3663340
2024-02-18 22:37:29 -08:00
Ananya Gupta
e6b555af3c qcacmn: Rate limit desc sanity failure log
A crash was observed as the desc sanity failure log
exceeded 500 logs per second.
Rate limited the ring descriptor log to fix this.

Change-Id: Ic0d13bc48d05bfb3e2b715e4881e0e8b0329f572
CRs-Fixed: 3715208
2024-02-14 23:12:16 -08:00
Ananya Gupta
7b3f6814fa qcacmn: Set eht flag when the frame is 11be
In monitor mode, set EHT flag for packets for
11be frames when reading status TLV.

Change-Id: I8792bf7737dcf3efe69125218d5170d69f761142
CRs-Fixed: 3724725
2024-02-14 23:12:03 -08:00
Rahul Gusain
564d0238ea qcacmn: Add API to check NAN OUI
Firmware forwards certain action frames to host driver for NAN
functionality. Host driver forwards these frames to kernel.
Userspace may register for these frames on NAN interface and
receive the same.

So, filter the NAN action frames based on WFA OUI (0x50, 0x6f, 0x9a)
and NAN WFA version (0x13) and send them on NAN interface.
Add an API to check for the NAN WFA OUI + NAN WFA version.

Change-Id: I46640060299b9bff20f4b191c2c421deedf84e20
CRs-Fixed: 3694518
2024-02-14 07:13:19 -08:00
Rakesh Pillai
e406fb3ff4 qcacmn: Fix TID arg passing to dp_peer_rx_reorder_queue_setup
dp_peer_rx_reorder_queue_setup accepts a tid_bitmap as argument,
whereas the API dp_peer_rx_init_reorder_queue is passing only TID value.
This leads to rx_tid setup failure and thereby the BA window size is
set to 1 resulting in lower wlan throughput.

Fix this by passing the tid_bitmap to dp_peer_rx_reorder_queue_setup.

Change-Id: Ic8ab5615e0d2650e3077ed3a26ee68193ddc9787
CRs-Fixed: 3702382
2024-02-12 22:22:55 -08:00
Rahul Gusain
bfd5bae251 qcacmn: Store crypto keys at PSOC instead of PDEV
Currently, host driver allocates the memory for crypto keys in
PDEV. But during SSR, driver destroys PDEV and VDEV and keys are
deleted. This results in SAP starting in open mode after SSR as
the keys are not plumbed.

So, fix this issue by allocating the memory for crypto keys in
PSOC.

Change-Id: Ie97d94b340df9abb258da703286ce16e62a44253
CRs-Fixed: 3663797
2024-02-12 15:09:03 -08:00