Define an attribute QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX
authorSunil Dutt <usdutt@qti.qualcomm.com>
Thu, 4 Aug 2016 16:52:21 +0000 (22:22 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 4 Aug 2016 18:50:26 +0000 (21:50 +0300)
This can be used to set the configuration parameters per netdev (instead
of wiphy).

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

index 8a026c7..be5e3b1 100644 (file)
@@ -723,6 +723,11 @@ enum qca_wlan_vendor_attr_config {
         * QCA_WLAN_VENDOR_ATTR_CONFIG_ACCESS_POLICY to control the access.
         * Zero length payload can be used to clear this access constraint. */
        QCA_WLAN_VENDOR_ATTR_CONFIG_ACCESS_POLICY_IE_LIST,
+       /* Unsigned 32-bit, specifies the interface index (netdev) for which the
+        * corresponding configurations are applied. If the interface index is
+        * not specified, the configurations are attributed to the respective
+        * wiphy. */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,