Parcourir la source

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
stonez il y a 6 ans
Parent
commit
2c6f4d1906
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      os_if/linux/qca_vendor.h

+ 8 - 0
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,