]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Increase number of channels per operating class
authorVamsi Krishna <vamsin@codeaurora.org>
Wed, 12 Feb 2020 09:51:21 +0000 (15:21 +0530)
committerJouni Malinen <jouni@codeaurora.org>
Wed, 12 Feb 2020 21:17:24 +0000 (23:17 +0200)
Some of the operating classes added in the 6 GHz band have a larger
number of channels included in them (e.g., operating class 131 has 59
channels). Increase the maximum number of channels per operating class
so that all channels will get populated.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/p2p/p2p.h

index 79de09cefc7fa621ae191a0a380adb106ddf28f2..2dae6c6ecdec0636deb892a4e39dfd5fe051ad42 100644 (file)
@@ -36,7 +36,7 @@
 /**
  * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class
  */
-#define P2P_MAX_REG_CLASS_CHANNELS 20
+#define P2P_MAX_REG_CLASS_CHANNELS 60
 
 /**
  * struct p2p_channels - List of supported channels