Loading system/gd/hci/controller.cc +2 −0 Original line number Diff line number Diff line Loading @@ -751,6 +751,8 @@ struct Controller::impl { OP_CODE_MAPPING(HOLD_MODE) OP_CODE_MAPPING(SNIFF_MODE) OP_CODE_MAPPING(EXIT_SNIFF_MODE) OP_CODE_MAPPING(PARK_STATE) OP_CODE_MAPPING(EXIT_PARK_STATE) OP_CODE_MAPPING(QOS_SETUP) OP_CODE_MAPPING(ROLE_DISCOVERY) OP_CODE_MAPPING(SWITCH_ROLE) Loading system/gd/hci/hci_packets.pdl +24 −1 Original line number Diff line number Diff line Loading @@ -163,6 +163,8 @@ enum OpCode : 16 { HOLD_MODE = 0x0801, SNIFF_MODE = 0x0803, EXIT_SNIFF_MODE = 0x0804, PARK_STATE = 0x0805, EXIT_PARK_STATE = 0x0806, QOS_SETUP = 0x0807, ROLE_DISCOVERY = 0x0809, SWITCH_ROLE = 0x080B, Loading Loading @@ -477,6 +479,8 @@ enum OpCodeIndex : 16 { HOLD_MODE = 41, SNIFF_MODE = 42, EXIT_SNIFF_MODE = 43, PARK_STATE = 44, EXIT_PARK_STATE = 45, QOS_SETUP = 46, ROLE_DISCOVERY = 47, SWITCH_ROLE = 50, Loading Loading @@ -1608,7 +1612,6 @@ packet HoldMode : ConnectionManagementCommand (op_code = HOLD_MODE) { packet HoldModeStatus : CommandStatus (command_op_code = HOLD_MODE) { } packet SniffMode : ConnectionManagementCommand (op_code = SNIFF_MODE) { connection_handle : 12, _reserved_ : 4, Loading @@ -1630,6 +1633,26 @@ packet ExitSniffMode : ConnectionManagementCommand (op_code = EXIT_SNIFF_MODE) { packet ExitSniffModeStatus : CommandStatus (command_op_code = EXIT_SNIFF_MODE) { } // ParkState and ExitParkState are deprecated packet ParkState : ConnectionManagementCommand (op_code = PARK_STATE) { connection_handle : 12, _reserved_ : 4, beacon_max_interval: 16, // 0x000E-0x1000 (8.75ms-40.9s) beacon_min_interval: 16, // 0x000E-0x1000 (8.75ms-40.9s) } packet ParkStateStatus : CommandStatus (command_op_code = PARK_STATE) { } packet ExitParkState : ConnectionManagementCommand (op_code = EXIT_PARK_STATE) { connection_handle : 12, _reserved_ : 4, } packet ExitParkStateStatus : CommandStatus (command_op_code = EXIT_PARK_STATE) { } enum ServiceType : 8 { NO_TRAFFIC = 0x00, BEST_EFFORT = 0x01, Loading Loading
system/gd/hci/controller.cc +2 −0 Original line number Diff line number Diff line Loading @@ -751,6 +751,8 @@ struct Controller::impl { OP_CODE_MAPPING(HOLD_MODE) OP_CODE_MAPPING(SNIFF_MODE) OP_CODE_MAPPING(EXIT_SNIFF_MODE) OP_CODE_MAPPING(PARK_STATE) OP_CODE_MAPPING(EXIT_PARK_STATE) OP_CODE_MAPPING(QOS_SETUP) OP_CODE_MAPPING(ROLE_DISCOVERY) OP_CODE_MAPPING(SWITCH_ROLE) Loading
system/gd/hci/hci_packets.pdl +24 −1 Original line number Diff line number Diff line Loading @@ -163,6 +163,8 @@ enum OpCode : 16 { HOLD_MODE = 0x0801, SNIFF_MODE = 0x0803, EXIT_SNIFF_MODE = 0x0804, PARK_STATE = 0x0805, EXIT_PARK_STATE = 0x0806, QOS_SETUP = 0x0807, ROLE_DISCOVERY = 0x0809, SWITCH_ROLE = 0x080B, Loading Loading @@ -477,6 +479,8 @@ enum OpCodeIndex : 16 { HOLD_MODE = 41, SNIFF_MODE = 42, EXIT_SNIFF_MODE = 43, PARK_STATE = 44, EXIT_PARK_STATE = 45, QOS_SETUP = 46, ROLE_DISCOVERY = 47, SWITCH_ROLE = 50, Loading Loading @@ -1608,7 +1612,6 @@ packet HoldMode : ConnectionManagementCommand (op_code = HOLD_MODE) { packet HoldModeStatus : CommandStatus (command_op_code = HOLD_MODE) { } packet SniffMode : ConnectionManagementCommand (op_code = SNIFF_MODE) { connection_handle : 12, _reserved_ : 4, Loading @@ -1630,6 +1633,26 @@ packet ExitSniffMode : ConnectionManagementCommand (op_code = EXIT_SNIFF_MODE) { packet ExitSniffModeStatus : CommandStatus (command_op_code = EXIT_SNIFF_MODE) { } // ParkState and ExitParkState are deprecated packet ParkState : ConnectionManagementCommand (op_code = PARK_STATE) { connection_handle : 12, _reserved_ : 4, beacon_max_interval: 16, // 0x000E-0x1000 (8.75ms-40.9s) beacon_min_interval: 16, // 0x000E-0x1000 (8.75ms-40.9s) } packet ParkStateStatus : CommandStatus (command_op_code = PARK_STATE) { } packet ExitParkState : ConnectionManagementCommand (op_code = EXIT_PARK_STATE) { connection_handle : 12, _reserved_ : 4, } packet ExitParkStateStatus : CommandStatus (command_op_code = EXIT_PARK_STATE) { } enum ServiceType : 8 { NO_TRAFFIC = 0x00, BEST_EFFORT = 0x01, Loading