qcacld-3.0: Remove the dependency on NDI name
Currently in driver, NAN Data Interface can be created with only name "aware_data" which creates dependency on interface name. To remove the dependency, the interface is created now by name provided by Wifi-HAL. For this, interface is created in STA mode with name provided by WiFi-HAl. While processing vendor cmd QCA_NL80211_VENDOR_SUBCMD_NDP, given ifname is searched in adapter list and mode is changed to NDI. CRs-Fixed: 3196179 Change-Id: I62dd512f8a7de4c69a53babf3112942d348bf3b6
此提交包含在:
@@ -784,6 +784,7 @@ struct nan_datapath_host_event {
|
||||
* request processing is complete
|
||||
* @ndi_open: HDD callback for creating the NAN Datapath Interface
|
||||
* @ndi_start: HDD callback for starting the NAN Datapath Interface
|
||||
* @ndi_set_mode: HDD callback for setting the adapter mode to NDI
|
||||
* @ndi_close: HDD callback for closing the NAN Datapath Interface
|
||||
* @ndi_delete: HDD callback for deleting the NAN Datapath Interface
|
||||
* @drv_ndi_create_rsp_handler: HDD callback for handling NDI interface creation
|
||||
@@ -804,6 +805,7 @@ 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_set_mode)(const char *iface_name);
|
||||
int (*ndi_start)(const char *iface_name, uint16_t);
|
||||
void (*ndi_close)(uint8_t);
|
||||
int (*ndi_delete)(uint8_t, const char *iface_name, uint16_t transaction_id);
|
||||
|
新增問題並參考
封鎖使用者