qcacld-3.0: Allow NDI creation in all concurrent cases

Currently, NDI and NDP creation is happening only if the
corresponding concurrency is allowed. But NDI should be allowed
to create/delete in all concurrent scenarios. So, don't validate
the other interfaces present on device for NDI creation/deletion
and validate only for NDP requests.

Change-Id: I8e8817ac63f1f94b48fe71a30ddf1d49183d263a
CRs-Fixed: 2552623
Esse commit está contido em:
Srinivas Dasari
2019-10-29 18:23:54 +05:30
commit de nshrivas
commit 0610cc4041
3 arquivos alterados com 20 adições e 9 exclusões

Ver arquivo

@@ -43,11 +43,14 @@ struct ndi_find_vdev_filter {
* @psoc: pointer to psoc object
* @data: request data. contains vendor cmd tlvs
* @data_len: length of data
* @is_ndp_allowed: Indicates whether to allow NDP creation.
* NDI creation is always allowed.
*
* Return: status of operation
*/
int os_if_nan_process_ndp_cmd(struct wlan_objmgr_psoc *psoc,
const void *data, int data_len);
const void *data, int data_len,
bool is_ndp_allowed);
/**
* os_if_nan_register_hdd_callbacks: os_if api to register hdd callbacks