1
0

qcacmn: Increase the macros for 4 LINK MLO case

In case of 4 LINK MLO we have link index as 0, 1, 2 and 3
so increase the MLD_MAX_LINKS to accommodate all links.

Also MAX RNR_BSS supported in 16vap 16 MLD across N links will
increase as:

For N(4 LINK) link MLO, Max RNR BSS will be given:
16(N_6G_LINKS) + N - (N_6G_LINKS) - 1(SELF_LINK) = 16*2 + N-2-1 = 33

Change-Id: If2e1755b8b99e83d8fe391220183921a70be61f5
CRs-Fixed: 3408516
Este cometimento está contido em:
Uraj Sasan
2023-02-16 14:41:18 +05:30
cometido por Madan Koyyalamudi
ascendente 2c76bff9c5
cometimento 25ad461a3c

Ver ficheiro

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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
@@ -39,7 +39,11 @@ typedef uint32_t wlan_scan_id;
#define WLAN_SCAN_MAX_HINT_S_SSID 10
#define WLAN_SCAN_MAX_HINT_BSSID 10
#define MAX_RNR_BSS 16
/*
* For N(4 LINK) link MLO, Max RNR BSS will be given:
* 16(N_6G_LINKS) + N - (N_6G_LINKS) - 1(SELF_LINK) = 16*2 + N-2-1 = 33
*/
#define MAX_RNR_BSS 33
#define WLAN_SCAN_MAX_NUM_SSID 16
#define WLAN_SCAN_MAX_NUM_BSSID 4
@@ -500,7 +504,7 @@ struct reduced_neighbor_report {
#define SCAN_SECURITY_TYPE_RSN 0x08
#ifdef WLAN_FEATURE_11BE_MLO
#define MLD_MAX_LINKS 3
#define MLD_MAX_LINKS 4
/**
* struct partner_link_info: Partner link information of an ML