Bluetooth BR/EDR RF: header decoding according to specification
According to the LINKTYPE_BLUETOOTH_BREDR_BB Packet Structure specification (http://www.whiterocker.com/bt/LINKTYPE_BLUETOOTH_BREDR_BB.html), the Bluetooth header should be formatted according to the Bluetooth specification Volume 2, Part B, Section 6.4. However, right now wireshark expects the header to be in a weird format, specifically it expects the header fields to be MSB but the bits within each header field to be LSB. (Bluetooth standard is all LSB). Furthermore, it computes the HEC (header check, i.e. the header CRC) with 4 bits arbitrarily masked. This patch decodes the header according to the spec. It still accepts the old format (if the broken HEC matches), and displays a warning.
This commit is contained in:
parent
7664748e72
commit
76abe23f6d
|
@ -779,6 +779,7 @@ set(DISSECTOR_SRC
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btl2cap.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btle.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btle_rf.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btlmp.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btmesh.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btmesh-pbadv.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-btmesh-provisioning.c
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue