Re: [PATCH wpan-next v2 02/11] ieee802154: Internal PAN management

2023-09-16 Thread Stefan Schmidt
Hello Miquel. On 01.09.23 19:04, Miquel Raynal wrote: Introduce structures to describe peer devices in a PAN as well as a few related helpers. We basically care about: - Our unique parent after associating with a coordinator. - Peer devices, children, which successfully associated with us. Sign

Re: [PATCH wpan-next v2 11/11] ieee802154: Give the user the association list

2023-09-16 Thread Stefan Schmidt
Hello Miquel. On 01.09.23 19:05, Miquel Raynal wrote: Upon request, we must be able to provide to the user the list of associations currently in place. Let's add a new netlink command and attribute for this purpose. Signed-off-by: Miquel Raynal --- include/net/nl802154.h| 18 ++- n

Re: [PATCH wpan-next v2 04/11] mac802154: Handle associating

2023-09-16 Thread Stefan Schmidt
Hello Miquel. On 01.09.23 19:04, Miquel Raynal wrote: Joining a PAN officially goes by associating with a coordinator. This coordinator may have been discovered thanks to the beacons it sent in the past. Add support to the MAC layer for these associations, which require: - Sending an association

Re: [PATCH wpan-next v2 07/11] mac802154: Handle association requests from peers

2023-09-16 Thread Stefan Schmidt
Hello Miquel On 01.09.23 19:04, Miquel Raynal wrote: Coordinators may have to handle association requests from peers which want to join the PAN. The logic involves: - Acknowledging the request (done by hardware) - If requested, a random short address that is free on this PAN should be chosen