OSDN Git Service

GD Controller: Add status packet for LE_READ_REMOTE_FEATURES
authorJack He <siyuanh@google.com>
Tue, 19 Jan 2021 22:04:23 +0000 (14:04 -0800)
committerJack He <siyuanh@google.com>
Tue, 19 Jan 2021 22:14:18 +0000 (14:14 -0800)
* We should expect a command status event after sending LE_READ_REMOTE_FEATURES
  command

Fixes: 177791720
Bug: 177791720
Test: make
Tag: #gd-refactor
Change-Id: Ibff3c620699b06ff2d88016ed7f3f55f2ae334d7

gd/hci/hci_packets.pdl

index 11f3dde..d77a9bb 100644 (file)
@@ -2846,6 +2846,9 @@ packet LeReadRemoteFeatures : LeConnectionManagementCommand (op_code = LE_READ_R
   _reserved_ : 4,
 }
 
+packet LeReadRemoteFeaturesStatus : CommandStatus (command_op_code = LE_READ_REMOTE_FEATURES) {
+}
+
 packet LeEncrypt : LeSecurityCommand (op_code = LE_ENCRYPT) {
   key : 8[16],
   plaintext_data : 8[16],