Re: [PATCH 2/2] Bluetooth: Add Fixed Channels support to connect()

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

 



Hi Gustavo,

> All the Fixed Channel shall be set up with SOCK_DGRAM passing the channel
> id too. If you don't inform the channel id, L2CAP will use the
> Connectionless channel (0x0002), which was already the default channel for
> SOCK_DGRAM.

we actually can't do that. So the fixed channel have specific types
assigned with it. For example LE configures the ATT channel in basic
mode and HS uses ERTM on the AMP manager protocol.

However the only channel that we currently wanna access from user space
with SOCK_SEQPACKET is the ATT channel on LE. So we should disallow any
other access to fixed channels and use SOCK_DGRAM for raw access to the
signal channel as before. And SOCK_SEQPACKET for the ATT channel. All
other attempts to bind or connect a fixed channel should be rejected for
now.

Regards

Marcel


--
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