From 8bdb0697af4e33e7ad7ee335ad0404cbc218ffff Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Tue, 18 Jul 2017 13:30:42 +0530 Subject: [PATCH] qcacmn: Add vendor features to indicate OCE support Vendor features are used to indicate OCE support from driver to user space which are set based on ini params for STA and SAP. Change-Id: I7ef572443c8a7ed313917e4dfab5f4fab73fe245 CRs-Fixed: 2031980 --- os_if/linux/qca_vendor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 369f9cf65b80..7326e8d48d06 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -2663,12 +2663,24 @@ enum qca_wlan_vendor_attr_nd_offload { * user space wpa_supplicant do it. Information from received P2P * Requests are forwarded from firmware to host whenever the APPS * processor exits power collapse state. + * @QCA_WLAN_VENDOR_FEATURE_OCE_STA: Device supports all OCE non-AP STA + * specific features + * @QCA_WLAN_VENDOR_FEATURE_OCE_AP: Device supports all OCE AP specific + * features. + * @QCA_WLAN_VENDOR_FEATURE_OCE_STA_CFON: Device supports OCE STA-CFON + * specific features only. If a Device sets this bit but not the + * QCA_WLAN_VENDOR_FEATURE_OCE_AP, the userspace shall assume that + * this Device may not support all OCE AP functionalities but can support + * only OCE STA-CFON functionalities. */ enum qca_wlan_vendor_features { QCA_WLAN_VENDOR_FEATURE_KEY_MGMT_OFFLOAD = 0, QCA_WLAN_VENDOR_FEATURE_SUPPORT_HW_MODE_ANY = 1, QCA_WLAN_VENDOR_FEATURE_OFFCHANNEL_SIMULTANEOUS = 2, QCA_WLAN_VENDOR_FEATURE_P2P_LISTEN_OFFLOAD = 3, + QCA_WLAN_VENDOR_FEATURE_OCE_STA = 4, + QCA_WLAN_VENDOR_FEATURE_OCE_AP = 5, + QCA_WLAN_VENDOR_FEATURE_OCE_STA_CFON = 6, /* Additional features need to be added above this */ NUM_QCA_WLAN_VENDOR_FEATURES };