From: Serene Gud Date: Fri, 13 May 2011 05:57:32 +0530 (IST) Subject: [ath9k-devel] how to open an existing net_device wlan0 Message-ID: <683328.48433.qm@web137307.mail.in.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi all, First of all I would like to thank everyone for their replies. Most of the information that I receive proves useful. I had no experience of working with the ath9k or the kernel code but now it seems that I have progressed quite a bit. I am able to do most of the changes that I wanted to, but some.... Though I am able to initialize net_device structure from ieee80211_sub_if_data input in the present files like iface.c, main.c and mlme.c in ./net/mac80211 in the kernel code. But i want to shift my functionality to a separate module so that I can just insert the module and run my function. Please help me with the following: I want to use the net_device information. I guess the net_devices get registered at the boot up time, which makes me think that even my wireless card would get initialized. So, all I want to do is: open up my wireless card net_device so that I can access its parameters. Kindly suggest as to how this can be implemented. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110513/e4ba3b59/attachment.htm