From 1f3852a3c4bf27adf814bcd0131a26088898ee5c Mon Sep 17 00:00:00 2001 From: Hsiu-Chang Chen Date: Mon, 9 Mar 2020 17:57:51 +0530 Subject: cld80211_lib: Add new attributes for cld80211 attr list CLD80211_ATTR_CMD and CLD80211_ATTR_CMD_TAG_DATA are new attributes that are allowed for cld80211 family msgs CLD80211_ATTR_CMD has cld80211 vendor sub command in it, while CLD80211_ATTR_CMD_TAG_DATA has nested sub attributes of specified sub command Bug: 220992475 Test: VtsHalWifiNan/VtsHalWifiRtt CRs-Fixed: 2637778 Change-Id: I17d820d9e97d316b1c02091e56d669338ec01c3d --- cld80211-lib/cld80211_lib.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cld80211-lib/cld80211_lib.h b/cld80211-lib/cld80211_lib.h index 3dd53bb..1572382 100644 --- a/cld80211-lib/cld80211_lib.h +++ b/cld80211-lib/cld80211_lib.h @@ -58,6 +58,10 @@ struct cld80211_ctx { * CLD80211_ATTR_META_DATA: Embed meta data for above data. This will help * wlan driver to peek into request message packet without opening up definition * of complete request message. + * @CLD80211_ATTR_CMD: cld80211 vendor subcommand in this attribute + * @CLD80211_ATTR_CMD_TAG_DATA: cld80211 vendor subcommand data is present in + * this attribute. It is a nested attribute with sub attributes of specified + * vendor sub command. * * Any new message in future can be added as another attribute */ @@ -65,6 +69,8 @@ enum cld80211_attr { CLD80211_ATTR_VENDOR_DATA = 1, CLD80211_ATTR_DATA, CLD80211_ATTR_META_DATA, + CLD80211_ATTR_CMD, + CLD80211_ATTR_CMD_TAG_DATA, __CLD80211_ATTR_AFTER_LAST, CLD80211_ATTR_MAX = __CLD80211_ATTR_AFTER_LAST - 1 -- cgit v1.2.3