Commit Graph

12 Commits

Author SHA1 Message Date
Alan Chen
baf6433a8f qcacld-3.0: Add additional bazel-related changes
Add additional bazel-related changes to resolve build errors.

Change-Id: I891556a81d217fded38915293aeea83a389d6782
CRs-Fixed: 3517415
2023-06-21 16:53:13 -07:00
Gangadhar Kavalastramath
1bbd5a953a qcacld-3.0: Remove dfs cac dependency on pre cac feature flag
Remove dfs cac dependency on pre cac feature flag.

Change-Id: If91e3fb4cc94b669e79aa8877e7102b0cb6ef8b6
CRs-Fixed: 3424238
2023-03-09 12:58:12 -08:00
Jeff Johnson
7909bafb0f qcacld-3.0: Fix Pre-CAC Documentation
The kernel-doc script identified a few documentation issues in
components/pre_cac, so fix them.

Change-Id: Ie2a9be0c410e32c8e7ca5a86ed0dec7df5b62d25
CRs-Fixed: 3359794
2023-01-13 10:38:16 -08:00
Vinod Kumar Myadam
bc164e3ba0 qcacld-3.0: Fix to pre CAC interface clean up
If is_pre_cac_on is set, in __wlan_hdd_del_virtual_intf firstly
frees the sap context by calling hdd_clean_up_interface and then
frees the pre cac by calling hdd_clean_up_pre_cac_interface this
will fails to access the sap context which is already freed.

So, replace order of calling, firstly hdd_clean_up_pre_cac_interface
and then hdd_clean_up_interface.

cds flush work will cancel the work which will not delete the pre cac
vdev. Replace with qdf_flush_work will wait for a work to finish,
executing the last queueing instance.

Assign NULL to fn and arg of pre cac work to ensure proper cleanup
of work

Change-Id: I093bf627ce7a73e7c4f7c4cf30e2ec56814a80ed
CRs-Fixed: 3286477
2022-10-12 09:56:34 -07:00
Liangwei Dong
86a7824781 qcacld-3.0: Fix vdev count leak in pre CAC
At present Pre CAC work queue callback pre_cac_handle_failure
doesn't release the vdev ref count. And the pre_cac_handle_radar_ind
doesn't take ref count before schedule work pre_cac_work.
To fix inconsistency by using psoc as work queue callback parameter
and get pre CAC vdev id from psoc context.

Change-Id: I65339ca9f3ac4b91faf31090978337d041320f99
CRs-Fixed: 3288125
2022-09-13 13:51:11 -07:00
Dundi Raviteja
a258f3cd42 qcacld-3.0: Clean up code under PRE_CAC_COMP flag
pre cac componentization is done, so clean up
code under PRE_CAC_COMP flag.

Change-Id: I6465bce9fc883797f42358aaeb8dabf70e449cde
CRs-Fixed: 3232820
2022-07-04 11:52:02 -07:00
Dundi Raviteja
d346f272c2 qcacld-3.0: Move pre cac cleanup code to pre cac component
Move pre cac cleanup code from HDD to pre cac component.

Change-Id: I2839d447420e980941bfa271305685224b147cd8
CRs-Fixed: 3199949
2022-05-29 22:52:03 -07:00
Dundi Raviteja
a52b682bcb qcacld-3.0: Move pre cac failure code to pre cac component
Move pre cac failure code to pre cac component.

Change-Id: Ie27c93737fff89a4f5f3c2ceaa51223bd246e43b
CRs-Fixed: 3199950
2022-05-29 22:51:57 -07:00
Dundi Raviteja
2bbdc1835e qcacld-3.0: Move pre cac success code to pre cac component
Move pre cac success code to pre cac component.

Change-Id: I9d4f6c52ada96905e185fecef6556c59e05ab284
CRs-Fixed: 3199947
2022-05-29 22:51:50 -07:00
Dundi Raviteja
71fc4f3fd4 qcacld-3.0: Move pre_cac start code to pre_cac component
Move pre_cac start code flow from hdd to pre_cac component.

Change-Id: Ia3bd7521bff9571dee18dbc20b28d08b76128944
CRs-Fixed: 3199948
2022-05-27 18:06:07 -07:00
Dundi Raviteja
b59f96fb33 qcacld-3.0: Add osif callbacks for pre cac
Add osif callbacks for pre cac component.

Change-Id: Ic49f61c413e4630bba8fd2e5ff3e69560fb52b52
CRs-Fixed: 3174540
2022-05-17 22:57:53 -07:00
Dundi Raviteja
e63bf7f295 qcacld-3.0: Add pre cac component
Add support for pre cac component.

Change-Id: I883febac103fc462fcd09f1534fda78c23b96466
CRs-Fixed: 3174505
2022-05-17 22:57:46 -07:00