• Andrei Emeltchenko's avatar
    Bluetooth: EFS: add efs option in L2CAP conf req · f89cef09
    Andrei Emeltchenko authored
    Add Extended Flow Specification option when building L2CAP
    Configuration Request. EFS is added if both the local and
    remote L2CAP entities have indicated support for the
    Extended Flow Specification for BR/EDR.
    
    ...
    < ACL data: handle 1 flags 0x00 dlen 10
        L2CAP(s): Info req: type 2
    > ACL data: handle 1 flags 0x02 dlen 16
        L2CAP(s): Info rsp: type 2 result 0
          Extended feature mask 0x01f8
            Enhanced Retransmission mode
            Streaming mode
            FCS Option
            Extended Flow Specification
            Fixed Channels
            Extended Window Size
    ...
    < ACL data: handle 1 flags 0x00 dlen 45
        L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 33
          RFC 0x03 (Enhanced Retransmission, TxWin 63, MaxTx 3, RTo 0, MTo 0, MPS 498)
          EFS (Id 0x01, SerType Best Effort, MaxSDU 0xffff, SDUitime 0xffffffff,
              AccLat 0xffffffff, FlushTO 0x0000ffff)
    ...
    
    Based upon haijun.liu <haijun.liu@atheros.com> series of patches
    (sent Sun, 22 Aug 2010)
    Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
    Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
    f89cef09
l2cap_core.c 99.6 KB