mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Enable sending HT/VHT parameters for NDI
Enable sending HT/VHT self capabilities for NDI. CRs-Fixed: 2080124 Change-Id: I4b01bef970f3f851fdbb052dc7eadf2420bcafb2
This commit is contained in:
parent
696cef2c4f
commit
8eb65f97bd
1 changed files with 5 additions and 2 deletions
|
|
@ -2081,14 +2081,17 @@ int hdd_init_nan_data_mode(struct hdd_adapter *adapter)
|
|||
QDF_STATUS status;
|
||||
int32_t ret_val = 0;
|
||||
|
||||
sme_set_curr_device_mode(hdd_ctx->hHal, adapter->device_mode);
|
||||
|
||||
ret_val = hdd_vdev_create(adapter);
|
||||
if (ret_val) {
|
||||
hdd_err("failed to create vdev: %d", ret_val);
|
||||
return ret_val;
|
||||
}
|
||||
|
||||
/* Configure self HT/VHT capabilities */
|
||||
sme_set_curr_device_mode(hdd_ctx->hHal, adapter->device_mode);
|
||||
sme_set_pdev_ht_vht_ies(hdd_ctx->hHal, hdd_ctx->config->enable2x2);
|
||||
sme_set_vdev_ies_per_band(hdd_ctx->hHal, adapter->sessionId);
|
||||
|
||||
/* Register wireless extensions */
|
||||
ret_val = hdd_register_wext(wlan_dev);
|
||||
if (0 > ret_val) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue