public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Questions regarding NetLink APIs.
@ 2008-10-17 14:51 Alok
  2008-10-23  4:48 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Alok @ 2008-10-17 14:51 UTC (permalink / raw)
  To: linux-bluetooth

Marcel, 

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 


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)} 


3. Would it be a separate kernel module? 

Thanks, 
Alok.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-30 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 14:51 Questions regarding NetLink APIs Alok
2008-10-23  4:48 ` Marcel Holtmann
2008-10-30 13:10   ` [PATCH] NetLink patches Alok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox