]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: select an AID when creating new mesh STAs
authorBob Copeland <me@bobcopeland.com>
Tue, 14 Jul 2015 12:31:59 +0000 (08:31 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:47:58 +0000 (15:47 +0200)
commit7411b32ba97ef16cded47f42393dfaf6a18ddfe5
treefbe2ed18adcd104851994f59e56c299b1935bf08
parentfd8d1f6970cbc591802525a97eb5465f59f8c66c
mac80211: select an AID when creating new mesh STAs

Instead of using peer link id for AID, generate a new
AID when creating mesh STAs in the kernel peering manager.
This enables smaller TIM elements and more closely follows
the standard, and it also enables mesh to work on drivers
that require a valid AID when the STA is inserted (ath10k
firmware has this requirement, for example).

In the case of userspace-managed stations, we use the AID
from NL80211_CMD_NEW_STATION.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c