diff --git a/drivers/wireless/ieee80211/bcm43xxx/Kconfig b/drivers/wireless/ieee80211/bcm43xxx/Kconfig index d79a954cfe..d57b0e3c4c 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/Kconfig +++ b/drivers/wireless/ieee80211/bcm43xxx/Kconfig @@ -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 diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c index d573cfef5a..cb3aacbe0a 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c @@ -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