Re: Loop detected - calling function from different modules

2006-09-04 Thread Johannes Berg
Frank, > could anyone please give me a hints how dev_queue_xmit() is using tx data > queue (HAL_TX_QUEUE_DATA) to transmit data queue. > actually I want to use data queue for sending beacon frame, ofcourse not > real implementation > but for an experiment, a research purpose.. It's probably *f

Re: Loop detected - calling function from different modules

2006-09-03 Thread Frank Schneider
hi Stephen, you can check these: http://bcm43xx.berlios.de/ http://madwifi.org/ R /frank From: Stephen Hemminger <[EMAIL PROTECTED]> To: "Frank Schneider" <[EMAIL PROTECTED]> CC: netdev@vger.kernel.org Subject: Re: Loop detected - calling function from different mod

Re: Loop detected - calling function from different modules

2006-08-31 Thread Frank Schneider
Dear Johannes, I just got an idea, may be not usefull, but I am gonna try: If I assign a function which is implemented in ath_pci module to hard_start_xmit and do my little work and call the actual function to xmit data frame in wlan module. that I can do.. accordingly I will pass the conc

Re: Loop detected - calling function from different modules

2006-08-31 Thread Johannes Berg
Frank, > Any suggestions to do that please ? d80211 has a hardware definition struct that is registered by the driver and contains a callback that is called for each frame. This is the direction you should take as well: hard_start_xmit (generic code) calls hardware_xmit (your module code,

Re: Loop detected - calling function from different modules

2006-08-31 Thread Frank Schneider
Dear Johannes, To port ath_pci to wlan(d80211) module and make it “one” module – might be a possible solution. But you know, ath_pci has some dependency and some binary crap(HAL) More over, I need only an signal (e.g. by calling a funciton) in the ath_pci module when a data frame is sending o

Re: Loop detected - calling function from different modules

2006-08-31 Thread Johannes Berg
On Wed, 2006-08-30 at 22:58 +0200, Frank Schneider wrote: > and i need to do same in reverse way, i.e. call a function from wlan module > that is implemented in ath_pci module. No, you don't. Period. Either wlan provides services to ath_pci, or they should be one module. Besides, why don't you p

Re: Loop detected - calling function from different modules

2006-08-30 Thread Stephen Hemminger
On Wed, 30 Aug 2006 22:58:17 +0200 "Frank Schneider" <[EMAIL PROTECTED]> wrote: > > hi all, > > I am writing/customizing a network(wlan pc card) device driver for Linux > kernel 2.6.12 > Think about I have two modules e.g. ath_pci and wlan module. > I can call a function from a .c file which

Loop detected - calling function from different modules

2006-08-30 Thread Frank Schneider
hi all, I am writing/customizing a network(wlan pc card) device driver for Linux kernel 2.6.12 Think about I have two modules e.g. ath_pci and wlan module. I can call a function from a .c file which is implemented in a .c file in wlan module by using EXPORT_SYMBOL macro.. and i need to d