how to open an existing net_device wlan0
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
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 <[email protected]> wrote:
From: Serene Gud <[email protected]>
Subject: [ath9k-devel] how to open an existing net_device wlan0
To: "ath9k" <[email protected]>
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