Re: Loop detected - calling function from different modules
From: Frank Schneider <hidden>
Date: 2006-08-31 11:11:02
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 concern structure sk_buff that contain data frame.. that will serve my purpose as well as normal data frame is suppose to send out from the device, AP. can I do it ? I will let you know, if I success... /Frank
From: Johannes Berg <johannes@sipsolutions.net>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/