Lines Matching refs:params

28 			struct twt_enable_param *params)  in send_twt_enable_cmd_tlv()  argument
49 params->pdev_id); in send_twt_enable_cmd_tlv()
50 cmd->sta_cong_timer_ms = params->sta_cong_timer_ms; in send_twt_enable_cmd_tlv()
51 cmd->mbss_support = params->mbss_support; in send_twt_enable_cmd_tlv()
52 cmd->default_slot_size = params->default_slot_size; in send_twt_enable_cmd_tlv()
53 cmd->congestion_thresh_setup = params->congestion_thresh_setup; in send_twt_enable_cmd_tlv()
54 cmd->congestion_thresh_teardown = params->congestion_thresh_teardown; in send_twt_enable_cmd_tlv()
55 cmd->congestion_thresh_critical = params->congestion_thresh_critical; in send_twt_enable_cmd_tlv()
57 params->interference_thresh_teardown; in send_twt_enable_cmd_tlv()
58 cmd->interference_thresh_setup = params->interference_thresh_setup; in send_twt_enable_cmd_tlv()
59 cmd->min_no_sta_setup = params->min_no_sta_setup; in send_twt_enable_cmd_tlv()
60 cmd->min_no_sta_teardown = params->min_no_sta_teardown; in send_twt_enable_cmd_tlv()
61 cmd->no_of_bcast_mcast_slots = params->no_of_bcast_mcast_slots; in send_twt_enable_cmd_tlv()
62 cmd->min_no_twt_slots = params->min_no_twt_slots; in send_twt_enable_cmd_tlv()
63 cmd->max_no_sta_twt = params->max_no_sta_twt; in send_twt_enable_cmd_tlv()
64 cmd->mode_check_interval = params->mode_check_interval; in send_twt_enable_cmd_tlv()
65 cmd->add_sta_slot_interval = params->add_sta_slot_interval; in send_twt_enable_cmd_tlv()
66 cmd->remove_sta_slot_interval = params->remove_sta_slot_interval; in send_twt_enable_cmd_tlv()
68 TWT_EN_DIS_FLAGS_SET_BTWT(cmd->flags, params->b_twt_enable); in send_twt_enable_cmd_tlv()
69 TWT_EN_DIS_FLAGS_SET_B_R_TWT(cmd->flags, params->r_twt_enable); in send_twt_enable_cmd_tlv()
71 params->b_twt_legacy_mbss_enable); in send_twt_enable_cmd_tlv()
73 params->b_twt_ax_mbss_enable); in send_twt_enable_cmd_tlv()
74 if (params->ext_conf_present) { in send_twt_enable_cmd_tlv()
76 TWT_EN_DIS_FLAGS_SET_REQ_RESP(cmd->flags, params->twt_role); in send_twt_enable_cmd_tlv()
77 TWT_EN_DIS_FLAGS_SET_I_B_TWT(cmd->flags, params->twt_oper); in send_twt_enable_cmd_tlv()
110 struct twt_disable_param *params) in send_twt_disable_cmd_tlv() argument
131 params->pdev_id); in send_twt_disable_cmd_tlv()
132 if (params->ext_conf_present) { in send_twt_disable_cmd_tlv()
134 TWT_EN_DIS_FLAGS_SET_REQ_RESP(cmd->flags, params->twt_role); in send_twt_disable_cmd_tlv()
135 TWT_EN_DIS_FLAGS_SET_I_B_TWT(cmd->flags, params->twt_oper); in send_twt_disable_cmd_tlv()
139 params->dis_reason_code); in send_twt_disable_cmd_tlv()
152 twt_add_dialog_set_bcast_twt_params(struct twt_add_dialog_param *params, in twt_add_dialog_set_bcast_twt_params() argument
155 TWT_FLAGS_SET_BTWT_ID0(cmd->flags, params->flag_b_twt_id0); in twt_add_dialog_set_bcast_twt_params()
156 cmd->b_twt_persistence = params->b_twt_persistence; in twt_add_dialog_set_bcast_twt_params()
157 cmd->b_twt_recommendation = params->b_twt_recommendation; in twt_add_dialog_set_bcast_twt_params()
161 twt_add_dialog_set_bcast_twt_params(struct twt_add_dialog_param *params, in twt_add_dialog_set_bcast_twt_params() argument
169 struct twt_add_dialog_param *params) in send_twt_add_dialog_cmd_tlv() argument
187 cmd->vdev_id = params->vdev_id; in send_twt_add_dialog_cmd_tlv()
188 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_add_dialog_cmd_tlv()
190 cmd->dialog_id = params->dialog_id; in send_twt_add_dialog_cmd_tlv()
191 cmd->wake_intvl_us = params->wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
192 cmd->wake_intvl_mantis = params->wake_intvl_mantis; in send_twt_add_dialog_cmd_tlv()
193 cmd->wake_dura_us = params->wake_dura_us; in send_twt_add_dialog_cmd_tlv()
194 cmd->sp_offset_us = params->sp_offset_us; in send_twt_add_dialog_cmd_tlv()
195 cmd->min_wake_intvl_us = params->min_wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
196 cmd->max_wake_intvl_us = params->max_wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
197 cmd->min_wake_dura_us = params->min_wake_dura_us; in send_twt_add_dialog_cmd_tlv()
198 cmd->max_wake_dura_us = params->max_wake_dura_us; in send_twt_add_dialog_cmd_tlv()
199 cmd->sp_start_tsf_lo = (uint32_t)(params->wake_time_tsf & 0xFFFFFFFF); in send_twt_add_dialog_cmd_tlv()
200 cmd->sp_start_tsf_hi = (uint32_t)(params->wake_time_tsf >> 32); in send_twt_add_dialog_cmd_tlv()
201 cmd->announce_timeout_us = params->announce_timeout_us; in send_twt_add_dialog_cmd_tlv()
202 cmd->link_id_bitmap = params->link_id_bitmap; in send_twt_add_dialog_cmd_tlv()
203 cmd->r_twt_dl_tid_bitmap = params->r_twt_dl_tid_bitmap; in send_twt_add_dialog_cmd_tlv()
204 cmd->r_twt_ul_tid_bitmap = params->r_twt_ul_tid_bitmap; in send_twt_add_dialog_cmd_tlv()
205 TWT_FLAGS_SET_CMD(cmd->flags, params->twt_cmd); in send_twt_add_dialog_cmd_tlv()
206 TWT_FLAGS_SET_BROADCAST(cmd->flags, params->flag_bcast); in send_twt_add_dialog_cmd_tlv()
207 TWT_FLAGS_SET_TRIGGER(cmd->flags, params->flag_trigger); in send_twt_add_dialog_cmd_tlv()
208 TWT_FLAGS_SET_FLOW_TYPE(cmd->flags, params->flag_flow_type); in send_twt_add_dialog_cmd_tlv()
209 TWT_FLAGS_SET_PROTECTION(cmd->flags, params->flag_protection); in send_twt_add_dialog_cmd_tlv()
211 twt_add_dialog_set_bcast_twt_params(params, cmd); in send_twt_add_dialog_cmd_tlv()
225 twt_del_dialog_set_bcast_twt_params(struct twt_del_dialog_param *params, in twt_del_dialog_set_bcast_twt_params() argument
228 cmd->b_twt_persistence = params->b_twt_persistence; in twt_del_dialog_set_bcast_twt_params()
232 twt_del_dialog_set_bcast_twt_params(struct twt_del_dialog_param *params, in twt_del_dialog_set_bcast_twt_params() argument
240 struct twt_del_dialog_param *params) in send_twt_del_dialog_cmd_tlv() argument
258 cmd->vdev_id = params->vdev_id; in send_twt_del_dialog_cmd_tlv()
259 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_del_dialog_cmd_tlv()
261 cmd->dialog_id = params->dialog_id; in send_twt_del_dialog_cmd_tlv()
263 twt_del_dialog_set_bcast_twt_params(params, cmd); in send_twt_del_dialog_cmd_tlv()
277 struct twt_pause_dialog_cmd_param *params) in send_twt_pause_dialog_cmd_tlv() argument
295 cmd->vdev_id = params->vdev_id; in send_twt_pause_dialog_cmd_tlv()
296 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_pause_dialog_cmd_tlv()
298 cmd->dialog_id = params->dialog_id; in send_twt_pause_dialog_cmd_tlv()
312 struct twt_nudge_dialog_cmd_param *params) in send_twt_nudge_dialog_cmd_tlv() argument
328 cmd->vdev_id = params->vdev_id; in send_twt_nudge_dialog_cmd_tlv()
329 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_nudge_dialog_cmd_tlv()
331 cmd->dialog_id = params->dialog_id; in send_twt_nudge_dialog_cmd_tlv()
332 cmd->suspend_duration_ms = params->suspend_duration / 1000; in send_twt_nudge_dialog_cmd_tlv()
333 cmd->next_twt_size = params->next_twt_size; in send_twt_nudge_dialog_cmd_tlv()
334 cmd->sp_start_offset = params->sp_start_offset; in send_twt_nudge_dialog_cmd_tlv()
340 QDF_MAC_ADDR_REF(params->peer_macaddr.bytes), in send_twt_nudge_dialog_cmd_tlv()
352 struct twt_resume_dialog_cmd_param *params) in send_twt_resume_dialog_cmd_tlv() argument
370 cmd->vdev_id = params->vdev_id; in send_twt_resume_dialog_cmd_tlv()
371 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_resume_dialog_cmd_tlv()
373 cmd->dialog_id = params->dialog_id; in send_twt_resume_dialog_cmd_tlv()
374 cmd->sp_offset_us = params->sp_offset_us; in send_twt_resume_dialog_cmd_tlv()
375 cmd->next_twt_size = params->next_twt_size; in send_twt_resume_dialog_cmd_tlv()
390 struct twt_btwt_invite_sta_cmd_param *params) in send_twt_btwt_invite_sta_cmd_tlv() argument
408 cmd->vdev_id = params->vdev_id; in send_twt_btwt_invite_sta_cmd_tlv()
409 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_btwt_invite_sta_cmd_tlv()
411 cmd->dialog_id = params->dialog_id; in send_twt_btwt_invite_sta_cmd_tlv()
412 cmd->r_twt_dl_tid_bitmap = params->r_twt_dl_tid_bitmap; in send_twt_btwt_invite_sta_cmd_tlv()
413 cmd->r_twt_ul_tid_bitmap = params->r_twt_ul_tid_bitmap; in send_twt_btwt_invite_sta_cmd_tlv()
428 *params) in send_twt_btwt_remove_sta_cmd_tlv()
446 cmd->vdev_id = params->vdev_id; in send_twt_btwt_remove_sta_cmd_tlv()
447 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr.bytes, in send_twt_btwt_remove_sta_cmd_tlv()
449 cmd->dialog_id = params->dialog_id; in send_twt_btwt_remove_sta_cmd_tlv()
450 cmd->r_twt_dl_tid_bitmap = params->r_twt_dl_tid_bitmap; in send_twt_btwt_remove_sta_cmd_tlv()
451 cmd->r_twt_ul_tid_bitmap = params->r_twt_ul_tid_bitmap; in send_twt_btwt_remove_sta_cmd_tlv()
483 struct twt_enable_complete_event_param *params) in extract_twt_enable_comp_event_tlv() argument
496 params->pdev_id = in extract_twt_enable_comp_event_tlv()
499 params->status = wmi_twt_enable_status_to_host_twt_status(ev->status); in extract_twt_enable_comp_event_tlv()
523 struct twt_disable_complete_event_param *params) in extract_twt_disable_comp_event_tlv() argument
536 params->pdev_id = in extract_twt_disable_comp_event_tlv()
539 params->status = wmi_twt_disable_status_to_host_twt_status(ev->status); in extract_twt_disable_comp_event_tlv()
597 struct twt_add_dialog_complete_event_param *params) in extract_twt_add_dialog_comp_event_tlv() argument
610 params->vdev_id = ev->vdev_id; in extract_twt_add_dialog_comp_event_tlv()
612 params->peer_macaddr.bytes); in extract_twt_add_dialog_comp_event_tlv()
613 params->status = wmi_get_converted_twt_add_dialog_status(ev->status); in extract_twt_add_dialog_comp_event_tlv()
614 params->dialog_id = ev->dialog_id; in extract_twt_add_dialog_comp_event_tlv()
615 params->num_additional_twt_params = param_buf->num_twt_params; in extract_twt_add_dialog_comp_event_tlv()
732 struct twt_del_dialog_complete_event_param *params) in extract_twt_del_dialog_comp_event_tlv() argument
745 params->vdev_id = ev->vdev_id; in extract_twt_del_dialog_comp_event_tlv()
747 params->peer_macaddr.bytes); in extract_twt_del_dialog_comp_event_tlv()
748 params->dialog_id = ev->dialog_id; in extract_twt_del_dialog_comp_event_tlv()
749 params->status = wmi_get_converted_twt_del_dialog_status(ev->status); in extract_twt_del_dialog_comp_event_tlv()
786 struct twt_pause_dialog_complete_event_param *params) in extract_twt_pause_dialog_comp_event_tlv() argument
799 params->vdev_id = ev->vdev_id; in extract_twt_pause_dialog_comp_event_tlv()
801 params->peer_macaddr.bytes); in extract_twt_pause_dialog_comp_event_tlv()
802 params->status = wmi_twt_pause_status_to_host_twt_status(ev->status); in extract_twt_pause_dialog_comp_event_tlv()
803 params->dialog_id = ev->dialog_id; in extract_twt_pause_dialog_comp_event_tlv()
840 struct twt_nudge_dialog_complete_event_param *params) in extract_twt_nudge_dialog_comp_event_tlv() argument
853 params->vdev_id = ev->vdev_id; in extract_twt_nudge_dialog_comp_event_tlv()
855 params->peer_macaddr.bytes); in extract_twt_nudge_dialog_comp_event_tlv()
856 params->status = wmi_twt_nudge_status_to_host_twt_status(ev->status); in extract_twt_nudge_dialog_comp_event_tlv()
857 params->dialog_id = ev->dialog_id; in extract_twt_nudge_dialog_comp_event_tlv()
858 params->next_twt_tsf_us_lo = ev->sp_tsf_us_lo; in extract_twt_nudge_dialog_comp_event_tlv()
859 params->next_twt_tsf_us_hi = ev->sp_tsf_us_hi; in extract_twt_nudge_dialog_comp_event_tlv()
862 params->vdev_id, params->dialog_id, in extract_twt_nudge_dialog_comp_event_tlv()
863 params->next_twt_tsf_us_hi, params->next_twt_tsf_us_lo); in extract_twt_nudge_dialog_comp_event_tlv()
900 struct twt_resume_dialog_complete_event_param *params) in extract_twt_resume_dialog_comp_event_tlv() argument
914 params->vdev_id = ev->vdev_id; in extract_twt_resume_dialog_comp_event_tlv()
916 params->peer_macaddr.bytes); in extract_twt_resume_dialog_comp_event_tlv()
917 params->status = wmi_get_converted_twt_resume_dialog_status(ev->status); in extract_twt_resume_dialog_comp_event_tlv()
918 params->dialog_id = ev->dialog_id; in extract_twt_resume_dialog_comp_event_tlv()
939 struct twt_notify_event_param *params) in extract_twt_notify_event_tlv() argument
959 params->vdev_id = ev->vdev_id; in extract_twt_notify_event_tlv()
960 params->status = wmi_get_converted_twt_notify_status(ev->event_id); in extract_twt_notify_event_tlv()
963 params->vdev_id, params->status); in extract_twt_notify_event_tlv()
975 *params) in extract_twt_btwt_invite_sta_comp_event_tlv()
989 params->vdev_id = ev->vdev_id; in extract_twt_btwt_invite_sta_comp_event_tlv()
991 params->peer_macaddr.bytes); in extract_twt_btwt_invite_sta_comp_event_tlv()
992 params->status = ev->status; in extract_twt_btwt_invite_sta_comp_event_tlv()
993 params->dialog_id = ev->dialog_id; in extract_twt_btwt_invite_sta_comp_event_tlv()
1004 *params) in extract_twt_btwt_remove_sta_comp_event_tlv()
1018 params->vdev_id = ev->vdev_id; in extract_twt_btwt_remove_sta_comp_event_tlv()
1020 params->peer_macaddr.bytes); in extract_twt_btwt_remove_sta_comp_event_tlv()
1021 params->status = ev->status; in extract_twt_btwt_remove_sta_comp_event_tlv()
1022 params->dialog_id = ev->dialog_id; in extract_twt_btwt_remove_sta_comp_event_tlv()
1050 *params) in extract_twt_session_stats_event_tlv()
1063 params->pdev_id = wmi_handle->ops->convert_pdev_id_target_to_host( in extract_twt_session_stats_event_tlv()
1066 params->num_sessions = param_buf->num_twt_sessions; in extract_twt_session_stats_event_tlv()
1069 params->pdev_id, params->num_sessions); in extract_twt_session_stats_event_tlv()
1078 *params, in extract_twt_session_stats_event_data()
1229 struct wmi_twt_enable_param *params) in send_twt_enable_cmd_tlv() argument
1250 params->pdev_id); in send_twt_enable_cmd_tlv()
1251 cmd->sta_cong_timer_ms = params->sta_cong_timer_ms; in send_twt_enable_cmd_tlv()
1252 cmd->mbss_support = params->mbss_support; in send_twt_enable_cmd_tlv()
1253 cmd->default_slot_size = params->default_slot_size; in send_twt_enable_cmd_tlv()
1254 cmd->congestion_thresh_setup = params->congestion_thresh_setup; in send_twt_enable_cmd_tlv()
1255 cmd->congestion_thresh_teardown = params->congestion_thresh_teardown; in send_twt_enable_cmd_tlv()
1256 cmd->congestion_thresh_critical = params->congestion_thresh_critical; in send_twt_enable_cmd_tlv()
1258 params->interference_thresh_teardown; in send_twt_enable_cmd_tlv()
1259 cmd->interference_thresh_setup = params->interference_thresh_setup; in send_twt_enable_cmd_tlv()
1260 cmd->min_no_sta_setup = params->min_no_sta_setup; in send_twt_enable_cmd_tlv()
1261 cmd->min_no_sta_teardown = params->min_no_sta_teardown; in send_twt_enable_cmd_tlv()
1262 cmd->no_of_bcast_mcast_slots = params->no_of_bcast_mcast_slots; in send_twt_enable_cmd_tlv()
1263 cmd->min_no_twt_slots = params->min_no_twt_slots; in send_twt_enable_cmd_tlv()
1264 cmd->max_no_sta_twt = params->max_no_sta_twt; in send_twt_enable_cmd_tlv()
1265 cmd->mode_check_interval = params->mode_check_interval; in send_twt_enable_cmd_tlv()
1266 cmd->add_sta_slot_interval = params->add_sta_slot_interval; in send_twt_enable_cmd_tlv()
1267 cmd->remove_sta_slot_interval = params->remove_sta_slot_interval; in send_twt_enable_cmd_tlv()
1269 TWT_EN_DIS_FLAGS_SET_BTWT(cmd->flags, params->b_twt_enable); in send_twt_enable_cmd_tlv()
1270 TWT_EN_DIS_FLAGS_SET_B_R_TWT(cmd->flags, params->r_twt_enable); in send_twt_enable_cmd_tlv()
1272 params->b_twt_legacy_mbss_enable); in send_twt_enable_cmd_tlv()
1274 params->b_twt_ax_mbss_enable); in send_twt_enable_cmd_tlv()
1275 if (params->ext_conf_present) { in send_twt_enable_cmd_tlv()
1277 TWT_EN_DIS_FLAGS_SET_REQ_RESP(cmd->flags, params->twt_role); in send_twt_enable_cmd_tlv()
1278 TWT_EN_DIS_FLAGS_SET_I_B_TWT(cmd->flags, params->twt_oper); in send_twt_enable_cmd_tlv()
1292 struct wmi_twt_disable_param *params) in send_twt_disable_cmd_tlv() argument
1313 params->pdev_id); in send_twt_disable_cmd_tlv()
1314 if (params->ext_conf_present) { in send_twt_disable_cmd_tlv()
1316 TWT_EN_DIS_FLAGS_SET_REQ_RESP(cmd->flags, params->twt_role); in send_twt_disable_cmd_tlv()
1317 TWT_EN_DIS_FLAGS_SET_I_B_TWT(cmd->flags, params->twt_oper); in send_twt_disable_cmd_tlv()
1332 twt_add_dialog_set_bcast_twt_params(struct wmi_twt_add_dialog_param *params, in twt_add_dialog_set_bcast_twt_params() argument
1335 TWT_FLAGS_SET_BTWT_ID0(cmd->flags, params->flag_b_twt_id0); in twt_add_dialog_set_bcast_twt_params()
1336 cmd->b_twt_persistence = params->b_twt_persistence; in twt_add_dialog_set_bcast_twt_params()
1337 cmd->b_twt_recommendation = params->b_twt_recommendation; in twt_add_dialog_set_bcast_twt_params()
1341 twt_add_dialog_set_bcast_twt_params(struct wmi_twt_add_dialog_param *params, in twt_add_dialog_set_bcast_twt_params() argument
1349 struct wmi_twt_add_dialog_param *params) in send_twt_add_dialog_cmd_tlv() argument
1367 cmd->vdev_id = params->vdev_id; in send_twt_add_dialog_cmd_tlv()
1368 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_add_dialog_cmd_tlv()
1369 cmd->dialog_id = params->dialog_id; in send_twt_add_dialog_cmd_tlv()
1370 cmd->wake_intvl_us = params->wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
1371 cmd->wake_intvl_mantis = params->wake_intvl_mantis; in send_twt_add_dialog_cmd_tlv()
1372 cmd->wake_dura_us = params->wake_dura_us; in send_twt_add_dialog_cmd_tlv()
1373 cmd->sp_offset_us = params->sp_offset_us; in send_twt_add_dialog_cmd_tlv()
1374 cmd->min_wake_intvl_us = params->min_wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
1375 cmd->max_wake_intvl_us = params->max_wake_intvl_us; in send_twt_add_dialog_cmd_tlv()
1376 cmd->min_wake_dura_us = params->min_wake_dura_us; in send_twt_add_dialog_cmd_tlv()
1377 cmd->max_wake_dura_us = params->max_wake_dura_us; in send_twt_add_dialog_cmd_tlv()
1378 cmd->sp_start_tsf_lo = (uint32_t)(params->wake_time_tsf & 0xFFFFFFFF); in send_twt_add_dialog_cmd_tlv()
1379 cmd->sp_start_tsf_hi = (uint32_t)(params->wake_time_tsf >> 32); in send_twt_add_dialog_cmd_tlv()
1380 cmd->announce_timeout_us = params->announce_timeout_us; in send_twt_add_dialog_cmd_tlv()
1381 cmd->link_id_bitmap = params->link_id_bitmap; in send_twt_add_dialog_cmd_tlv()
1382 cmd->r_twt_dl_tid_bitmap = params->r_twt_dl_tid_bitmap; in send_twt_add_dialog_cmd_tlv()
1383 cmd->r_twt_ul_tid_bitmap = params->r_twt_ul_tid_bitmap; in send_twt_add_dialog_cmd_tlv()
1384 TWT_FLAGS_SET_CMD(cmd->flags, params->twt_cmd); in send_twt_add_dialog_cmd_tlv()
1385 TWT_FLAGS_SET_BROADCAST(cmd->flags, params->flag_bcast); in send_twt_add_dialog_cmd_tlv()
1386 TWT_FLAGS_SET_TRIGGER(cmd->flags, params->flag_trigger); in send_twt_add_dialog_cmd_tlv()
1387 TWT_FLAGS_SET_FLOW_TYPE(cmd->flags, params->flag_flow_type); in send_twt_add_dialog_cmd_tlv()
1388 TWT_FLAGS_SET_PROTECTION(cmd->flags, params->flag_protection); in send_twt_add_dialog_cmd_tlv()
1390 twt_add_dialog_set_bcast_twt_params(params, cmd); in send_twt_add_dialog_cmd_tlv()
1404 twt_del_dialog_set_bcast_twt_params(struct wmi_twt_del_dialog_param *params, in twt_del_dialog_set_bcast_twt_params() argument
1407 cmd->b_twt_persistence = params->b_twt_persistence; in twt_del_dialog_set_bcast_twt_params()
1411 twt_del_dialog_set_bcast_twt_params(struct wmi_twt_del_dialog_param *params, in twt_del_dialog_set_bcast_twt_params() argument
1419 struct wmi_twt_del_dialog_param *params) in send_twt_del_dialog_cmd_tlv() argument
1437 cmd->vdev_id = params->vdev_id; in send_twt_del_dialog_cmd_tlv()
1438 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_del_dialog_cmd_tlv()
1439 cmd->dialog_id = params->dialog_id; in send_twt_del_dialog_cmd_tlv()
1441 twt_del_dialog_set_bcast_twt_params(params, cmd); in send_twt_del_dialog_cmd_tlv()
1455 struct wmi_twt_pause_dialog_cmd_param *params) in send_twt_pause_dialog_cmd_tlv() argument
1473 cmd->vdev_id = params->vdev_id; in send_twt_pause_dialog_cmd_tlv()
1474 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_pause_dialog_cmd_tlv()
1475 cmd->dialog_id = params->dialog_id; in send_twt_pause_dialog_cmd_tlv()
1489 struct wmi_twt_nudge_dialog_cmd_param *params) in send_twt_nudge_dialog_cmd_tlv() argument
1505 cmd->vdev_id = params->vdev_id; in send_twt_nudge_dialog_cmd_tlv()
1506 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_nudge_dialog_cmd_tlv()
1507 cmd->dialog_id = params->dialog_id; in send_twt_nudge_dialog_cmd_tlv()
1508 cmd->suspend_duration_ms = params->suspend_duration / 1000; in send_twt_nudge_dialog_cmd_tlv()
1509 cmd->next_twt_size = params->next_twt_size; in send_twt_nudge_dialog_cmd_tlv()
1514 QDF_MAC_ADDR_REF(params->peer_macaddr)); in send_twt_nudge_dialog_cmd_tlv()
1525 struct wmi_twt_resume_dialog_cmd_param *params) in send_twt_resume_dialog_cmd_tlv() argument
1543 cmd->vdev_id = params->vdev_id; in send_twt_resume_dialog_cmd_tlv()
1544 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_resume_dialog_cmd_tlv()
1545 cmd->dialog_id = params->dialog_id; in send_twt_resume_dialog_cmd_tlv()
1546 cmd->sp_offset_us = params->sp_offset_us; in send_twt_resume_dialog_cmd_tlv()
1547 cmd->next_twt_size = params->next_twt_size; in send_twt_resume_dialog_cmd_tlv()
1563 *params) in send_twt_btwt_invite_sta_cmd_tlv()
1581 cmd->vdev_id = params->vdev_id; in send_twt_btwt_invite_sta_cmd_tlv()
1582 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_btwt_invite_sta_cmd_tlv()
1583 cmd->dialog_id = params->dialog_id; in send_twt_btwt_invite_sta_cmd_tlv()
1597 *params) in send_twt_btwt_remove_sta_cmd_tlv()
1615 cmd->vdev_id = params->vdev_id; in send_twt_btwt_remove_sta_cmd_tlv()
1616 WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->peer_macaddr); in send_twt_btwt_remove_sta_cmd_tlv()
1617 cmd->dialog_id = params->dialog_id; in send_twt_btwt_remove_sta_cmd_tlv()
1631 struct wmi_twt_enable_complete_event_param *params) in extract_twt_enable_comp_event_tlv() argument
1644 params->pdev_id = in extract_twt_enable_comp_event_tlv()
1647 params->status = ev->status; in extract_twt_enable_comp_event_tlv()
1654 struct wmi_twt_disable_complete_event *params) in extract_twt_disable_comp_event_tlv() argument
1668 params->pdev_id = in extract_twt_disable_comp_event_tlv()
1671 params->status = ev->status; in extract_twt_disable_comp_event_tlv()
1730 struct wmi_twt_add_dialog_complete_event_param *params) in extract_twt_add_dialog_comp_event_tlv() argument
1743 params->vdev_id = ev->vdev_id; in extract_twt_add_dialog_comp_event_tlv()
1744 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_add_dialog_comp_event_tlv()
1745 params->status = wmi_get_converted_twt_add_dialog_status(ev->status); in extract_twt_add_dialog_comp_event_tlv()
1746 params->dialog_id = ev->dialog_id; in extract_twt_add_dialog_comp_event_tlv()
1747 params->num_additional_twt_params = param_buf->num_twt_params; in extract_twt_add_dialog_comp_event_tlv()
1868 struct wmi_twt_del_dialog_complete_event_param *params) in extract_twt_del_dialog_comp_event_tlv() argument
1881 params->vdev_id = ev->vdev_id; in extract_twt_del_dialog_comp_event_tlv()
1882 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_del_dialog_comp_event_tlv()
1883 params->dialog_id = ev->dialog_id; in extract_twt_del_dialog_comp_event_tlv()
1884 params->status = wmi_get_converted_twt_del_dialog_status(ev->status); in extract_twt_del_dialog_comp_event_tlv()
1923 struct wmi_twt_pause_dialog_complete_event_param *params) in extract_twt_pause_dialog_comp_event_tlv() argument
1936 params->vdev_id = ev->vdev_id; in extract_twt_pause_dialog_comp_event_tlv()
1937 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_pause_dialog_comp_event_tlv()
1938 params->status = wmi_twt_pause_status_to_host_twt_status(ev->status); in extract_twt_pause_dialog_comp_event_tlv()
1939 params->dialog_id = ev->dialog_id; in extract_twt_pause_dialog_comp_event_tlv()
1978 struct wmi_twt_nudge_dialog_complete_event_param *params) in extract_twt_nudge_dialog_comp_event_tlv() argument
1991 params->vdev_id = ev->vdev_id; in extract_twt_nudge_dialog_comp_event_tlv()
1992 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_nudge_dialog_comp_event_tlv()
1993 params->status = wmi_twt_nudge_status_to_host_twt_status(ev->status); in extract_twt_nudge_dialog_comp_event_tlv()
1994 params->dialog_id = ev->dialog_id; in extract_twt_nudge_dialog_comp_event_tlv()
1995 params->next_twt_tsf_us_lo = ev->sp_tsf_us_lo; in extract_twt_nudge_dialog_comp_event_tlv()
1996 params->next_twt_tsf_us_hi = ev->sp_tsf_us_hi; in extract_twt_nudge_dialog_comp_event_tlv()
1999 params->vdev_id, params->dialog_id, in extract_twt_nudge_dialog_comp_event_tlv()
2000 params->next_twt_tsf_us_hi, params->next_twt_tsf_us_lo); in extract_twt_nudge_dialog_comp_event_tlv()
2037 struct wmi_twt_resume_dialog_complete_event_param *params) in extract_twt_resume_dialog_comp_event_tlv() argument
2051 params->vdev_id = ev->vdev_id; in extract_twt_resume_dialog_comp_event_tlv()
2052 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_resume_dialog_comp_event_tlv()
2053 params->status = wmi_get_converted_twt_resume_dialog_status(ev->status); in extract_twt_resume_dialog_comp_event_tlv()
2054 params->dialog_id = ev->dialog_id; in extract_twt_resume_dialog_comp_event_tlv()
2062 struct wmi_twt_notify_event_param *params) in extract_twt_notify_event_tlv() argument
2076 params->vdev_id = ev->vdev_id; in extract_twt_notify_event_tlv()
2088 *params) in extract_twt_btwt_invite_sta_comp_event_tlv()
2102 params->vdev_id = ev->vdev_id; in extract_twt_btwt_invite_sta_comp_event_tlv()
2103 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_btwt_invite_sta_comp_event_tlv()
2104 params->status = ev->status; in extract_twt_btwt_invite_sta_comp_event_tlv()
2105 params->dialog_id = ev->dialog_id; in extract_twt_btwt_invite_sta_comp_event_tlv()
2116 *params) in extract_twt_btwt_remove_sta_comp_event_tlv()
2130 params->vdev_id = ev->vdev_id; in extract_twt_btwt_remove_sta_comp_event_tlv()
2131 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->peer_macaddr, params->peer_macaddr); in extract_twt_btwt_remove_sta_comp_event_tlv()
2132 params->status = ev->status; in extract_twt_btwt_remove_sta_comp_event_tlv()
2133 params->dialog_id = ev->dialog_id; in extract_twt_btwt_remove_sta_comp_event_tlv()
2161 *params) in extract_twt_session_stats_event_tlv()
2174 params->pdev_id = wmi_handle->ops->convert_pdev_id_target_to_host( in extract_twt_session_stats_event_tlv()
2177 params->num_sessions = param_buf->num_twt_sessions; in extract_twt_session_stats_event_tlv()
2180 params->pdev_id, params->num_sessions); in extract_twt_session_stats_event_tlv()
2189 *params, in extract_twt_session_stats_event_data()