wireless/bcm43xxx: configurable buffer size of escan result

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-06-16 21:34:05 +08:00 committed by Xiang Xiao
parent 29dd12283c
commit e2c154dffe
2 changed files with 7 additions and 1 deletions

View File

@ -125,6 +125,12 @@ config IEEE80211_BROADCOM_SCHED_PRIORITY
This parameter should be set the bcmf daemon thread
schedule priority
config IEEE80211_BROADCOM_SCAN_RESULT_SIZE
int "Broadcom BCMF escan result size"
default 1024
---help---
This parameter should be set the bcmf escan result buffer size
if IEEE80211_BROADCOM_FULLMAC
config IEEE80211_BROADCOM_NINTERFACES

View File

@ -56,7 +56,7 @@
#define DOT11_BSSTYPE_ANY 2
#define BCMF_SCAN_TIMEOUT_TICK (5*CLOCKS_PER_SEC)
#define BCMF_AUTH_TIMEOUT_MS 20000 /* was 10000 */
#define BCMF_SCAN_RESULT_SIZE 1024
#define BCMF_SCAN_RESULT_SIZE CONFIG_IEEE80211_BROADCOM_SCAN_RESULT_SIZE
/* CLM file is cut into pieces of MAX_CHUNK_LEN.
* It is relatively small because dongles (FW) have a small maximum size