Wireshark-commits: [Wireshark-commits] master 3c28305: FTDI MPSSE: Dissect setting the clock diviso
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3c28305ca83046caf054eac6436d7d02406dbdc5
Submitter: "Tomasz Moń <desowin@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
3c28305 by Filipe Laíns (lains@xxxxxxxxxxxxx):
FTDI MPSSE: Dissect setting the clock divisor
This patch dissects the clock divisorset command. For the FT2232D it
will also calculate the clock based on the divisor.
Calculating the clock for newer chips requires more context that what we
currently have. The master clock is 60MHz by default but can be
configured to 12MHz for compatibility with older chips. We need to track
the "Divide by 5" commands (0x8A/0x8B) to be able to claculate the
clock.
Ping-Bug: 11743
Change-Id: Ica3acfa97b4db38c2f28bb14cb1e0576d9b5139e
Signed-off-by: Filipe Laíns <lains@xxxxxxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/36167
Petri-Dish: Tomasz Moń <desowin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@xxxxxxxxx>
Actions performed:
from cead735 macOS: Expand a comment.
add 3c28305 FTDI MPSSE: Dissect setting the clock divisor
Summary of changes:
epan/dissectors/packet-ftdi-mpsse.c | 61 +++++++++++++++++++++++++++++++++++--
1 file changed, 58 insertions(+), 3 deletions(-)