net: mac802154: Introduce a synchronous API for MLME commands
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 May 2022 15:05:14 +0000 (17:05 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 10 Jun 2022 07:48:40 +0000 (09:48 +0200)
commitddd9ee7cda122ac55571b8b11b51ef1e71918b63
tree8b5bacff08c74fdb6a066caa6c7a6bd826f967d6
parentf0feb34904735ffa21fe7b0c50f9f9527ec74b7a
net: mac802154: Introduce a synchronous API for MLME commands

This is the slow path, we need to wait for each command to be processed
before continuing so let's introduce an helper which does the
transmission and blocks until it gets notified of its asynchronous
completion. This helper is going to be used when introducing scan
support.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220519150516.443078-10-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/mac802154/ieee802154_i.h
net/mac802154/tx.c