net: ieee802154: Drop duration settings when the core does it already
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 1 Feb 2022 18:06:29 +0000 (19:06 +0100)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 10 Feb 2022 14:41:58 +0000 (15:41 +0100)
commitb8e508f42138b42b44f65679d02aad3c200aff68
tree5096620b334bdb9e1035cdde3cfec464742715d4
parent781830c800ddd19566846c634de09fadf37eafde
net: ieee802154: Drop duration settings when the core does it already

The core now knows how to set the symbol duration in a few cases, when
drivers correctly advertise the protocols used on each channel. For
these drivers, there is no more need to bother with symbol duration,
lifs and sifs periods so just drop the duplicated code.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220201180629.93410-5-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/atusb.c
drivers/net/ieee802154/ca8210.c
drivers/net/ieee802154/mcr20a.c