qcacmn: Header file change to support MLO-RNR requirement
1. MLO requires a tbtt_info length of 16 octets. To support 16 MLDs, it requires to extend the current global_rnr cache accommodating this new requirement in 11be MLO context. Redefine MAX_RNR_SIZE accordingly. 2. Currently, scan-module is considering only upto 5 reported APs in a RNR element. This will be ok pre-11be as the RNR info is not used for connection. RNR info is required for link to vdev matching for MLO based connection starting 11be. So, the limit specified by MAX_RNR_BSS needs to be extended to be able to parse upto 16 tbtt_infos from the RNR elements present in beacon or probe-response. Some APs can advertise upto 16 co- MLDs when 6Ghz link is involved in those MLDs. CRs-Fixed: 3191537 Change-Id: Iff532f7ea4f0ebf21947e24edbfa1f28d2d92af3
Этот коммит содержится в:

коммит произвёл
Madan Koyyalamudi

родитель
b9b4ef40c2
Коммит
f00cc9f71a
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 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 above
|
||||
@@ -27,8 +28,11 @@
|
||||
#ifdef FEATURE_VDEV_OPS_WAKELOCK
|
||||
#include <target_if_psoc_wake_lock.h>
|
||||
#endif
|
||||
|
||||
/* Max RNR size given max vaps are 16 */
|
||||
#define MAX_RNR_SIZE 256
|
||||
#define MAX_RNR_SIZE (16 * 16 /* 11be compatible tbtt_info length */ \
|
||||
+ 4 /* Neighbor AP info field length */ \
|
||||
+ 2 /* RNR header bytes */)
|
||||
|
||||
/**
|
||||
* struct wlan_rnr_global_cache - RNR cache buffer per soc
|
||||
|
@@ -36,7 +36,7 @@ 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 5
|
||||
#define MAX_RNR_BSS 16
|
||||
#define WLAN_SCAN_MAX_NUM_SSID 16
|
||||
#define WLAN_SCAN_MAX_NUM_BSSID 4
|
||||
|
||||
|
Ссылка в новой задаче
Block a user