Skip to contentSkip to conversation

Netlink interface

ath9k-devel ravi veerad 2 participants 2 messages Jan 12, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

Please can any one guide me, to find the files or function in ath9k
driver which interact with iw or hostapd user space tool using netlink socket. As per study found that, iw tool use the netlink socket with protocol NETLINK_GENERIC to send the user space commands to kernel. And in kernel space it will get received by af_netlink.c.
by function,
struct sock * netlink_kernel_create(int unit, void (*input)(struct sock
*sk, int len));

where input may be the driver call back function (still uncleared), unable to trace further details, or is it implemented in firmware. please guide me.

Thanks & Regards,
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110112/d823ebfa/attachment.htm

#1 lore raw
Quoted 5 lines · ravi veerad

Hi,
?? ? ? ? Please can any one guide me, to find the files or function in ath9k driver which interact with iw or hostapd user space tool using netlink socket. As per study found that, iw tool use the netlink socket with protocol??NETLINK_GENERIC??to send the user space commands to kernel. And in

Quoted 8 lines

kernel space it will get received by af_netlink.c.
by function,
?struct sock * ?netlink_kernel_create(int unit, void (*input)(struct sock *sk, int len));
where input may be the driver call back function (still uncleared), unable to trace further details, or is it?implemented in firmware.?please guide me. Thanks & Regards,
Ravi

Hi ath9k does not directly interacts with iw.
iw is a user-space program intending to replace wext(ie iwconfig commands). ath9k interacts with mac80211->cfg80211->(nl80211 (or) wext).

Quoted 10 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel