• M
    [Bluetooth] Switch from OGF+OCF to using only opcodes · a9de9248
    Marcel Holtmann 提交于
    The Bluetooth HCI commands are divided into logical OGF groups for
    easier identification of their purposes. While this still makes sense
    for the written specification, its makes the code only more complex
    and harder to read. So instead of using separate OGF and OCF values
    to identify the commands, use a common 16-bit opcode that combines
    both values. As a side effect this also reduces the complexity of
    OGF and OCF calculations during command header parsing.
    Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
    a9de9248
hci_bcsp.c 18.9 KB