Skip to content

Commit

Permalink
increase number of configurable virtual interfaces
Browse files Browse the repository at this point in the history
Testing with AR9271 USB device I was able to start 8 VAPs, but one client device could connect only if 7 VAPs were configured. This might need more work to make the feature fully usable, but even at present situation it enables functionality that was previously disabled.
Updated ath9k_htc firmware is required too, PR already opened: qca/open-ath9k-htc-firmware#149

Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
  • Loading branch information
psyborg55 authored Jul 30, 2018
1 parent 54a11b3 commit 8707dba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/ath/ath9k/htc_drv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,9 +697,9 @@ static int ath9k_init_priv(struct ath9k_htc_priv *priv,
}

static const struct ieee80211_iface_limit if_limits[] = {
{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
{ .max = 8, .types = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_P2P_CLIENT) },
{ .max = 2, .types = BIT(NL80211_IFTYPE_AP) |
{ .max = 8, .types = BIT(NL80211_IFTYPE_AP) |
#ifdef CONFIG_MAC80211_MESH
BIT(NL80211_IFTYPE_MESH_POINT) |
#endif
Expand All @@ -709,7 +709,7 @@ static const struct ieee80211_iface_limit if_limits[] = {
static const struct ieee80211_iface_combination if_comb = {
.limits = if_limits,
.n_limits = ARRAY_SIZE(if_limits),
.max_interfaces = 2,
.max_interfaces = 8,
.num_different_channels = 1,
};

Expand Down

0 comments on commit 8707dba

Please sign in to comment.