qcacmn: Configure TWT pdev count dynamically

Configure TWT pdev count based on number of active radios.

Change-Id: I8b297c2f2398774a57932bd1fafc83aba2f891d2
CRs-Fixed: 2449799
This commit is contained in:
Subrat Mishra
2019-05-22 15:35:50 +05:30
committed by nshrivas
부모 23fbb8796b
커밋 13d57c69d2
2개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -288,6 +288,8 @@ static int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
target_if_qwrap_cfg_enable(psoc, tgt_hdl, event);
target_if_set_twt_ap_pdev_count(info, tgt_hdl);
info->wlan_res_cfg.num_vdevs = (target_psoc_get_num_radios(tgt_hdl) *
info->wlan_res_cfg.num_vdevs);
info->wlan_res_cfg.beacon_tx_offload_max_vdev =