From 2c6f4d1906278c90ce72e9e37aa4b10cd10f37dd Mon Sep 17 00:00:00 2001 From: stonez Date: Tue, 15 Jan 2019 17:55:58 +0800 Subject: [PATCH] qcacmn: Add a vendor attribution to transfer evm information User layer need to get evm info of each groups of antenna. Host first get this info by WMI command and then transfer it to user layer with attribution QCA_WLAN_VENDOR_ATTR_CHAIN_EVM in netlink. Change-Id: I66b745b0fd1052b0c75d45376334e5d08d35ae10 CRs-Fixed: 2381139 --- os_if/linux/qca_vendor.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 283a4e9c52..6653dbed4d 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -1252,6 +1252,14 @@ enum qca_wlan_vendor_attr { * to report the corresponding antenna index to the chain RSSI value */ QCA_WLAN_VENDOR_ATTR_ANTENNA_INFO = 40, + /* + * Used in QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI command + * to report the specific antenna EVM value (unsigned 32 bit value). + * With a determinate group of antennas, the driver specifies the + * EVM value for each antenna ID, and application extract them + * in user space. + */ + QCA_WLAN_VENDOR_ATTR_CHAIN_EVM = 41, /* keep last */ QCA_WLAN_VENDOR_ATTR_AFTER_LAST,