All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Shafi <shafi.ath9k@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] iwconfig drives which modules in the kernel/ath9k
Date: Mon, 11 Apr 2011 21:43:31 +0530	[thread overview]
Message-ID: <BANLkTimEdxjKXH7d9rHad0p-rPEy8Ax0kg@mail.gmail.com> (raw)
In-Reply-To: <162546.91403.qm@web137306.mail.in.yahoo.com>

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 

  reply	other threads:[~2011-04-11 16:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 16:04 [ath9k-devel] iwconfig drives which modules in the kernel/ath9k Serene Gud
2011-04-11 16:13 ` Mohammed Shafi [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2011-04-10 21:46 Serene Gud
2011-04-11 14:49 ` Mohammed Shafi
2011-04-11 16:03   ` Serene Gud
2011-04-11 16:24     ` Serene Gud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTimEdxjKXH7d9rHad0p-rPEy8Ax0kg@mail.gmail.com \
    --to=shafi.ath9k@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.