[PATCH] mesh: Report mesh peer AID to kernel
Masashi Honma
masashi.honma at gmail.com
Thu Jun 30 04:10:41 PDT 2016
On 2016年06月30日 20:00, Bob Copeland wrote:
> The naming used in the patch is pretty confusing: we have "aid" already
> and now "mesh_aid". Which is which? [Answer: aid is the association id
> of the peer in our TIM (sta->aid in the kernel), while mesh_aid is our
> association id in the peer's TIM (sta->mesh->aid).]
>
> When it came to naming sta->mesh->aid I kind of punted and described
> it in the comment struct, but if we're going to call it:
>
>> + nla_put_u16(msg, NL80211_ATTR_MESH_PEER_AID,
>> + params->mesh_aid))
> Then we might as well use "peer_aid" everywhere by analogy to peer linkid
> since both are generated on the peer.
>
Yes, mesh_aid is received from peer confirm frame.
I will modify it to peer_aid.
More information about the Hostap
mailing list