All of lore.kernel.org
 help / color / mirror / Atom feed
* Bugs in wake-queue logic.
@ 2015-12-03 19:52 Ben Greear
  2015-12-04  6:06 ` Janusz Dziedzic
  2015-12-05 13:42 ` Michal Kazior
  0 siblings, 2 replies; 10+ messages in thread
From: Ben Greear @ 2015-12-03 19:52 UTC (permalink / raw)
  To: ath10k

So, after tweaking a firmware image to actually be able to use
all tx-buffers, then queues can actually be stopped on the host
now.

I'm now getting splats related to tx-queue being
out of range.

Why are we using vdev_id as the queue-id below?

void ath10k_mac_vif_tx_unlock(struct ath10k_vif *arvif, int reason)
{
         struct ath10k *ar = arvif->ar;

         lockdep_assert_held(&ar->htt.tx_lock);

         WARN_ON(reason >= BITS_PER_LONG);
         arvif->tx_paused &= ~BIT(reason);

         if (ar->tx_paused)
                 return;

         if (arvif->tx_paused)
                 return;

         ieee80211_wake_queue(ar->hw, arvif->vdev_id);
}


Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-12-06  4:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 19:52 Bugs in wake-queue logic Ben Greear
2015-12-04  6:06 ` Janusz Dziedzic
2015-12-04  6:11   ` Janusz Dziedzic
2015-12-04  6:30     ` Ben Greear
2015-12-04  9:15       ` Janusz Dziedzic
2015-12-05 13:42 ` Michal Kazior
2015-12-05 16:18   ` Ben Greear
2015-12-05 16:42     ` Michal Kazior
2015-12-05 18:19       ` Ben Greear
2015-12-06  4:32         ` Michal Kazior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.