qcacmn: changes to enable peer map V2 messaging
Host changes to enable HTT version 2 messaging for PEER map and unmap in FW and changes to handle these messages in host Change-Id: Ifbe478212bbbc9c9ea1c1e4791c7a78407c376cc
This commit is contained in:

committato da
nshrivas

parent
1e838726f1
commit
3e93e5f8ae
@@ -320,6 +320,7 @@ static int init_deinit_ready_event_handler(ol_scn_t scn_handle,
|
||||
wmi_legacy_service_ready_callback legacy_callback;
|
||||
uint8_t num_radios, i;
|
||||
uint32_t max_peers;
|
||||
target_resource_config *tgt_cfg;
|
||||
|
||||
if (!scn_handle) {
|
||||
target_if_err("scn handle NULL");
|
||||
@@ -374,10 +375,11 @@ static int init_deinit_ready_event_handler(ol_scn_t scn_handle,
|
||||
* allocate peer memory in this case
|
||||
*/
|
||||
if (ready_ev.num_total_peer != 0) {
|
||||
max_peers = info->wlan_res_cfg.num_peers +
|
||||
ready_ev.num_extra_peer + 1;
|
||||
tgt_cfg = &info->wlan_res_cfg;
|
||||
max_peers = tgt_cfg->num_peers + ready_ev.num_extra_peer + 1;
|
||||
|
||||
cdp_peer_map_attach(wlan_psoc_get_dp_handle(psoc), max_peers);
|
||||
cdp_peer_map_attach(wlan_psoc_get_dp_handle(psoc), max_peers,
|
||||
tgt_cfg->peer_map_unmap_v2);
|
||||
}
|
||||
|
||||
/* Indicate to the waiting thread that the ready
|
||||
|
Fai riferimento in un nuovo problema
Block a user