* [ath9k-devel] Newbie: Where/How does ath9k registers cfg80211_ops callbacks?
@ 2009-07-16 20:56 Rakesh Kumar
2009-07-16 21:16 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Rakesh Kumar @ 2009-07-16 20:56 UTC (permalink / raw)
To: ath9k-devel
Hello,
I was browsing through the ath9k code and was wondering where does it
register the callback functions which are given in *cfg80211.h*, where it
says:
* * struct cfg80211_ops - backend description for wireless configuration
*
* This struct is registered by fullmac card drivers and/or wireless stacks
* in order to handle configuration requests on their interfaces.
*I see that ath9k has a function named* ath_set_channel* which performs the
operations that the *set_channel *callback function should do for ath9k but
don't see where the mapping is being established.
What further confuses me is the reference given in the presentation uploaded
at:
http://linuxwireless.org/en/developers/Documentation?action=AttachFile&do=get&target=
*overview.pdf *by Johannes where in the slide about Main Flows -
configuration he writes *"some operation passed through to driver more or
less directly (e.g. channel setting)" *
I am not sure how this is being done in ath9k, any references/code snippet
will be high appreciated.
--
Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090716/15816ad1/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ath9k-devel] Newbie: Where/How does ath9k registers cfg80211_ops callbacks?
2009-07-16 20:56 [ath9k-devel] Newbie: Where/How does ath9k registers cfg80211_ops callbacks? Rakesh Kumar
@ 2009-07-16 21:16 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-07-16 21:16 UTC (permalink / raw)
To: ath9k-devel
On Thu, Jul 16, 2009 at 01:56:31PM -0700, Rakesh Kumar wrote:
> Hello,
>
> I was browsing through the ath9k code and was wondering where does it register the callback functions which are given in cfg80211.h, where it says:
>
> * struct cfg80211_ops - backend description for wireless configuration
> *
> * This struct is registered by fullmac card drivers and/or wireless stacks
> * in order to handle configuration requests on their interfaces.
>
> I see that ath9k has a function named ath_set_channel which performs the operations that the set_channel callback function should do for ath9k but don't see where the mapping is being established.
>
> What further confuses me is the reference given in the presentation uploaded at: http://linuxwireless.org/en/developers/Documentation?action=AttachFile&do=get&target=overview.pdf by Johannes where in the slide about Main Flows - configuration he writes "some operation passed through to driver more or less directly (e.g. channel setting)"
>
> I am not sure how this is being done in ath9k, any references/code snippet will be high appreciated.
ath9k is a mac80211 driver. mac80211 implements all cfg80211 callbacks for us. Therefore
we just need to implement the mac80211 callbacks and the bus specific stuff.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-16 21:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-16 20:56 [ath9k-devel] Newbie: Where/How does ath9k registers cfg80211_ops callbacks? Rakesh Kumar
2009-07-16 21:16 ` Luis R. Rodriguez
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.