From fff8da8ace1cd276f7bd79e353f3d42b4e73bbe1 Mon Sep 17 00:00:00 2001 From: stonez Date: Thu, 17 Jan 2019 13:50:26 +0800 Subject: [PATCH] Add a vendor attribution to transfer EVM information This new QCA vendor attribute indicates the EVM value in netlink. Signed-off-by: stonez :100644 100644 ad5dac2... ede4fc8... M src/common/qca-vendor.h --- src/common/qca-vendor.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index ad5dac2d1..6f5b87e7f 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -852,6 +852,12 @@ 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,