Hi Kiran, > Add support for HCI_Read_Local_Supported_Codecs_V2 and query codec > capabilities > > snoop: >> HCI Event: Command Complete (0x0e) plen 20 > Read Local Supported Codecs V2 (0x04|0x000d) ncmd 1 > Status: Success (0x00) > Number of supported codecs: 7 > Codec: u-law log (0x00) > Logical Transport Type: 0x02 > Codec supported over BR/EDR SCO and eSCO > Codec: A-law log (0x01) > Logical Transport Type: 0x02 > Codec supported over BR/EDR SCO and eSCO > Codec: CVSD (0x02) > Logical Transport Type: 0x02 > Codec supported over BR/EDR SCO and eSCO > Codec: Transparent (0x03) > Logical Transport Type: 0x02 > Codec supported over BR/EDR SCO and eSCO > Codec: Linear PCM (0x04) > Logical Transport Type: 0x02 > Codec supported over BR/EDR SCO and eSCO > Codec: Reserved (0x08) > Logical Transport Type: 0x03 > Codec supported over BR/EDR ACL > Codec supported over BR/EDR SCO and eSCO > Codec: mSBC (0x05) > Logical Transport Type: 0x03 > Codec supported over BR/EDR ACL > Codec supported over BR/EDR SCO and eSCO > Number of vendor codecs: 0 > ...... > < HCI Command: Read Local Suppor.. (0x04|0x000e) plen 7 > Codec: mSBC (0x05) > Logical Transport Type: 0x00 > Direction: Input (Host to Controller) (0x00) >> HCI Event: Command Complete (0x0e) plen 12 > Read Local Supported Codec Capabilities (0x04|0x000e) ncmd 1 > Status: Success (0x00) > Number of codec capabilities: 1 > Capabilities #0: > 00 00 11 15 02 33 > > Signed-off-by: Kiran K <kiran.k@xxxxxxxxx> > Signed-off-by: Chethan T N <chethan.tumkur.narayan@xxxxxxxxx> > Signed-off-by: Srivatsa Ravishankar <ravishankar.srivatsa@xxxxxxxxx> > --- > * changes in v3: > No changes > > * changes in v2: > add length check for event data before accessing > > include/net/bluetooth/hci.h | 2 + > include/net/bluetooth/hci_core.h | 10 +++ > net/bluetooth/hci_core.c | 4 +- > net/bluetooth/hci_event.c | 110 +++++++++++++++++++++++++++++++ > 4 files changed, 125 insertions(+), 1 deletion(-) I would rather move the v2 support to 3/3 in this series. Regards Marcel