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 out from the card(as AP)
We know struct net_device has a member pointer to a method called
hard_start_xmit that initiates the transmission through the device.
Wlan module already assigned a function ("ieee80211_hardstart" ) to this pointer hard_start_xmit. It uses dev_queue_xmit() to transmit outgoing data frame from
AP.
Is it possible to assign another function in different module, e.g.
ath_pci I need to call this function when transmit data frame, but in practice,
this function will not send any data frame, e.g. won’t use dev_queue_xmit.

Or is any other way to get an indication in ath_pci module that an outgoing data
frame is gonna send out?

Any suggestions to do that please ?

regards,
Frank



From: Johannes Berg <[EMAIL PROTECTED]>
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 port atheros drivers to
d80211 instead? And how about showing code? :)

johannes
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
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/

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to