qcacmn: T2LM timer changes
Currently the T2LM timer is maintained by host. Code change made to add support to run the T2LM timer in FW. CRs-Fixed: 3594141 Change-Id: I7eee4800f68b07d5492a0336e3fe8e0db17d2020
这个提交包含在:
@@ -1153,6 +1153,8 @@ struct wlan_host_t2lm_of_tids {
|
||||
* @peer_macaddr: link peer macaddr
|
||||
* @num_dir: number of directions for which T2LM info is available
|
||||
* @t2lm_info: TID-to-link mapping info for the given directions
|
||||
* @mapping_switch_time: Mapping switch time of this T2LM IE
|
||||
* @expected_duration: Expected duration of this T2LM IE
|
||||
* @preferred_links: Preferred link info.
|
||||
*/
|
||||
struct wmi_host_tid_to_link_map_params {
|
||||
@@ -1160,6 +1162,8 @@ struct wmi_host_tid_to_link_map_params {
|
||||
uint8_t peer_macaddr[QDF_MAC_ADDR_SIZE];
|
||||
uint8_t num_dir;
|
||||
struct wlan_host_t2lm_of_tids t2lm_info[WLAN_T2LM_MAX_DIRECTION];
|
||||
uint16_t mapping_switch_time;
|
||||
uint32_t expected_duration;
|
||||
#ifdef WMI_AP_SUPPORT
|
||||
struct wlan_host_preferred_links preferred_links;
|
||||
#endif
|
||||
|
@@ -1409,6 +1409,12 @@ static uint8_t *populate_link_control_tlv(
|
||||
|
||||
return buf_ptr;
|
||||
}
|
||||
|
||||
static void
|
||||
populate_fill_t2lm_timer_tlv(wmi_peer_tid_to_link_map_fixed_param *cmd,
|
||||
struct wmi_host_tid_to_link_map_params *params)
|
||||
{
|
||||
}
|
||||
#else
|
||||
static uint32_t find_buf_len_pref_link(
|
||||
struct wmi_host_tid_to_link_map_params *params,
|
||||
@@ -1428,6 +1434,14 @@ static uint8_t *populate_link_control_tlv(
|
||||
{
|
||||
return buf_ptr;
|
||||
}
|
||||
|
||||
static void
|
||||
populate_fill_t2lm_timer_tlv(wmi_peer_tid_to_link_map_fixed_param *cmd,
|
||||
struct wmi_host_tid_to_link_map_params *params)
|
||||
{
|
||||
cmd->mapping_switch_time = params->mapping_switch_time;
|
||||
cmd->expected_duration = params->expected_duration;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
|
||||
@@ -1647,6 +1661,7 @@ static QDF_STATUS send_mlo_peer_tid_to_link_map_cmd_tlv(
|
||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(params->peer_macaddr, &cmd->link_macaddr);
|
||||
|
||||
buf_ptr += sizeof(wmi_peer_tid_to_link_map_fixed_param);
|
||||
populate_fill_t2lm_timer_tlv(cmd, params);
|
||||
|
||||
if (t2lm_info) {
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC,
|
||||
|
在新工单中引用
屏蔽一个用户