[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220114111858.117b3c9a@xps13>
Date: Fri, 14 Jan 2022 11:18:58 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Alexander Aring <alex.aring@...il.com>
Cc: Stefan Schmidt <stefan@...enfreihafen.org>,
linux-wpan - ML <linux-wpan@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
"open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>,
Michael Hennerich <michael.hennerich@...log.com>,
Harry Morris <h.morris@...coda.com>,
Varka Bhadram <varkabhadram@...il.com>,
Xue Liu <liuxuenetmail@...il.com>, Alan Ott <alan@...nal11.us>,
David Girault <david.girault@...vo.com>,
Romuald Despres <romuald.despres@...vo.com>,
Frederic Blain <frederic.blain@...vo.com>,
Nicolas Schodet <nico@...fr.eu.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
"linux-wireless@...r.kernel.org Wireless"
<linux-wireless@...r.kernel.org>
Subject: Re: [wpan-next v2 06/27] net: mac802154: Set the symbol duration
automatically
Hi Alexander,
alex.aring@...il.com wrote on Thu, 13 Jan 2022 18:36:15 -0500:
> Hi,
>
> On Wed, 12 Jan 2022 at 12:33, Miquel Raynal <miquel.raynal@...tlin.com> wrote:
> ...
> > + case IEEE802154_4030KHZ_MEAN_PRF:
> > + duration = 3974;
> > + break;
> > + case IEEE802154_62890KHZ_MEAN_PRF:
> > + duration = 1018;
> > + break;
> > + default:
> > + break;
> > + }
> > + break;
> > + default:
> > + break;
> > + }
> > +
> > +set_duration:
> > + if (!duration)
> > + pr_debug("Unknown PHY symbol duration, the driver should be fixed\n");
>
> Why should the driver be fixed? It's more this table which needs to be fixed?
Right.
>
> > + else
> > + phy->symbol_duration = duration;
>
> Can you also set the lifs/sifs period after the duration is known?
Done.
Thanks,
Miquèl
Powered by blists - more mailing lists