Re: Question on hci_remote_features_evt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kang,

> In http://lxr.linux.no/linux+v2.6.27/net/bluetooth/hci_event.c, hci_remote_features_evt() contains the following code:
> 
> if (!ev->status && lmp_ssp_capable(hdev) &&
> 			lmp_ssp_capable(conn)) {
> 	struct hci_cp_read_remote_ext_features cp;
> 	cp.handle = ev->handle;
> 	cp.page = 0x01;
> 	hci_send_cmd(hdev,
> 		HCI_OP_READ_REMOTE_EXT_FEATURES,
> 				sizeof(cp), &cp);
> }
> 
> Should the if-statement check to make sure LMP Extended Features is supported before sending the HCI_OP_READ_REMOTE_EXT_FEATURES command?  Or does the fact that a remote device is SSP-capable imply LMP Extended Features is supported as well?

if you support SSP, you have to support extended features. The host
features bits for SSP are in the second features page and thus it is
required to support this.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux