Re: [PATCH] mesh: Report mesh peer AID to kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux