nl80211: Configure capability flag for NAN USD offload
Configure the capability flag based on the nl80211 feature advertisement for NAN USD offload support. Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
This commit is contained in:
parent
5cb1929da6
commit
27de11ca5c
1 changed files with 2 additions and 0 deletions
|
@ -1451,6 +1451,8 @@ static void qca_nl80211_get_features(struct wpa_driver_nl80211_data *drv)
|
||||||
"The driver supports RSN overriding in STA mode");
|
"The driver supports RSN overriding in STA mode");
|
||||||
drv->capa.flags2 |= WPA_DRIVER_FLAGS2_RSN_OVERRIDE_STA;
|
drv->capa.flags2 |= WPA_DRIVER_FLAGS2_RSN_OVERRIDE_STA;
|
||||||
}
|
}
|
||||||
|
if (check_feature(QCA_WLAN_VENDOR_FEATURE_NAN_USD_OFFLOAD, &info))
|
||||||
|
drv->capa.flags2 |= WPA_DRIVER_FLAGS2_NAN_OFFLOAD;
|
||||||
|
|
||||||
os_free(info.flags);
|
os_free(info.flags);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue