Hi Alok, > I had a few queries regarding the netlink APIs. I have been referring to > net/wireless/nl80211.c for reference. > > 1. Would the ioctls on raw sock(BTPROTO_HCI), be converted into netlink > commands? > eg HCIGETDEVLIST (NLBLUETOOTH_CMD_GET_DEVLIST), > HCIGETDEVINFO (NLBLUETOOTH_CMD_GET_DEV_INFO), > HCIDEVUP (NLBLUETOOTH_CMD_DEVUP) .. etc yes. > 2. Would the netlink attributes consist of HCI Ioctl requests > structures ? or individual structure members? > eg: > > [NLBLUETOOTH_ATTR_DEV_INFO] = {.len = sizeof(struct hci_dev_info)} No. We will have the parameters inside the structure as direct attributes. > 3. Would it be a separate kernel module? No. It will be within bluetooth.ko. 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