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:
Shivani Baranwal 2024-08-18 16:05:20 +05:30 committed by Jouni Malinen
parent 5cb1929da6
commit 27de11ca5c

View file

@ -1451,6 +1451,8 @@ static void qca_nl80211_get_features(struct wpa_driver_nl80211_data *drv)
"The driver supports RSN overriding in STA mode");
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);
}