Add vendor flag to indicate unavailability mode in TWT responder mode

Add a flag attribute
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE into enum
qca_wlan_vendor_attr_twt_set_param to configure the TWT responder
unavailability outside of the SPs of its broadcast TWT schedule.

Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
This commit is contained in:
Purushottam Kushwaha 2024-06-07 16:48:29 +05:30 committed by Jouni Malinen
parent 7cf0021267
commit 9832f13242

View file

@ -11259,10 +11259,18 @@ enum qca_wlan_vendor_attr_twt_capability {
* This attribute configures AC parameters to be used for all TWT
* sessions in AP mode.
* Uses the enum qca_wlan_ac_type values.
*
* @QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE: Flag attribute,
* used by TWT responder to indicate unavailability outside of the SPs.
* Enable (flag attribute present) - Indicates that the TWT responder may be
* unavailable outside of the SPs of its broadcast TWT schedule.
* Disable (flag attribute not present) - Indicates that the responder will be
* available for all TWT sessions (including individual TWT).
*/
enum qca_wlan_vendor_attr_twt_set_param {
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_INVALID = 0,
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AP_AC_VALUE = 1,
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_UNAVAILABILITY_MODE = 2,
/* keep last */
QCA_WLAN_VENDOR_ATTR_TWT_SET_PARAM_AFTER_LAST,