* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
@ 2011-04-10 21:46 Serene Gud
2011-04-11 14:49 ` Mohammed Shafi
0 siblings, 1 reply; 15+ messages in thread
From: Serene Gud @ 2011-04-10 21:46 UTC (permalink / raw)
To: ath9k-devel
Hi all,
I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/cfg80211.h which defines one element as center_freq. But what I do not know is that which file has the code that is affected by the "iwconfig wlan0 channel #" command because struct ieee80211_channel is used in may files in ./net/mac80211 ./net/wireless and ./drivers/net/wireless/ath/ath9k folders mainly.
If anybody knows, kindly share...
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110411/0afea230/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-10 21:46 [ath9k-devel] iwconfig drives which modules in the kernel/ath9k Serene Gud
@ 2011-04-11 14:49 ` Mohammed Shafi
2011-04-11 16:03 ` Serene Gud
0 siblings, 1 reply; 15+ messages in thread
From: Mohammed Shafi @ 2011-04-11 14:49 UTC (permalink / raw)
To: ath9k-devel
On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
> Hi all,
>
>
> I am able to print out the present operating frequency from the
> ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the
> output of of dmesg shows that the frequency has been changed. As far as I
> could figure out struct ieee80211_channel is defined in
> ./include/net/cfg80211.h which defines one element as center_freq. But what
> I do not know is that which file has the code that is affected by the
> "iwconfig wlan0 channel #" command because struct ieee80211_channel is used
> in may files in ./net/mac80211 ./net/wireless and
> ./drivers/net/wireless/ath/ath9k folders mainly.
>
> *driver in main.c see ath_set_channel which is called by ath9k_config (this
is called by mac80211 callback .config)
*then look at ieee80211_set_channel in mac80211
* look at wext-* files (complex)
> If anybody knows, kindly share...
> Thanks!
>
> _______________________________________________
> 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/20110411/81763b1e/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-11 14:49 ` Mohammed Shafi
@ 2011-04-11 16:03 ` Serene Gud
2011-04-11 16:24 ` Serene Gud
0 siblings, 1 reply; 15+ messages in thread
From: Serene Gud @ 2011-04-11 16:03 UTC (permalink / raw)
To: ath9k-devel
--- On Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
From: Mohammed Shafi <shafi.ath9k@gmail.com>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Serene Gud" <serene_gud@yahoo.co.in>
Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Monday, April 11, 2011, 9:49 AM
On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
Hi all,
I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/cfg80211.h which defines one element as center_freq. But what I do not know is that which file has the code that is affected by the "iwconfig wlan0 channel #" command because struct ieee80211_channel is used in may files in ./net/mac80211 ./net/wireless and ./drivers/net/wireless/ath/ath9k folders mainly.
*driver in main.c see ath_set_channel which is called by ath9k_config (this is called by mac80211 callback .config)
*then look at ieee80211_set_channel in mac80211
* look at wext-* files (complex)
If anybody knows, kindly share...
Thanks!
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Yes, I am printing the value of operating frequency from ath_set_channel in ath9k/main.c and it comes up in the dmesg every time I change the value with iwconfig.
Thanks a lot for the telling me about ieee80211_set_channel in mac80211 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110411/10875e43/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-11 16:03 ` Serene Gud
@ 2011-04-11 16:24 ` Serene Gud
0 siblings, 0 replies; 15+ messages in thread
From: Serene Gud @ 2011-04-11 16:24 UTC (permalink / raw)
To: ath9k-devel
--- On Mon, 4/11/11, Serene Gud <serene_gud@yahoo.co.in> wrote:
From: Serene Gud <serene_gud@yahoo.co.in>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Mohammed Shafi" <shafi.ath9k@gmail.com>
Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Monday, April 11, 2011, 11:03 AM
--- On Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
From: Mohammed Shafi <shafi.ath9k@gmail.com>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Serene Gud" <serene_gud@yahoo.co.in>
Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Monday, April 11, 2011, 9:49 AM
On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
Hi all,
I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/cfg80211.h which defines one element as center_freq. But what I do not know is that which file has the code that is affected by the "iwconfig wlan0 channel #" command because struct ieee80211_channel is used in may files in ./net/mac80211 ./net/wireless and ./drivers/net/wireless/ath/ath9k folders mainly.
*driver in main.c see ath_set_channel which is called by ath9k_config (this is called by mac80211 callback .config)
*then look at ieee80211_set_channel in mac80211
* look at wext-* files (complex)
If anybody knows, kindly share...
Thanks!
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Yes, I am printing the value of operating frequency from ath_set_channel in ath9k/main.c and it comes up in the dmesg every time I change the value with iwconfig.
Thanks a lot for the telling me about ieee80211_set_channel in mac80211 !
In case I need to test and see if I can manually insert a channel value in ieee80211_set_channel, what is the best way of doing it?
My purpose is to know which is the function/struct that I exactly need to address when I need to put my function that will make the channel change without the use of iwconfig command but on the basis of the data values provided in the function; dynamically without intervention.
_______________________________________________
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/20110411/bd52de51/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
@ 2011-04-11 16:04 Serene Gud
2011-04-11 16:13 ` Mohammed Shafi
0 siblings, 1 reply; 15+ messages in thread
From: Serene Gud @ 2011-04-11 16:04 UTC (permalink / raw)
To: ath9k-devel
I M using linux kernel downloaded from kernel.org instead of compat-wireless.
But I was able to find tthe following:
./include/net/cfg80211.h:int cfg80211_wext_giwname
./include/net/cfg80211.h:int cfg80211_wext_siwmode
./include/net/cfg80211.h:int cfg80211_wext_giwmode
./include/net/cfg80211.h:int cfg80211_wext_siwscan
./include/net/cfg80211.h:int cfg80211_wext_giwscan
./include/net/cfg80211.h:int cfg80211_wext_siwmlme
./include/net/cfg80211.h:int cfg80211_wext_giwrange
./include/net/cfg80211.h:int cfg80211_wext_siwgenie
Not sure of how to use them 8-|
--- On Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
From: Mohammed Shafi
<shafi.ath9k@gmail.com>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Serene Gud" <serene_gud@yahoo.co.in>
Date: Monday, April 11, 2011, 9:53 AM
also wext-core.c
static const struct iw_ioctl_description standard_ioctl[] = {
??????? [IW_IOCTL_IDX(SIOCSIWCOMMIT)] = {
On Mon, Apr 11, 2011 at 8:21 PM, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
in wext-compat.c
static const iw_handler cfg80211_handlers[] = {
??????? [IW_IOCTL_IDX(SIOCGIWNAME)]???? = (iw_handler) cfg80211_wext_giwname,
??????? [IW_IOCTL_IDX(SIOCSIWFREQ)]???? = (iw_handler) cfg80211_wext_siwfreq,
??????? [IW_IOCTL_IDX(SIOCGIWFREQ)]???? = (iw_handler) cfg80211_wext_giwfreq,
??????? [IW_IOCTL_IDX(SIOCSIWMODE)]???? = (iw_handler) cfg80211_wext_siwmode,
??????? [IW_IOCTL_IDX(SIOCGIWMODE)]???? = (iw_handler) cfg80211_wext_giwmode,
??????? [IW_IOCTL_IDX(SIOCGIWRANGE)]??? = (iw_handler) cfg80211_wext_giw
On Mon, Apr 11, 2011 at 8:19 PM, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
Hi all,
I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/cfg80211.h which defines one element as center_freq. But what I do not know is that which file has the code that is affected by the "iwconfig wlan0 channel #" command because struct ieee80211_channel is used in may files in ./net/mac80211 ./net/wireless and ./drivers/net/wireless/ath/ath9k folders mainly.
*driver in main.c see ath_set_channel which is called by ath9k_config (this is called by mac80211 callback .config)
*then look at ieee80211_set_channel in mac80211
* look at wext-* files (complex)
If anybody knows, kindly share...
Thanks!
_______________________________________________
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/20110411/18a36584/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-11 16:04 Serene Gud
@ 2011-04-11 16:13 ` Mohammed Shafi
2011-04-11 16:39 ` Serene Gud
0 siblings, 1 reply; 15+ messages in thread
From: Mohammed Shafi @ 2011-04-11 16:13 UTC (permalink / raw)
To: ath9k-devel
may i ask what is the problem
On Mon, Apr 11, 2011 at 9:34 PM, Serene Gud <serene_gud@yahoo.co.in> wrote:
> I M using linux kernel downloaded from kernel.org instead of
> compat-wireless.
>
> But I was able to find tthe following:
>
> ./include/net/cfg80211.h:int cfg80211_wext_giwname
> ./include/net/cfg80211.h:int cfg80211_wext_siwmode
> ./include/net/cfg80211.h:int cfg80211_wext_giwmode
> ./include/net/cfg80211.h:int cfg80211_wext_siwscan
> ./include/net/cfg80211.h:int cfg80211_wext_giwscan
> ./include/net/cfg80211.h:int cfg80211_wext_siwmlme
> ./include/net/cfg80211.h:int cfg80211_wext_giwrange
> ./include/net/cfg80211.h:int cfg80211_wext_siwgenie
>
> Not sure of how to use them 8-|
>
>
>
>
> --- On *Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com>* wrote:
>
>
> From: Mohammed Shafi <shafi.ath9k@gmail.com>
> Subject: Re: [ath9k-devel] iwconfig drives which modules in the
> kernel/ath9k
> To: "Serene Gud" <serene_gud@yahoo.co.in>
> Date: Monday, April 11, 2011, 9:53 AM
>
> also wext-core.c
> static const struct iw_ioctl_description standard_ioctl[] = {
> [IW_IOCTL_IDX(SIOCSIWCOMMIT)] = {
>
>
> On Mon, Apr 11, 2011 at 8:21 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:
>
> in wext-compat.c
> static const iw_handler cfg80211_handlers[] = {
> [IW_IOCTL_IDX(SIOCGIWNAME)] = (iw_handler)
> cfg80211_wext_giwname,
> [IW_IOCTL_IDX(SIOCSIWFREQ)] = (iw_handler)
> cfg80211_wext_siwfreq,
> [IW_IOCTL_IDX(SIOCGIWFREQ)] = (iw_handler)
> cfg80211_wext_giwfreq,
> [IW_IOCTL_IDX(SIOCSIWMODE)] = (iw_handler)
> cfg80211_wext_siwmode,
> [IW_IOCTL_IDX(SIOCGIWMODE)] = (iw_handler)
> cfg80211_wext_giwmode,
> [IW_IOCTL_IDX(SIOCGIWRANGE)] = (iw_handler) cfg80211_wext_giw
>
>
> On Mon, Apr 11, 2011 at 8:19 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:
>
>
>
> On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in>wrote:
>
> Hi all,
>
>
> I am able to print out the present operating frequency from the
> ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the
> output of of dmesg shows that the frequency has been changed. As far as I
> could figure out struct ieee80211_channel is defined in
> ./include/net/cfg80211.h which defines one element as center_freq. But what
> I do not know is that which file has the code that is affected by the
> "iwconfig wlan0 channel #" command because struct ieee80211_channel is used
> in may files in ./net/mac80211 ./net/wireless and
> ./drivers/net/wireless/ath/ath9k folders mainly.
>
> *driver in main.c see ath_set_channel which is called by ath9k_config (this
> is called by mac80211 callback .config)
> *then look at ieee80211_set_channel in mac80211
> * look at wext-* files (complex)
>
> If anybody knows, kindly share...
> Thanks!
>
> _______________________________________________
> 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/20110411/8d00fe3e/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-11 16:13 ` Mohammed Shafi
@ 2011-04-11 16:39 ` Serene Gud
2011-04-12 2:32 ` Adrian Chadd
0 siblings, 1 reply; 15+ messages in thread
From: Serene Gud @ 2011-04-11 16:39 UTC (permalink / raw)
To: ath9k-devel
Sorry, I could only understand that it will send events on appropriate channels to the listening devices. But what all information it is sending that I cannot make out.
Moreover, I want this device to inform the listening device to change channel. Is it possible to send that information?
Thanks a lot!
--- On Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
From: Mohammed Shafi <shafi.ath9k@gmail.com>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Serene Gud" <serene_gud@yahoo.co.in>
Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Monday, April 11, 2011, 11:13 AM
may i ask what is the problem
On Mon, Apr 11, 2011 at 9:34 PM, Serene Gud <serene_gud@yahoo.co.in> wrote:
I M using linux kernel downloaded from kernel.org instead of compat-wireless.
But I was able to find tthe following:
./include/net/cfg80211.h:int cfg80211_wext_giwname
./include/net/cfg80211.h:int cfg80211_wext_siwmode
./include/net/cfg80211.h:int cfg80211_wext_giwmode
./include/net/cfg80211.h:int cfg80211_wext_siwscan
./include/net/cfg80211.h:int cfg80211_wext_giwscan
./include/net/cfg80211.h:int cfg80211_wext_siwmlme
./include/net/cfg80211.h:int
cfg80211_wext_giwrange
./include/net/cfg80211.h:int cfg80211_wext_siwgenie
Not sure of how to use them 8-|
--- On Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
From: Mohammed Shafi
<shafi.ath9k@gmail.com>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Serene Gud" <serene_gud@yahoo.co.in>
Date: Monday, April 11, 2011, 9:53 AM
also wext-core.c
static const struct iw_ioctl_description standard_ioctl[] = {
??????? [IW_IOCTL_IDX(SIOCSIWCOMMIT)] = {
On Mon, Apr 11, 2011 at 8:21 PM, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
in wext-compat.c
static const iw_handler cfg80211_handlers[] = {
??????? [IW_IOCTL_IDX(SIOCGIWNAME)]???? = (iw_handler) cfg80211_wext_giwname,
??????? [IW_IOCTL_IDX(SIOCSIWFREQ)]???? = (iw_handler) cfg80211_wext_siwfreq,
??????? [IW_IOCTL_IDX(SIOCGIWFREQ)]???? = (iw_handler) cfg80211_wext_giwfreq,
??????? [IW_IOCTL_IDX(SIOCSIWMODE)]???? = (iw_handler) cfg80211_wext_siwmode,
??????? [IW_IOCTL_IDX(SIOCGIWMODE)]???? = (iw_handler) cfg80211_wext_giwmode,
??????? [IW_IOCTL_IDX(SIOCGIWRANGE)]??? = (iw_handler) cfg80211_wext_giw
On Mon, Apr 11, 2011 at 8:19 PM, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in> wrote:
Hi all,
I am able to print out the present operating frequency from the ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the output of of dmesg shows that the frequency has been changed. As far as I could figure out struct ieee80211_channel is defined in ./include/net/cfg80211.h which defines one element as center_freq. But what I do not know is that which file has the code that is affected by the "iwconfig wlan0 channel #" command because struct ieee80211_channel is used in may files in ./net/mac80211 ./net/wireless and ./drivers/net/wireless/ath/ath9k folders mainly.
*driver in main.c see ath_set_channel which is called by ath9k_config (this is called by mac80211 callback .config)
*then look at ieee80211_set_channel in mac80211
* look at wext-* files (complex)
If anybody knows, kindly share...
Thanks!
_______________________________________________
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/20110411/a1aabf49/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-11 16:39 ` Serene Gud
@ 2011-04-12 2:32 ` Adrian Chadd
2011-04-12 3:09 ` Sujith
0 siblings, 1 reply; 15+ messages in thread
From: Adrian Chadd @ 2011-04-12 2:32 UTC (permalink / raw)
To: ath9k-devel
There's actually something in 802.11h that handles switching channels.
Does mac80211 handle sending/receiving CSA?
Adrian
On 12 April 2011 00:39, Serene Gud <serene_gud@yahoo.co.in> wrote:
> Sorry, I could only understand that it will send events on appropriate
> channels to the listening devices. But what all information it is sending
> that I cannot make out.
> Moreover, I want this device to inform the listening device to change
> channel. Is it possible to send that information?
>
> Thanks a lot!
>
>
>
>
> --- On *Mon, 4/11/11, Mohammed Shafi <shafi.ath9k@gmail.com>* wrote:
>
>
> From: Mohammed Shafi <shafi.ath9k@gmail.com>
> Subject: Re: [ath9k-devel] iwconfig drives which modules in the
> kernel/ath9k
> To: "Serene Gud" <serene_gud@yahoo.co.in>
> Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
> Date: Monday, April 11, 2011, 11:13 AM
>
>
> may i ask what is the problem
>
> On Mon, Apr 11, 2011 at 9:34 PM, Serene Gud <serene_gud at yahoo.co.in<http://mc/compose?to=serene_gud@yahoo.co.in>
> > wrote:
>
> I M using linux kernel downloaded from kernel.org instead of
> compat-wireless.
>
> But I was able to find tthe following:
>
> ./include/net/cfg80211.h:int cfg80211_wext_giwname
> ./include/net/cfg80211.h:int cfg80211_wext_siwmode
> ./include/net/cfg80211.h:int cfg80211_wext_giwmode
> ./include/net/cfg80211.h:int cfg80211_wext_siwscan
> ./include/net/cfg80211.h:int cfg80211_wext_giwscan
> ./include/net/cfg80211.h:int cfg80211_wext_siwmlme
> ./include/net/cfg80211.h:int cfg80211_wext_giwrange
> ./include/net/cfg80211.h:int cfg80211_wext_siwgenie
>
> Not sure of how to use them 8-|
>
>
>
>
> --- On *Mon, 4/11/11, Mohammed Shafi <shafi.ath9k at gmail.com<http://mc/compose?to=shafi.ath9k@gmail.com>
> >* wrote:
>
>
> From: Mohammed Shafi <shafi.ath9k at gmail.com<http://mc/compose?to=shafi.ath9k@gmail.com>
> >
> Subject: Re: [ath9k-devel] iwconfig drives which modules in the
> kernel/ath9k
> To: "Serene Gud" <serene_gud at yahoo.co.in<http://mc/compose?to=serene_gud@yahoo.co.in>
> >
> Date: Monday, April 11, 2011, 9:53 AM
>
> also wext-core.c
> static const struct iw_ioctl_description standard_ioctl[] = {
> [IW_IOCTL_IDX(SIOCSIWCOMMIT)] = {
>
>
> On Mon, Apr 11, 2011 at 8:21 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:
>
> in wext-compat.c
> static const iw_handler cfg80211_handlers[] = {
> [IW_IOCTL_IDX(SIOCGIWNAME)] = (iw_handler)
> cfg80211_wext_giwname,
> [IW_IOCTL_IDX(SIOCSIWFREQ)] = (iw_handler)
> cfg80211_wext_siwfreq,
> [IW_IOCTL_IDX(SIOCGIWFREQ)] = (iw_handler)
> cfg80211_wext_giwfreq,
> [IW_IOCTL_IDX(SIOCSIWMODE)] = (iw_handler)
> cfg80211_wext_siwmode,
> [IW_IOCTL_IDX(SIOCGIWMODE)] = (iw_handler)
> cfg80211_wext_giwmode,
> [IW_IOCTL_IDX(SIOCGIWRANGE)] = (iw_handler) cfg80211_wext_giw
>
>
> On Mon, Apr 11, 2011 at 8:19 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:
>
>
>
> On Mon, Apr 11, 2011 at 3:16 AM, Serene Gud <serene_gud@yahoo.co.in>wrote:
>
> Hi all,
>
>
> I am able to print out the present operating frequency from the
> ath9k/main.c file in dmesg and if I change the frequency using iwconfig, the
> output of of dmesg shows that the frequency has been changed. As far as I
> could figure out struct ieee80211_channel is defined in
> ./include/net/cfg80211.h which defines one element as center_freq. But what
> I do not know is that which file has the code that is affected by the
> "iwconfig wlan0 channel #" command because struct ieee80211_channel is used
> in may files in ./net/mac80211 ./net/wireless and
> ./drivers/net/wireless/ath/ath9k folders mainly.
>
> *driver in main.c see ath_set_channel which is called by ath9k_config (this
> is called by mac80211 callback .config)
> *then look at ieee80211_set_channel in mac80211
> * look at wext-* files (complex)
>
> If anybody knows, kindly share...
> Thanks!
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
>
>
>
>
> _______________________________________________
> 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/20110412/c158d5f6/attachment-0001.htm
^ permalink raw reply [flat|nested] 15+ messages in thread* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 2:32 ` Adrian Chadd
@ 2011-04-12 3:09 ` Sujith
2011-04-12 3:26 ` Adrian Chadd
2011-04-12 20:33 ` Serene Gud
0 siblings, 2 replies; 15+ messages in thread
From: Sujith @ 2011-04-12 3:09 UTC (permalink / raw)
To: ath9k-devel
Adrian Chadd wrote:
> There's actually something in 802.11h that handles switching channels.
>
> Does mac80211 handle sending/receiving CSA?
Yep.
Sujith
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 3:09 ` Sujith
@ 2011-04-12 3:26 ` Adrian Chadd
2011-04-12 4:25 ` Larry Vaden
2011-04-12 14:26 ` Serene Gud
2011-04-12 20:33 ` Serene Gud
1 sibling, 2 replies; 15+ messages in thread
From: Adrian Chadd @ 2011-04-12 3:26 UTC (permalink / raw)
To: ath9k-devel
On 12 April 2011 11:09, Sujith <m.sujith@gmail.com> wrote:
> Adrian Chadd wrote:
> > There's actually something in 802.11h that handles switching channels.
> >
> > Does mac80211 handle sending/receiving CSA?
>
> Yep.
>
Cool.
Serene, see if you can find the code that handles CSA. This is where the AP
makes the decision to change channel and informs all associated stations
about the new details. The stations then try re-associating to the new
channel.
That may do exactly what you're after!
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110412/92e3a519/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 3:26 ` Adrian Chadd
@ 2011-04-12 4:25 ` Larry Vaden
2011-04-12 15:13 ` Serene Gud
2011-04-12 14:26 ` Serene Gud
1 sibling, 1 reply; 15+ messages in thread
From: Larry Vaden @ 2011-04-12 4:25 UTC (permalink / raw)
To: ath9k-devel
On Mon, Apr 11, 2011 at 10:26 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> On 12 April 2011 11:09, Sujith <m.sujith@gmail.com> wrote:
>>
>> Adrian Chadd wrote:
>> > There's actually something in 802.11h that handles switching channels.
>> >
>> > Does mac80211 handle sending/receiving CSA?
>>
>> Yep.
>
> Cool.
>
> Serene, see if you can find the code that handles CSA. This is where the AP
> makes the decision to change channel and informs all associated stations
> about the new details. The stations then try re-associating to the new
> channel.
>
> That may do exactly what you're after!
>
>
> Adrian
This sounds exactly like what Ubiquiti calls AirSelect, with the
following parms:
Enable AirSelect:
Frequency List:
Hop Interval: miliseconds
Announce Count:
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 4:25 ` Larry Vaden
@ 2011-04-12 15:13 ` Serene Gud
0 siblings, 0 replies; 15+ messages in thread
From: Serene Gud @ 2011-04-12 15:13 UTC (permalink / raw)
To: ath9k-devel
--- On Mon, 4/11/11, Larry Vaden <vaden@texoma.net> wrote:
On Mon, Apr 11, 2011 at 10:26 PM, Adrian Chadd <adrian@freebsd.org> wrote:
> On 12 April 2011 11:09, Sujith <m.sujith@gmail.com> wrote:
>>
>> Adrian Chadd wrote:
>> > There's actually something in 802.11h that handles switching channels.
>> >
>> > Does mac80211 handle sending/receiving CSA?
>>
>> Yep.
>
> Cool.
>
> Serene, see if you can find the code that handles CSA. This is where the AP
> makes the decision to change channel and informs all associated stations
> about the new details. The stations then try re-associating to the new
> channel.
>
> That may do exactly what you're after!
>
>
> Adrian
This sounds exactly like what Ubiquiti calls AirSelect, with the
following parms:
Enable AirSelect:???
Frequency List:???
Hop Interval:?????miliseconds
Announce Count:
_______________________________________
I tried that but it just didnt work on my machine
--Serene
________
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/20110412/e3602831/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 3:26 ` Adrian Chadd
2011-04-12 4:25 ` Larry Vaden
@ 2011-04-12 14:26 ` Serene Gud
1 sibling, 0 replies; 15+ messages in thread
From: Serene Gud @ 2011-04-12 14:26 UTC (permalink / raw)
To: ath9k-devel
Thank you AdrianI'll try to find that particular code segment.
--- On Mon, 4/11/11, Adrian Chadd <adrian@freebsd.org> wrote:
From: Adrian Chadd <adrian@freebsd.org>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Sujith" <m.sujith@gmail.com>
Cc: "Serene Gud" <serene_gud@yahoo.co.in>, "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Monday, April 11, 2011, 10:26 PM
On 12 April 2011 11:09, Sujith <m.sujith@gmail.com> wrote:
Adrian Chadd wrote:
> There's actually something in 802.11h that handles switching channels.
>
> Does mac80211 handle sending/receiving CSA?
Yep.
Cool.
Serene, see if you can find the code that handles CSA. This is where the AP makes the decision to change channel and informs all associated stations about the new details. The stations then try re-associating to the new channel.
That may do exactly what you're after!
Adrian
Thank you Adrian! I'll try to find that particular code segment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110412/6e99cb27/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 3:09 ` Sujith
2011-04-12 3:26 ` Adrian Chadd
@ 2011-04-12 20:33 ` Serene Gud
2011-04-13 0:24 ` Serene Gud
1 sibling, 1 reply; 15+ messages in thread
From: Serene Gud @ 2011-04-12 20:33 UTC (permalink / raw)
To: ath9k-devel
--- On Mon, 4/11/11, Sujith <m.sujith@gmail.com> wrote:
>Adrian Chadd wrote:
>> There's actually something in 802.11h that handles switching channels.
> >
>> Does mac80211 handle sending/receiving CSA?
>Yep.
>Sujith
Sujith,
Can you please throw some more light and suggest me as to how do I go about it. I have gone through the code in the following files:
/net/mac80211/mlme.c
and also I found out that:
brcm/include/proto/802.11.h
contains some information about csa; the four elements: channel_mode, regulatory class, new channel number and? channel switch count.
Also, can you please tell me if all these options are by default enabled.
Thank you so much!
-Serene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110413/897f7b74/attachment-0001.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
* [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
2011-04-12 20:33 ` Serene Gud
@ 2011-04-13 0:24 ` Serene Gud
0 siblings, 0 replies; 15+ messages in thread
From: Serene Gud @ 2011-04-13 0:24 UTC (permalink / raw)
To: ath9k-devel
--- On Tue, 4/12/11, Serene Gud <serene_gud@yahoo.co.in> wrote:
From: Serene Gud <serene_gud@yahoo.co.in>
Subject: Re: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
To: "Adrian Chadd" <adrian@freebsd.org>, "Sujith" <m.sujith@gmail.com>
Cc: "ath9k" <ath9k-devel@lists.ath9k.org>
Date: Tuesday, April 12, 2011, 3:33 PM
--- On Mon, 4/11/11, Sujith <m.sujith@gmail.com> wrote:
>Adrian Chadd wrote:
>> There's actually something in 802.11h that handles switching channels.
> >
>> Does mac80211 handle sending/receiving CSA?
>Yep.
>Sujith
Sujith,
Can you please throw some more light and suggest me as to how do I go about it. I have gone through the code in the following files:
/net/mac80211/mlme.c
and also I found out that:
brcm/include/proto/802.11.h
contains some information about csa; the four elements: channel_mode, regulatory class, new channel number and? channel switch count.
Also, can you please tell me if all these
options are by default enabled.
Thank you so much!
-Serene
Anybody else who knows the above information. Please come up...
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/20110413/33a6d0be/attachment.htm
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2011-04-13 0:24 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 21:46 [ath9k-devel] iwconfig drives which modules in the kernel/ath9k Serene Gud
2011-04-11 14:49 ` Mohammed Shafi
2011-04-11 16:03 ` Serene Gud
2011-04-11 16:24 ` Serene Gud
-- strict thread matches above, loose matches on Subject: below --
2011-04-11 16:04 Serene Gud
2011-04-11 16:13 ` Mohammed Shafi
2011-04-11 16:39 ` Serene Gud
2011-04-12 2:32 ` Adrian Chadd
2011-04-12 3:09 ` Sujith
2011-04-12 3:26 ` Adrian Chadd
2011-04-12 4:25 ` Larry Vaden
2011-04-12 15:13 ` Serene Gud
2011-04-12 14:26 ` Serene Gud
2011-04-12 20:33 ` Serene Gud
2011-04-13 0:24 ` Serene Gud
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.