qcacmn: Define QDF_MAX_CONCURRENCY_PERSONA based on WLAN_MAX_VDEVS
Currently, QDF_MAX_CONCURRENCY_PERSONA allows a maximum of 4 MAC addresses to be assigned to different interfaces. NAN discovery interface is a new interface and it needs a MAC address to be assigned. QDF_MAX_CONCURRENCY_PERSONA needs to be increased to 5 to provide the same. WLAN_MAX_VDEVS defined in Kbuild already takes care of the maximum no.of vdevs(6) supported. QDF_MAX_CONCURRENCY_PERSONA can be made dependent of WLAN_MAX_VDEVS which caters the same purpose. Define QDF_MAX_CONCURRENCY_PERSONA accordingly. Change-Id: If5085703ab9c0cc70ce4fc0d20bedc20f382b4bd CRs-Fixed: 2592018
This commit is contained in:

committad av
nshrivas

förälder
88f39efbd9
incheckning
5567f874e7
@@ -689,9 +689,9 @@ enum QDF_GLOBAL_MODE {
|
||||
|
||||
#ifdef WLAN_OPEN_P2P_INTERFACE
|
||||
/* This should match with WLAN_MAX_INTERFACES */
|
||||
#define QDF_MAX_CONCURRENCY_PERSONA (4)
|
||||
#define QDF_MAX_CONCURRENCY_PERSONA (WLAN_MAX_VDEVS)
|
||||
#else
|
||||
#define QDF_MAX_CONCURRENCY_PERSONA (3)
|
||||
#define QDF_MAX_CONCURRENCY_PERSONA (WLAN_MAX_VDEVS - 1)
|
||||
#endif
|
||||
|
||||
#define QDF_STA_MASK (1 << QDF_STA_MODE)
|
||||
|
Referens i nytt ärende
Block a user