diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-02 13:57:54 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-02 13:57:56 -0700 |
commit | c5f50500a0270ee1618373baa85a0bac9a0dc4bf (patch) | |
tree | 096fa863dad4f664e51efdd0cc616843cce4c9e9 /drivers/net/ieee802154/mcr20a.c | |
parent | 0decb97cb105e85be979432bfc17491df7c6d6d1 (diff) | |
parent | 1229df4b313acf15d372caadcbbc62a430cd2697 (diff) |
Stefan Schmidt says:
====================
pull-request: ieee802154-next 2022-05-01
Miquel Raynal landed two patch series bundled in this pull request.
The first series re-works the symbol duration handling to better
accommodate the needs of the various phy layers in ieee802154.
In the second series Miquel improves th errors handling from drivers
up mac802154. THis streamlines the error handling throughout the
ieee/mac802154 stack in preparation for sync TX to be introduced for
MLME frames.
====================
Link: https://lore.kernel.org/r/20220501194614.1198325-1-stefan@datenfreihafen.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ieee802154/mcr20a.c')
-rw-r--r-- | drivers/net/ieee802154/mcr20a.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ieee802154/mcr20a.c b/drivers/net/ieee802154/mcr20a.c index c927a5ae0d05..2fe0e4a0a0c4 100644 --- a/drivers/net/ieee802154/mcr20a.c +++ b/drivers/net/ieee802154/mcr20a.c @@ -975,10 +975,6 @@ static void mcr20a_hw_setup(struct mcr20a_local *lp) dev_dbg(printdev(lp), "%s\n", __func__); - phy->symbol_duration = 16; - phy->lifs_period = 40 * phy->symbol_duration; - phy->sifs_period = 12 * phy->symbol_duration; - hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS; @@ -1006,7 +1002,6 @@ static void mcr20a_hw_setup(struct mcr20a_local *lp) phy->current_page = 0; /* MCR20A default reset value */ phy->current_channel = 20; - phy->symbol_duration = 16; phy->supported.tx_powers = mcr20a_powers; phy->supported.tx_powers_size = ARRAY_SIZE(mcr20a_powers); phy->cca_ed_level = phy->supported.cca_ed_levels[75]; |