qcacmn: Send responder pm mode info to user space

Send responder pm mode info in twt setup event and twt
get session parameter response.

Change-Id: I1f58e0bed62f152d84cec20ff7924d05e126347f
CRs-Fixed: 3029014
此提交包含在:
Nirav Shah
2021-08-23 12:23:56 +05:30
提交者 Madan Koyyalamudi
父節點 3038a860fc
當前提交 2f37575532
共有 2 個檔案被更改,包括 22 行新增2 行删除

查看文件

@@ -197,6 +197,8 @@ enum host_twt_session_stats_type {
* @announ: If the flow type is announced/unannounced
* @protection: If the TWT protection field is set
* @info_frame_disabled: If the TWT Information frame is disabled
* @pm_responder_bit_valid: pm responder bit is valid or not
* @pm_responder_bit: pm responder value
* @dialog_id: Dialog_id of current session
* @wake_dura_us: wake duration in us
* @wake_intvl_us: wake time interval in us
@@ -213,7 +215,9 @@ struct wmi_host_twt_session_stats_info {
trig:1,
announ:1,
protection:1,
info_frame_disabled:1;
info_frame_disabled:1,
pm_responder_bit_valid:1,
pm_responder_bit:1;
uint32_t dialog_id;
uint32_t wake_dura_us;
uint32_t wake_intvl_us;
@@ -373,6 +377,10 @@ enum WMI_HOST_ADD_TWT_STATUS {
* 1 means B-TWT ID 0
* @info_frame_disabled: 0 means TWT Information frame is enabled
* 1 means TWT Information frame is disabled
* @pm_responder_bit_valid: 1 means responder pm mode field is valid
* 0 means responder pm mode field is not valid
* @pm_responder_bit: 1 means that responder set responder pm mode to 1
* 0 means that responder set responder pm mode to 0
* @wake_dura_us: wake duration in us
* @wake_intvl_us: wake time interval in us
* @sp_offset_us: Time until initial TWT SP occurs
@@ -386,7 +394,9 @@ struct wmi_twt_add_dialog_additional_params {
announce:1,
protection:1,
b_twt_id0:1,
info_frame_disabled:1;
info_frame_disabled:1,
pm_responder_bit_valid:1,
pm_responder_bit:1;
uint32_t wake_dur_us;
uint32_t wake_intvl_us;
uint32_t sp_offset_us;