summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsiu-Chang Chen <hsiuchangchen@google.com>2020-03-09 17:57:51 +0530
committerHsiu-Chang Chen <hsiuchangchen@google.com>2022-04-13 14:35:33 +0800
commit1f3852a3c4bf27adf814bcd0131a26088898ee5c (patch)
tree779c7e964791d641061d056aba1757a7a95b702a
parent12c43b9b29b1deb04a0b478218eff532a86bad6d (diff)
downloadwlan-1f3852a3c4bf27adf814bcd0131a26088898ee5c.tar.gz
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
-rw-r--r--cld80211-lib/cld80211_lib.h6
1 files changed, 6 insertions, 0 deletions
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