Re: [PATCH 0/3] RFC: prioritizing data over HCI

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

 



Hi Gustavo,

On Fri, Aug 5, 2011 at 10:14 PM, Gustavo Padovan <padovan@xxxxxxxxxxxxxx> wrote:
>
> Only ERTM needs to have its own queue, Basic and Streaming mode doesn't need
> to change, they can use the same queue they are using now.

The guaranteed channels also seems to need separated queue, actually
even best effort channels could use QoS (see page 1442  :5.3 QUALITY
OF SERVICE (QOS) OPTION). Note this is a general option which is then
negotiated also on HCI level, it seems completely independent of ERTM.

The per channel queuing is almost a must have if we really want to be
able to implement any QoS, because then we can track exactly what
channels are sending, calculate if we can attend the QoS needs and so
on. But I don't think doing this on L2CAP level is a good idea,
because it create a circular dependency with HCI  and the pull mode
might create a locking nightmare, not to mention L2CAP is already
quite big.

One of the solution Ive been thinking is to have an HCI Channel (e.g.
struct hci_chan) abstraction, which would be responsible for queueing
and storing necessary information for scheduling. This could be
implemented directly in HCI level (hci_conn.c) so L2CAP can still push
data to HCI by using the HCI Channel (l2cap_chan->hci_chan). How about
that?

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux