|
@@ -308,7 +308,7 @@ QDF_STATUS policy_mgr_update_connection_info(struct wlan_objmgr_psoc *psoc,
|
|
|
policy_mgr_get_bw(conn_table_entry.chan_width),
|
|
|
conn_table_entry.mac_id,
|
|
|
chain_mask,
|
|
|
- nss, vdev_id, true);
|
|
|
+ nss, vdev_id, true, true);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
@@ -1531,7 +1531,7 @@ QDF_STATUS policy_mgr_update_connection_info_utfw(
|
|
|
policy_mgr_update_conc_list(psoc, conn_index,
|
|
|
policy_mgr_get_mode(type, sub_type),
|
|
|
channelid, HW_MODE_20_MHZ,
|
|
|
- mac_id, chain_mask, 0, vdev_id, true);
|
|
|
+ mac_id, chain_mask, 0, vdev_id, true, true);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
@@ -1543,6 +1543,8 @@ QDF_STATUS policy_mgr_incr_connection_count_utfw(struct wlan_objmgr_psoc *psoc,
|
|
|
{
|
|
|
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
|
|
uint32_t conn_index = 0;
|
|
|
+ bool update_conn = true;
|
|
|
+ enum policy_mgr_con_mode mode;
|
|
|
|
|
|
conn_index = policy_mgr_get_connection_count(psoc);
|
|
|
if (MAX_NUMBER_OF_CONC_CONNECTIONS <= conn_index) {
|
|
@@ -1553,10 +1555,15 @@ QDF_STATUS policy_mgr_incr_connection_count_utfw(struct wlan_objmgr_psoc *psoc,
|
|
|
}
|
|
|
policy_mgr_debug("--> filling entry at index[%d]", conn_index);
|
|
|
|
|
|
+ mode = policy_mgr_get_mode(type, sub_type);
|
|
|
+ if (mode == PM_STA_MODE || mode == PM_P2P_CLIENT_MODE)
|
|
|
+ update_conn = false;
|
|
|
+
|
|
|
policy_mgr_update_conc_list(psoc, conn_index,
|
|
|
- policy_mgr_get_mode(type, sub_type),
|
|
|
+ mode,
|
|
|
channelid, HW_MODE_20_MHZ,
|
|
|
- mac_id, chain_mask, 0, vdev_id, true);
|
|
|
+ mac_id, chain_mask, 0, vdev_id, true,
|
|
|
+ update_conn);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|