]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Migrate the bulk of the RX routines out from if_ath.c to if_ath_rx.[ch].
authorAdrian Chadd <adrian@FreeBSD.org>
Sun, 20 May 2012 02:05:10 +0000 (02:05 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sun, 20 May 2012 02:05:10 +0000 (02:05 +0000)
commite60c4fc2c94e85d222c8be576f46915568fc3a23
tree09fb1dccf98caaf5240b2b1b113d3ccaf9acdbca
parent1623284fab15f9e270dcf086d180c6fb10e2de60
Migrate the bulk of the RX routines out from if_ath.c to if_ath_rx.[ch].

* migrate the rx processing out into if_ath_rx.c
* migrate the TSF functions into if_ath_tsf.h, as inlines

This is in prepration for supporting the EDMA RX routines, required to
support the AR93xx series NICs.

TODO:

* ath_start() shouldn't be private, but it's called as part of
  the RX path. I should likely migrate ath_rx_tasklet() back into
  if_ath.c and then return this to be 'static'.  The RX code really
  shouldn't need to see TX routines (and vice versa.)

* ath_beacon_* should be in if_ath_beacon.[ch].

* ath_tdma_* should be in if_ath_tdma.[ch] ...
sys/conf/files
sys/dev/ath/if_ath.c
sys/dev/ath/if_ath_misc.h
sys/dev/ath/if_ath_rx.c [new file with mode: 0644]
sys/dev/ath/if_ath_rx.h [new file with mode: 0644]
sys/dev/ath/if_ath_tsf.h [new file with mode: 0644]
sys/dev/ath/if_ath_tx.c