Search Linux Wireless

Re: [PATCH 1/2] mt76: run mac work every 100ms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> On Mon, Dec 24, 2018 at 05:24:41PM +0100, Lorenzo Bianconi wrote:
> > Introduce MT_WATCHDOG_TIME macro in order to run mac work every 100ms.
> > This is a preliminary patch to implement a proper tx hang watchdog
> <snip>
> > diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c b/drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c
> > index b54a32397486..ec936002a286 100644
> > --- a/drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c
> > +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/pci_main.c
> > @@ -33,7 +33,7 @@ mt76x2_start(struct ieee80211_hw *hw)
> >               goto out;
> >
> >       ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mac_work,
> > -                                  MT_CALIBRATE_INTERVAL);
> > +                                  MT_WATCHDOG_TIME);
>
> There are other procedures that are performed on mac_work , which most
> likely don't have to be done so frequently. I think watchdog should
> be placed it it's own work.

I guess it will be useful to have a dedicated work for it if we add
new watchdogs (like mt7603 driver).
I will fix it in v2.

Regards,
Lorenzo

>
> Regards
> Stanislaw
>



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux