qcacld-3.0: Deprecate command support for QCA_NL80211_VENDOR_SUBCMD_NAN

QCA_NL80211_VENDOR_SUBCMD_NAN_EXT is introduced to carry NAN
command data along with channel info. This channel info is needed
to enable DBS on DBS supported platforms. The command data is sent
to firmware as it on non-DBS platforms.
Userspace is expected to send NAN commands through
QCA_NL80211_VENDOR_SUBCMD_NAN_EXT if it's supported. It can send
QCA_NL80211_VENDOR_SUBCMD_NAN if QCA_NL80211_VENDOR_SUBCMD_NAN_EXT
is not supported, which is expected to happen on older
platforms(non-DBS).
So legacy NAN command QCA_NL80211_VENDOR_SUBCMD_NAN is not allowed
on DBS platforms, as the command is sent to firmware without
enabling DBS.
Event part of QCA_NL80211_VENDOR_SUBCMD_NAN is still intact as it
carries NAN events from firmware to userspace.

Change-Id: Ie1aaf9f7ea051009125c972de4f0de13942448fb
CRs-Fixed: 2699605
This commit is contained in:
Srinivas Dasari
2020-06-12 12:23:15 +05:30
gecommit door nshrivas
bovenliggende 515ea41025
commit dc72fffd2b
4 gewijzigde bestanden met toevoegingen van 0 en 131 verwijderingen

Bestand weergeven

@@ -155,18 +155,6 @@ static inline QDF_STATUS os_if_nan_set_ndp_delete_transaction_id(
return ucfg_nan_set_ndp_delete_transaction_id(vdev, val);
}
/**
* os_if_nan_legacy_req: os_if api to handle NAN requests attached to the vendor
* command QCA_NL80211_VENDOR_SUBCMD_NAN
* @psoc: pointer to psoc object
* @data: request data. contains vendor cmd tlvs
* @data_len: length of data
*
* Return: status of operation
*/
int os_if_nan_legacy_req(struct wlan_objmgr_psoc *psoc, const void *data,
int data_len);
/**
* os_if_process_nan_req: os_if api to handle NAN requests attached to the
* vendor command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT