Commit e7a6ba29 authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Luciano Coelho

wlcore: allow up to 3 running STA interfaces in combinations

This allows us to have a p2p-management interface (in STA mode),
as we as a group dedicated interface.
Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
Signed-off-by: default avatarLuciano Coelho <luca@coelho.fi>
parent 889300fa
...@@ -5180,7 +5180,7 @@ static void wl1271_unregister_hw(struct wl1271 *wl) ...@@ -5180,7 +5180,7 @@ static void wl1271_unregister_hw(struct wl1271 *wl)
static const struct ieee80211_iface_limit wlcore_iface_limits[] = { static const struct ieee80211_iface_limit wlcore_iface_limits[] = {
{ {
.max = 2, .max = 3,
.types = BIT(NL80211_IFTYPE_STATION), .types = BIT(NL80211_IFTYPE_STATION),
}, },
{ {
...@@ -5195,7 +5195,7 @@ static const struct ieee80211_iface_combination ...@@ -5195,7 +5195,7 @@ static const struct ieee80211_iface_combination
wlcore_iface_combinations[] = { wlcore_iface_combinations[] = {
{ {
.num_different_channels = 1, .num_different_channels = 1,
.max_interfaces = 2, .max_interfaces = 3,
.limits = wlcore_iface_limits, .limits = wlcore_iface_limits,
.n_limits = ARRAY_SIZE(wlcore_iface_limits), .n_limits = ARRAY_SIZE(wlcore_iface_limits),
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment