qcacmn: Add max simult links in peer_assoc_params
Add 'max_simultaneous_links' in peer_assoc_params and send it to FW via peer_assoc_add_mld_params. Change-Id: Ie4c3492cf03ef43e1bb02122019cda3679fb5f3a CRs-Fixed: 3476565
This commit is contained in:

committed by
Rahul Choudhary

parent
8a4a8722b0
commit
4f5c422aa4
@@ -642,6 +642,7 @@ struct wlan_mlo_mld_cap {
|
|||||||
* @mlpeer_msdcap: Medium Sync Delay capability information for ML peer
|
* @mlpeer_msdcap: Medium Sync Delay capability information for ML peer
|
||||||
* @is_mesh_ml_peer: flag to indicate if ml_peer is MESH configured
|
* @is_mesh_ml_peer: flag to indicate if ml_peer is MESH configured
|
||||||
* @mesh_config: eack link peer's MESH configuration
|
* @mesh_config: eack link peer's MESH configuration
|
||||||
|
* @mlpeer_mldcap: MLD Capability information for ML peer
|
||||||
*/
|
*/
|
||||||
struct wlan_mlo_peer_context {
|
struct wlan_mlo_peer_context {
|
||||||
qdf_list_node_t peer_node;
|
qdf_list_node_t peer_node;
|
||||||
@@ -681,6 +682,7 @@ struct wlan_mlo_peer_context {
|
|||||||
bool is_mesh_ml_peer;
|
bool is_mesh_ml_peer;
|
||||||
struct mlnawds_config mesh_config[MAX_MLO_LINK_PEERS];
|
struct mlnawds_config mesh_config[MAX_MLO_LINK_PEERS];
|
||||||
#endif
|
#endif
|
||||||
|
struct wlan_mlo_mld_cap mlpeer_mldcap;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1229,6 +1229,8 @@ struct wmi_host_link_state_params {
|
|||||||
* @medium_sync_duration: medium sync duration in us
|
* @medium_sync_duration: medium sync duration in us
|
||||||
* @medium_sync_ofdm_ed_thresh: medium sync ofdm threshold in us
|
* @medium_sync_ofdm_ed_thresh: medium sync ofdm threshold in us
|
||||||
* @medium_sync_max_txop_num: Max number of TXOPs
|
* @medium_sync_max_txop_num: Max number of TXOPs
|
||||||
|
* @max_num_simultaneous_links: Max number of simultaneous links as per
|
||||||
|
* MLD Capability for ML peer
|
||||||
*/
|
*/
|
||||||
struct peer_assoc_mlo_params {
|
struct peer_assoc_mlo_params {
|
||||||
uint32_t mlo_enabled:1,
|
uint32_t mlo_enabled:1,
|
||||||
@@ -1252,6 +1254,7 @@ struct peer_assoc_mlo_params {
|
|||||||
uint16_t medium_sync_duration;
|
uint16_t medium_sync_duration;
|
||||||
uint16_t medium_sync_ofdm_ed_thresh;
|
uint16_t medium_sync_ofdm_ed_thresh;
|
||||||
uint16_t medium_sync_max_txop_num;
|
uint16_t medium_sync_max_txop_num;
|
||||||
|
uint16_t max_num_simultaneous_links;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -296,6 +296,9 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
|
|||||||
mlo_params->msd_max_num_txops =
|
mlo_params->msd_max_num_txops =
|
||||||
req->mlo_params.medium_sync_max_txop_num;
|
req->mlo_params.medium_sync_max_txop_num;
|
||||||
|
|
||||||
|
mlo_params->max_num_simultaneous_links =
|
||||||
|
req->mlo_params.max_num_simultaneous_links;
|
||||||
|
|
||||||
return buf_ptr + sizeof(wmi_peer_assoc_mlo_params);
|
return buf_ptr + sizeof(wmi_peer_assoc_mlo_params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user