Commit Graph

19 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
4c252e1598 qcacmn: Add if_mgr support to handle STA CSA
Add if_mgr support to handle STA CSA complete notification and
SAP CSA Started and complete notification.
Before CSA vdev restart on SAP side, disable TDLS off channel.
After CSA, check if TDLS is allowed for the current concurrency
and take action accordingly.

Change-Id: Icbadb898f5b468717f74f92a0993c05b59719205
CRs-Fixed: 3445113
2023-04-12 12:54:11 -07:00
Jeff Johnson
4113a5f404 qcacmn: Fix umac/cmn_services/interface_mgr documentation
The kernel-doc script identified some documentation issues in the
umac/cmn_services/interface_mgr folder, so fix them.

Change-Id: I699fd75a0827324872da4ca6a3be13a5ebcfda37
CRs-Fixed: 3390584
2023-01-31 11:24:15 -08:00
Liangwei Dong
7f3b6c9512 qcacmn: Add new enum action OUI type support
Add ACTION_OUI_11BE_OUI_ALLOW enum to support new WMI action
oui type WMI_VENDOR_OUI_ACTION_ALLOW_11BE.
Add scan entry to candidate validation struct.

Change-Id: I502a246584cd5ee6b4759d8fbb67629628314560
CRs-Fixed: 3301859
2022-10-17 12:58:09 -07:00
Jeff Johnson
ed240b1daf qcacmn: umac: cmn_services: Fix misspellings
Fix misspellings in umac/cmn_services/...

Change-Id: I74c006b3e585e3d4f6ec8c025ef313133c9e3068
CRs-Fixed: 3304695
2022-10-11 00:47:41 -07:00
sheenam monga
dece2a5af1 qcacmn: Handle user initiate CSA in p2p go+go concurrency
If p2p go+go concurrency exist and g_enable_go_force_scc ini sets
to 2(liberal mode) then 1st p2p go channel should move to 2nd
p2p go channel after set key. Again, when user initiates CSA to
one p2p go then the force SCC doesn't happen to other p2p go.
But the expectation is all p2p go should move to same channel
which is initiated by user.

As part of fix, move all p2p go to same channel when user
initiates.

Change-Id: I166f459c208f8f88c885a311da7bcd82a64d8b3e
CRs-Fixed: 3069743
2021-11-18 17:05:28 -08:00
Yu Wang
33958ed42f qcacmn: handle MLO scenario for candidate validating
Add flag to indicate whether MLO is supported by the candidate or not,
which is helpful when checking concurrency.

Change-Id: I166ad2963163ae4dc7989516b654dce4cb635cec
CRs-Fixed: 3013418
2021-11-07 22:52:53 -08:00
Vivek
c893f06069 qcacmn: Add new events to the interface manager
Add new events to the interfaces manager for the
following which requires inter vdev co-ordination
	1. ACS
	2. HT40 scan
These event are sent to the MBSS frameworkfor inter VDEV
co-ordination.

Add a string array ro represent interface manage events.
Add API to retrieve string from interface manager events.

Change-Id: I397621a432da70156e34f46f75fd6c0e8d0a7b53
CRs-Fixed: 2963147
2021-07-21 01:18:12 -07:00
Abhishek Singh
1c177a9a31 qcacmn: Remove #ifdef WLAN_FEATURE_INTERFACE_MGR from connection mgr
Remove #ifdef WLAN_FEATURE_INTERFACE_MGR from connection mgr, as
interface manager .h files take care of it.

Change-Id: I5b1e07beecd93c98429318372ed72fdf414712a4
CRs-fixed: 2878656
2021-02-23 05:31:13 -08:00
Lincoln Tran
3cb704cae0 qcacmn: Update interface mangager event data
Add fields to the validate bss data struct to pass more information
to the interface manager when validating a candidate.

Change-Id: I82536585517da87ec0883c6010461d7ee929bd18
CRs-fixed: 2836749
2021-02-17 02:10:30 -08:00
Sandeep Puligilla
cc9cfde56b qcacmn: modularize interface manager header files
Enable modularization of interface manager header files.

Change-Id: I9c7f1ffe662ecc6fe793972fde235c6c79667e62
CRs-Fixed: 2801746
2021-02-02 05:38:27 -08:00
Sandeep Puligilla
a5235578f7 qcacmn: Remove unused psoc private object
Interface manager is not using the psoc private
object structure. Remove the allocate and attach code
in psoc create and destroy code.

Change-Id: I9450052345769ef6627d76731b2b51b5414bd146
CRs-Fixed: 2811077
2020-11-06 03:57:35 -08:00
sheenam monga
3cb0095f11 qcacmn: Don't unregister WLAN_UMAC_COMP_IF_MGR during init
Currently WLAN_UMAC_COMP_IF_MGR is deregistered during
initialization of WLAN_UMAC_COMP_IF_MGR . During deinitalization
wlan_if_mgr_deinit tries to unregister WLAN_UMAC_COMP_IF_MGR which
may introduce errorneous behaviour as WLAN_UMAC_COMP_IF_MGR is already
unregistered.

Fix is not to unregister WLAN_UMAC_COMP_IF_MGR during initialization.

Change-Id: I0ee117b9fa7b48df8a5edb4217971553dc1c4a49
CRs-Fixed: 2802673
2020-11-06 03:57:31 -08:00
Amruta Kulkarni
9a9a3fae4f qcacmn: Fix compilation error in interface manager
- Compiler does not find declaration for functions
  declared in wlan_objmgr_global_obj.h file,
  causing errors fix is to add include header file.

Change-Id: I5cd7f8ed78f36444d9512d5fecec62ad7d1cadde
CRs-Fixed: 2779850
2020-09-23 11:52:43 -07:00
Amruta Kulkarni
c8c0eee515 qcacmn: Fix compilation errors in IF mgr
- Fix compilation errors seen after correcting Kbuild typo.
- Add debug logs in Interface mgr api's.
- Update disconnect functions to have correctly typed parameters.

Change-Id: Iea5b32c374da6eef2aa804483388072c297b5eff
CRs-Fixed: 2774517
2020-09-16 21:04:56 -07:00
Sandeep Puligilla
d57e7836dc qcacmn: Initialize the interface module
Initialize the interface module.

Change-Id: Ia62d17c7f92f001f00ee5cff7cf0a6d1dc4f08ce
CRs-Fixed: 2776686
2020-09-16 21:04:52 -07:00
Lincoln Tran
2d6c178775 qcacmn: Assign the bss validation event in if_mgr
Assign the candidate validation event handler in the interface
manager. Modify the event data structure to carry information
about the candidate that needs validation.

Change-Id: I6091496df72de34177d4bf5cdfa6fe2db1385084
CRs-fixed: 2774548
2020-09-12 01:59:52 -07:00
Lincoln Tran
0e8995bde7 qcacmn: Assign disconnect event handler
Assign the disconnect start and disconnect complete event handler
in the interface manager.

This change is part of the interface manager effort.

Change-Id: I6885c2ace59fa0f305e45d421d158bef02aa937b
CRs-fixed: 2760080
2020-09-11 07:36:50 -07:00
Amruta Kulkarni
21bf0386f0 qcacmn: Add start/stop bss changes in interface mgr
- Add start/stop bss event processing

Change-Id: I7d0b786567229f4d683b72981f7f52e93e785c73
CRs-Fixed: 2759986
2020-09-09 16:20:05 -07:00
Sandeep Puligilla
00a2d6550f qcacmn: Add interface manager module
- Add interface manager module files
- Add start_connect event processing
- Add stubs for start_connect_complete and start_bss
event processing API's

Change-Id: I91a2bf38755abef38b6a9348d3eb69983217916c
CRs-Fixed: 2759226
2020-08-28 06:35:52 -07:00