From: Serene Gud Date: Fri, 13 May 2011 06:17:01 +0530 (IST) Subject: [ath9k-devel] how to open an existing net_device wlan0 In-Reply-To: <683328.48433.qm@web137307.mail.in.yahoo.com> Message-ID: <722795.1575.qm@web137317.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 I have looked into the code given in ./drivers/net files where the net_devices are initialized with the help of init_modules. Most of them are like the one given on the following link: http://forum.kernelnewbies.org/read.php?12,951,951,quote=1 But should I do the same? because I only want to open the already initialized and registered net_device... and change its settings... Any kind of suggestions are really appreciated! Thanks again --- On Thu, 5/12/11, Serene Gud wrote: From: Serene Gud Subject: [ath9k-devel] how to open an existing net_device wlan0 To: "ath9k" Date: Thursday, May 12, 2011, 7:27 PM 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! -----Inline Attachment Follows----- _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110513/c86d5622/attachment.htm