From: Ainy Kumari Date: Thu, 25 May 2023 11:19:14 +0000 (+0530) Subject: Increase MAX_NL80211_NOISE_FREQS in survey dump handler for 6 GHz X-Git-Tag: hostap_2_11~1165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc681995cf95ba93021a32364ddac6b1d2d21689;p=thirdparty%2Fhostap.git Increase MAX_NL80211_NOISE_FREQS in survey dump handler for 6 GHz The current value of 50 is not sufficient for getting survey info for all the frequencies when the 6 GHz band is enabled. Increase the limit to 100 to be able to receive survey info for 6 GHz frequencies also. Signed-off-by: Ainy Kumari --- diff --git a/src/drivers/driver_nl80211_scan.c b/src/drivers/driver_nl80211_scan.c index 7a7890c71..4d33b149d 100644 --- a/src/drivers/driver_nl80211_scan.c +++ b/src/drivers/driver_nl80211_scan.c @@ -21,7 +21,7 @@ #include "driver_nl80211.h" -#define MAX_NL80211_NOISE_FREQS 50 +#define MAX_NL80211_NOISE_FREQS 100 struct nl80211_noise_info { u32 freq[MAX_NL80211_NOISE_FREQS];