Context-aware modules like Qualcomm Sensing Hub (QSH) run in low-power
domains (e.g., Sensor DSP) and require Wi-Fi scan and ranging services
for location and context-awareness purposes. These services often
operate continuously, even while the host system is in power-save sleep
mode, without involving the host subsystem.
However, during critical latency-sensitive use cases, the host subsystem
needs to temporarily suspend these services. To enable that, add an
attribute QCA_WLAN_VENDOR_ATTR_CONFIG_QSH_SCAN_CTRL in the existing
vendor subcmd QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION for
managing QSH Wi-Fi scanning.
Signed-off-by: Pabitra Dash <pdash@qti.qualcomm.com>
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_ALLOW_STA_DFS_CH_SCC_P2P = 140,
+ /*
+ * 8-bit unsigned value to enable or disable QSH-initiated Wi-Fi scans,
+ * providing a mechanism to optimize power consumption. By default, this
+ * feature is enabled.
+ *
+ * Valid values:
+ * 0 - Disable
+ * 1 - Enable
+ *
+ * Values other than 0 or 1 are invalid and shall be rejected.
+ */
+ QCA_WLAN_VENDOR_ATTR_CONFIG_QSH_SCAN_CTRL = 141,
+
/* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =