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 <quic_ainykuma@quicinc.com>
This commit is contained in:
Ainy Kumari 2023-05-25 16:49:14 +05:30 committed by Jouni Malinen
parent df2f22faf9
commit fc681995cf

View file

@ -21,7 +21,7 @@
#include "driver_nl80211.h" #include "driver_nl80211.h"
#define MAX_NL80211_NOISE_FREQS 50 #define MAX_NL80211_NOISE_FREQS 100
struct nl80211_noise_info { struct nl80211_noise_info {
u32 freq[MAX_NL80211_NOISE_FREQS]; u32 freq[MAX_NL80211_NOISE_FREQS];