summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-01-03 17:56:42 +0100
committerStefan Schmidt <stefan@datenfreihafen.org>2023-01-03 19:41:16 +0100
commit5755cd4d9432779027771e43e51d81a2994ed795 (patch)
tree39cc3752e53dd9c3638fa71db6e636d4027bdc51 /include/net/cfg802154.h
parentd2aaf2a01792ccf214f933d0b1ca2d41788c7b16 (diff)
downloadlinux-5755cd4d9432779027771e43e51d81a2994ed795.tar.gz
linux-5755cd4d9432779027771e43e51d81a2994ed795.tar.bz2
linux-5755cd4d9432779027771e43e51d81a2994ed795.zip
mac802154: Prepare forcing specific symbol duration
The scan logic will bypass the whole ->set_channel() logic from the top by calling the driver hook to just switch between channels when required. We can no longer rely on the "current" page/channel settings to set the right symbol duration. Let's add these as new parameters to allow providing the page/channel couple that we want. There is no functional change. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20230103165644.432209-5-miquel.raynal@bootlin.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r--include/net/cfg802154.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index 1184b543fba7..c16ae5d2dc86 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -483,6 +483,7 @@ static inline const char *wpan_phy_name(struct wpan_phy *phy)
return dev_name(&phy->dev);
}
-void ieee802154_configure_durations(struct wpan_phy *phy);
+void ieee802154_configure_durations(struct wpan_phy *phy,
+ unsigned int page, unsigned int channel);
#endif /* __NET_CFG802154_H */