diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-09-27 20:05:49 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-27 20:05:49 -0700 |
| commit | b33f617917535d1fcbf53a9b8a6c821ffbcae7a9 (patch) | |
| tree | ce7c53f04ed9c2da6cdb3c8c2e5f05086bd0ae86 | |
| parent | f468a5a27d8440ab0999e5afbcf473c678e67409 (diff) | |
| parent | f396bc35785cbdf0295c892c4d1833d322db5516 (diff) | |
Merge "msm: Add CLD80211_ATTR_META_DATA vendor attribute"
| -rw-r--r-- | drivers/net/wireless/cnss_genl/cnss_nl.c | 2 | ||||
| -rw-r--r-- | include/net/cnss_nl.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/cnss_genl/cnss_nl.c b/drivers/net/wireless/cnss_genl/cnss_nl.c index fafd9ce4b4c4..29dd4c999f2d 100644 --- a/drivers/net/wireless/cnss_genl/cnss_nl.c +++ b/drivers/net/wireless/cnss_genl/cnss_nl.c @@ -64,6 +64,8 @@ static const struct nla_policy cld80211_policy[CLD80211_ATTR_MAX + 1] = { [CLD80211_ATTR_VENDOR_DATA] = { .type = NLA_NESTED }, [CLD80211_ATTR_DATA] = { .type = NLA_BINARY, .len = CLD80211_MAX_NL_DATA }, + [CLD80211_ATTR_META_DATA] = { .type = NLA_BINARY, + .len = CLD80211_MAX_NL_DATA }, }; static int cld80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb, diff --git a/include/net/cnss_nl.h b/include/net/cnss_nl.h index 86c2fccc930e..b8a7cfdb7966 100644 --- a/include/net/cnss_nl.h +++ b/include/net/cnss_nl.h @@ -23,12 +23,16 @@ * @CLD80211_ATTR_VENDOR_DATA: Embed all other attributes in this nested * attribute. * @CLD80211_ATTR_DATA: Embed complete data in this attribute + * @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. * * Any new message in future can be added as another attribute */ enum cld80211_attr { CLD80211_ATTR_VENDOR_DATA = 1, CLD80211_ATTR_DATA, + CLD80211_ATTR_META_DATA, /* add new attributes above here */ __CLD80211_ATTR_AFTER_LAST, |
