qcacld-3.0: Update data type of iface name to const for NAN

Currently driver code has data type as char* for NAN related code.
With this change update this data type as const char*.
Also, move NAN related functions under WLAN_FEATURE_NAN feature flag.

Change-ID: I61ad10304be4399a68f32778d01d9a951d7d14bb
CRs-Fixed: 3169168
This commit is contained in:
Ashish
2022-04-07 17:41:29 +05:30
committed by Madan Koyyalamudi
parent cede71c355
commit 4bc1f3cb67
5 changed files with 143 additions and 46 deletions

View File

@@ -804,9 +804,9 @@ struct nan_callbacks {
uint32_t type, void *msg);
void (*ucfg_nan_request_process_cb)(void *cookie);
int (*ndi_open)(const char *iface_name, bool is_add_virtual_iface);
int (*ndi_start)(char *iface_name, uint16_t);
int (*ndi_start)(const char *iface_name, uint16_t);
void (*ndi_close)(uint8_t);
int (*ndi_delete)(uint8_t, char *iface_name, uint16_t transaction_id);
int (*ndi_delete)(uint8_t, const char *iface_name, uint16_t transaction_id);
void (*drv_ndi_create_rsp_handler)
(uint8_t, struct nan_datapath_inf_create_rsp *);
void (*drv_ndi_delete_rsp_handler)(uint8_t);