qcacmn: Check for MAX_AST entries when adding AST entry
check for max_ast entries supported by FW and add the entry on host accordingly. Change-Id: Ief70ba631bb41d50c79d3673e3eea0c45b0c1e19 CRs-Fixed: 2355947
This commit is contained in:

committed by
nshrivas

parent
9ff4c54c25
commit
a702362d34
@@ -93,7 +93,7 @@ dp_rx_populate_cdp_indication_ppdu(struct dp_pdev *pdev,
|
||||
cdp_rx_ppdu->lsig_a = ppdu_info->rx_status.rate;
|
||||
|
||||
ast_index = ppdu_info->rx_status.ast_index;
|
||||
if (ast_index >= (WLAN_UMAC_PSOC_MAX_PEERS * 2)) {
|
||||
if (ast_index >= wlan_cfg_get_max_ast_idx(soc->wlan_cfg_ctx)) {
|
||||
cdp_rx_ppdu->peer_id = HTT_INVALID_PEER;
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user