From fed802c2e8e8d917bd67a5c3c90e99cf1ab23865 Mon Sep 17 00:00:00 2001 From: Sunil Dutt Date: Thu, 4 Aug 2016 22:22:21 +0530 Subject: [PATCH] Define an attribute QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX This can be used to set the configuration parameters per netdev (instead of wiphy). Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 8a026c7c4..be5e3b15e 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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,