]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Increase MAX_NL80211_NOISE_FREQS in survey dump handler for 6 GHz
authorAiny Kumari <quic_ainykuma@quicinc.com>
Thu, 25 May 2023 11:19:14 +0000 (16:49 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 25 May 2023 15:58:20 +0000 (18:58 +0300)
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 <quic_ainykuma@quicinc.com>
src/drivers/driver_nl80211_scan.c

index 7a7890c71e8fa8d76a88acc730f85a25a3d9bb1c..4d33b149d0ca7e44cdf29dbd6913caf4184835a6 100644 (file)
@@ -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];