qcacmn: Increase num_peers to include bss_peers

bss peer are used for each vdev. Include this count also in the num_peer
count sent to FW.

Change-Id: I71c4858ebe416a644f9e100a8d28ac1fd7989757
CRs-Fixed: 2233009
This commit is contained in:
Kiran Venkatappa
2018-05-01 20:53:43 +05:30
committed by nshrivas
parent 3370ea52d1
commit 7095e2e883
2 changed files with 2 additions and 2 deletions

View File

@@ -355,7 +355,7 @@ static int init_deinit_ready_event_handler(ol_scn_t scn_handle,
/* FW allocated number of peers is different than host /* FW allocated number of peers is different than host
* requested. Update host max with FW reported value. * requested. Update host max with FW reported value.
*/ */
target_if_info("Host Requested %d peers. FW Supports %d peers", target_if_err("Host Requested %d peers. FW Supports %d peers",
info->wlan_res_cfg.num_peers, info->wlan_res_cfg.num_peers,
ready_ev.num_total_peer); ready_ev.num_total_peer);
info->wlan_res_cfg.num_peers = ready_ev.num_total_peer; info->wlan_res_cfg.num_peers = ready_ev.num_total_peer;

View File

@@ -33,7 +33,7 @@
/* Max no. of VDEVs, a PDEV can support */ /* Max no. of VDEVs, a PDEV can support */
#define WLAN_UMAC_PDEV_MAX_VDEVS 17 #define WLAN_UMAC_PDEV_MAX_VDEVS 17
/* Max no. of Peers, a device can support */ /* Max no. of Peers, a device can support */
#define WLAN_UMAC_PSOC_MAX_PEERS 1024 #define WLAN_UMAC_PSOC_MAX_PEERS (1024 + WLAN_UMAC_PSOC_MAX_VDEVS)
/* Max length of a SSID */ /* Max length of a SSID */
#define WLAN_SSID_MAX_LEN 32 #define WLAN_SSID_MAX_LEN 32