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:

gecommit door
nshrivas

bovenliggende
9ff4c54c25
commit
a702362d34
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -411,7 +411,17 @@ void wlan_cfg_set_num_contexts(struct wlan_cfg_dp_soc_ctxt *cfg, int num)
|
||||
|
||||
void wlan_cfg_set_max_peer_id(struct wlan_cfg_dp_soc_ctxt *cfg, uint32_t val)
|
||||
{
|
||||
cfg->max_peer_id = val;;
|
||||
cfg->max_peer_id = val;
|
||||
}
|
||||
|
||||
void wlan_cfg_set_max_ast_idx(struct wlan_cfg_dp_soc_ctxt *cfg, uint32_t val)
|
||||
{
|
||||
cfg->max_ast_idx = val;
|
||||
}
|
||||
|
||||
int wlan_cfg_get_max_ast_idx(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->max_ast_idx;
|
||||
}
|
||||
|
||||
void wlan_cfg_set_tx_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
|
Verwijs in nieuw issue
Block a user