Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79f241b4 authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Johannes Berg
Browse files

nl80211: increase the max number of rules in regdomain



Some network cards (Intel) produce per-channel regdomains and rely on
cfg80211 to merge rules as needed. This hits the max rules limit and
fails.

Signed-off-by: default avatarArik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 93a1e86c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2112,7 +2112,7 @@ enum nl80211_attrs {

#define NL80211_MAX_SUPP_RATES			32
#define NL80211_MAX_SUPP_HT_RATES		77
#define NL80211_MAX_SUPP_REG_RULES		32
#define NL80211_MAX_SUPP_REG_RULES		64
#define NL80211_TKIP_DATA_OFFSET_ENCR_KEY	0
#define NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY	16
#define NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY	24