]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Add QCA vendor subcmd for NAN
authorAmarnath Hullur Subramanyam <amarnath@qca.qualcomm.com>
Tue, 1 Apr 2014 18:13:49 +0000 (11:13 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 7 Apr 2014 14:13:08 +0000 (17:13 +0300)
QCA vendor extension is used for NAN functionality. This defines the
subcommand and attribute to address this.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/qca-vendor.h

index 80bad4f899bdf1acd54993083d645f42f2030d02..cea47017f844e8cba09354795289417e7b4f4877 100644 (file)
  *
  * @QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY: Command to check driver support
  *     for DFS offloading.
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_NAN: NAN command/event which is used to pass
+ *     NAN Request/Response and NAN Indication messages. These messages are
+ *     interpreted between the framework and the firmware component.
  */
 enum qca_nl80211_vendor_subcmds {
        QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
@@ -39,6 +43,7 @@ enum qca_nl80211_vendor_subcmds {
        /* subcmds 2..9 not yet allocated */
        QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY = 10,
        QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY =  11,
+       QCA_NL80211_VENDOR_SUBCMD_NAN =  12,
 };
 
 
@@ -56,6 +61,8 @@ enum qca_wlan_vendor_attr {
        QCA_WLAN_VENDOR_ATTR_INVALID = 0,
        /* used by QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY */
        QCA_WLAN_VENDOR_ATTR_DFS     = 1,
+       /* used by QCA_NL80211_VENDOR_SUBCMD_NAN */
+       QCA_WLAN_VENDOR_ATTR_NAN     = 2,
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_MAX        = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,