This patchset corrects the use of peer link id as a stand-in for the association ID, which is at odds with the standard. Using an incremental AID generated on the local sta whenever a peer is added enables smaller TIM elements, and removes one possible source of ambiguity when plids collide. Using a proper aid also will make it easier to implement mesh on ath10k. Because mac80211 currently only implements the buffering side of mesh power save, we don't need to change any code that reads the AID from confirm frames. Which is good because it was previously always wrong. v2: dynamically create the bitmap on demand rather than maintain it Bob Copeland (3): mac80211: reorder mesh_plink to remove forward decl mac80211: mesh: separate plid and aid concepts mac80211: select an AID when creating new mesh STAs net/mac80211/cfg.c | 3 + net/mac80211/ieee80211_i.h | 1 + net/mac80211/mesh.c | 7 +++ net/mac80211/mesh_plink.c | 147 +++++++++++++++++++++++++-------------------- net/mac80211/sta_info.c | 5 +- 5 files changed, 94 insertions(+), 69 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html