Re: [ath5k-devel] Help~~a fresher is very frustrated~~~

2009-12-04 Thread shashi raj singh
look in net/mac80211/tx.c

function ieee80211_subif_start_xmit


Hope this helps

--- On Fri, 12/4/09, ath5k-devel-requ...@lists.ath5k.org 
ath5k-devel-requ...@lists.ath5k.org wrote:

 From: ath5k-devel-requ...@lists.ath5k.org 
 ath5k-devel-requ...@lists.ath5k.org
 Subject: ath5k-devel Digest, Vol 27, Issue 3
 To: ath5k-devel@lists.ath5k.org
 Date: Friday, December 4, 2009, 4:30 PM
 Send ath5k-devel mailing list
 submissions to
     ath5k-devel@lists.ath5k.org
 
 To subscribe or unsubscribe via the World Wide Web, visit
     https://lists.ath5k.org/mailman/listinfo/ath5k-devel
 or, via email, send a message with subject or body 'help'
 to
     ath5k-devel-requ...@lists.ath5k.org
 
 You can reach the person managing the list at
     ath5k-devel-ow...@lists.ath5k.org
 
 When replying, please edit your Subject line so it is more
 specific
 than Re: Contents of ath5k-devel digest...
 
 
 Today's Topics:
 
    1. [PATCH] ath5k: add support for Dell
 Vostro A860 LED (Shahar Or)
    2. Re: Help~~a fresher is very
 frustrated~~~ (n n)
    3. Re: Help~~a fresher is very
 frustrated~~~ (Benoit PAPILLAULT)
 
 
 --
 
 Message: 1
 Date: Thu, 3 Dec 2009 15:07:28 +0200
 From: Shahar Or mightyiamprese...@gmail.com
 Subject: [ath5k-devel] [PATCH] ath5k: add support for Dell
 Vostro A860
     LED
 To: linux-wirel...@vger.kernel.org
 Cc: ath5k-devel@lists.ath5k.org
 Message-ID:
     bf87febf0912030507u1c36f6a9h7cac0efabf3d...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1
 
 From: Shahar Or
 
 Adds support for the WiFi activity LED on the Dell Vostro
 A860 laptop.
 
 Signed-off-by: Shahar Or
 
 ---
 --- linux-2.6.31/drivers/net/wireless/ath/ath5k/led.c.orig
 2009-12-03 14:57:20.0 +0200
 +++
 linux-2.6.31/drivers/net/wireless/ath/ath5k/led.c   2009-12-03
 14:25:30.0 +0200
 @@ -71,6 +71,8 @@ static const struct pci_device_id ath5k_
         {
 ATH_SDEVICE(PCI_VENDOR_ID_IBM, 0x058a), ATH_LED(1, 0) },
         /* IBM-specific AR5212 (all
 others) */
         { PCI_VDEVICE(ATHEROS,
 PCI_DEVICE_ID_ATHEROS_AR5212_IBM),
 ATH_LED(0, 0) },
 +       /* Dell Vostro A860 (sha...@shahar-or.co.il)
 */
 +       {
 ATH_SDEVICE(PCI_VENDOR_ID_QMI, 0x0112), ATH_LED(3, 0) },
         { }
  };
 
 
 --
 
 Message: 2
 Date: Thu, 3 Dec 2009 16:06:36 -0500
 From: n n xwt...@gmail.com
 Subject: Re: [ath5k-devel] Help~~a fresher is very
 frustrated~~~
 To: Benoit PAPILLAULT benoit.papilla...@free.fr
 Cc: ath5k-devel@lists.ath5k.org
 Message-ID:
     17779d840912031306g27c687c1p9f987e90aee0d...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
 Also, I didn't find any packet encapsulation 
 fucntions in ath5k code.
 (something like struct sk_buff *ieee80211_encap(struct
 ieee80211_node *ni,
 struct sk_buff *skb, int *framecnt) in madwifi code.
 )
 
 any body give me a hint?
 
 Thank you very much.
 
 On Tue, Dec 1, 2009 at 5:33 PM, Benoit PAPILLAULT benoit.papilla...@free.fr
  wrote:
 
  n n a ?crit :
   Hi, all
      I'm a student at NYU and I'm very
 interested in ath5k driver code.
  
   To understand the structure of the ath5k code,
 I've spent weeks on
   reading the ath5k code. However, I still cant
 figure out what is the
   general process of transmitting and receiving a
 data packet in the code,
   like when data comes from above, which function
 is called first and
   which function is then called, etc.
  
   I feel very frustrated.
   Would anybody help me, or give me a hint?
  
  
   Thank you very much
 
  You'd better read a few books like:
  - Understanding Linux Networking Internals
  - mac80211 from Johannes Berg
  (
  http://wireless.kernel.org/en/developers/Documentation/mac80211?action=AttachFiledo=viewtarget=mac80211.pdf
  )
  - Documentation on http://wireless.kernel.org/
 
  without forgetting the source code itself :
  - for TX path, starts at ath5k_tx
  - for RX path, starts at ath5k_tasklet_rx
 
  Regards,
  Benoit
 
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.ath5k.org/pipermail/ath5k-devel/attachments/20091203/4579b210/attachment.html
 
 
 --
 
 Message: 3
 Date: Thu, 03 Dec 2009 22:25:43 +0100
 From: Benoit PAPILLAULT benoit.papilla...@free.fr
 Subject: Re: [ath5k-devel] Help~~a fresher is very
 frustrated~~~
 To: n n xwt...@gmail.com
 Cc: ath5k-devel@lists.ath5k.org
 Message-ID: 4b182cd7.6000...@free.fr
 Content-Type: text/plain; charset=ISO-8859-1
 
 n n a ?crit :
  Also, I didn't find any packet encapsulation 
 fucntions in ath5k code.
  (something like struct sk_buff
 *ieee80211_encap(struct ieee80211_node
  *ni, struct sk_buff *skb, int *framecnt) in madwifi
 code.
  )
  
  any body give me a hint?
  
  Thank you very much.
 
 encapsulation is done by mac80211 (net/mac80211), not
 ath5k.
 
 Regards,
 Benoit
 
 
 --
 
 ___
 ath5k

Re: [ath5k-devel] Help~~a fresher is very frustrated~~~

2009-12-03 Thread n n
Also, I didn't find any packet encapsulation  fucntions in ath5k code.
(something like struct sk_buff *ieee80211_encap(struct ieee80211_node *ni,
struct sk_buff *skb, int *framecnt) in madwifi code.
)

any body give me a hint?

Thank you very much.

On Tue, Dec 1, 2009 at 5:33 PM, Benoit PAPILLAULT benoit.papilla...@free.fr
 wrote:

 n n a écrit :
  Hi, all
 I'm a student at NYU and I'm very interested in ath5k driver code.
 
  To understand the structure of the ath5k code, I've spent weeks on
  reading the ath5k code. However, I still cant figure out what is the
  general process of transmitting and receiving a data packet in the code,
  like when data comes from above, which function is called first and
  which function is then called, etc.
 
  I feel very frustrated.
  Would anybody help me, or give me a hint?
 
 
  Thank you very much

 You'd better read a few books like:
 - Understanding Linux Networking Internals
 - mac80211 from Johannes Berg
 (
 http://wireless.kernel.org/en/developers/Documentation/mac80211?action=AttachFiledo=viewtarget=mac80211.pdf
 )
 - Documentation on http://wireless.kernel.org/

 without forgetting the source code itself :
 - for TX path, starts at ath5k_tx
 - for RX path, starts at ath5k_tasklet_rx

 Regards,
 Benoit

___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Help~~a fresher is very frustrated~~~

2009-12-03 Thread Benoit PAPILLAULT
n n a écrit :
 Also, I didn't find any packet encapsulation  fucntions in ath5k code.
 (something like struct sk_buff *ieee80211_encap(struct ieee80211_node
 *ni, struct sk_buff *skb, int *framecnt) in madwifi code.
 )
 
 any body give me a hint?
 
 Thank you very much.

encapsulation is done by mac80211 (net/mac80211), not ath5k.

Regards,
Benoit
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel