qcacld-3.0: Add vendor command API for EPCS

Add vendor command API to set EPCS (Emergency Preparedness
Communications Service) capability and trigger EPCS
function enable or disable.

Change-Id: I2ffe4d268731c57dd6e3ddfe0586d4dcb77dc611
CRs-Fixed: 3511170
This commit is contained in:
Paul Zhang
2023-06-28 19:23:03 +08:00
committed by Rahul Choudhary
parent 1c77981358
commit fe32c542b7
2 changed files with 129 additions and 0 deletions

View File

@@ -139,6 +139,36 @@ enum t2lm_negotiation_support {
T2LM_NEGOTIATION_MAX = T2LM_NEGOTIATION_LAST - 1,
};
/**
* enum wlan_epcs_capability - EPCS capability
* @WLAN_EPCS_CAP_DISABLED: EPCS capability disable
* @WLAN_EPCS_CAP_ENABLE: EPCS capability enable
* @WLAN_EPCS_CAP_LAST: last value in enum
* @WLAN_EPCS_CAP_MAX: max value supported
*/
enum wlan_epcs_capability {
WLAN_EPCS_CAP_DISABLED = 0,
WLAN_EPCS_CAP_ENABLE = 1,
/* keep this last */
WLAN_EPCS_CAP_LAST,
WLAN_EPCS_CAP_MAX = WLAN_EPCS_CAP_LAST - 1,
};
/**
* enum wlan_epcs_frame - EPCS frame type
* @WLAN_EPCS_FRAME_TEARDOWN: EPCS teardown frame
* @WLAN_EPCS_FRAME_REQUEST: EPCS request frame
* @WLAN_EPCS_FRAME_LAST: last value in enum
* @WLAN_EPCS_FRAME_MAX: max value supported
*/
enum wlan_epcs_frame {
WLAN_EPCS_FRAME_TEARDOWN = 0,
WLAN_EPCS_FRAME_REQUEST = 1,
/* keep this last */
WLAN_EPCS_FRAME_LAST,
WLAN_EPCS_FRAME_MAX = WLAN_EPCS_FRAME_LAST - 1,
};
/*
* pmfSaQueryMaxRetries - Control PMF SA query retries for SAP
* @Min: 0