Re: Loop detected - calling function from different modules
From: Frank Schneider <hidden>
Date: 2006-09-03 11:20:40
hi Johannes, as I told you I have done... actually it was certainly nothing to do, I just assigned a my_function to the pointer of hard_start_xmit and i implemented my_function in ath_pci module done my work and then call the actuall function, which is exported btw, in wlan module which is sending data frame using dev_queue_xmit(). and its working perfect.. but I just wonder one thing: in ath_pci module net_device *dev is ath0 interface on the other hand wlan module *dev is wifi0 interface (e.g.) still is working well. 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.. R /Frank
From: Johannes Berg <johannes@sipsolutions.net> To: Frank Schneider <redacted> CC: netdev@vger.kernel.org Subject: Re: Loop detected - calling function from different modules Date: Thu, 31 Aug 2006 11:57:46 +0200 Frank,quoted
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, e.g. in a struct wlan_device) johannes - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642