aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-06-16 13:56:54 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-26 16:49:16 -0400
commitd74f5ba473b915e5d4ea1ed391984bb62d9de8b1 (patch)
tree93e1a847c61b053096657b132034c7df86a13bfa /drivers/net/wireless/rt2x00/rt2x00.h
parentc4da004857056e6ee034c4110ccdcba659077b7e (diff)
rt2x00: Cleanup symbol exports
With a bit of code moving to rt2x00lib within the TX and RX paths we can now remove a lot of EXPORT_SYMBOL_GPL() statements. This cleans up the interface between rt2x00lib and the drivers and has the additional benefit that rt2x00pci and rt2x00usb are trimmed down in size as well since they have less to do. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 28c9026bb568..94b7c9bd09e5 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -900,14 +900,6 @@ static inline u16 get_duration_res(const unsigned int size, const u8 rate)
900} 900}
901 901
902/** 902/**
903 * rt2x00queue_alloc_rxskb - allocate a skb for RX purposes.
904 * @rt2x00dev: Pointer to &struct rt2x00_dev.
905 * @queue: The queue for which the skb will be applicable.
906 */
907struct sk_buff *rt2x00queue_alloc_rxskb(struct rt2x00_dev *rt2x00dev,
908 struct queue_entry *entry);
909
910/**
911 * rt2x00queue_map_txskb - Map a skb into DMA for TX purposes. 903 * rt2x00queue_map_txskb - Map a skb into DMA for TX purposes.
912 * @rt2x00dev: Pointer to &struct rt2x00_dev. 904 * @rt2x00dev: Pointer to &struct rt2x00_dev.
913 * @skb: The skb to map. 905 * @skb: The skb to map.
@@ -915,20 +907,6 @@ struct sk_buff *rt2x00queue_alloc_rxskb(struct rt2x00_dev *rt2x00dev,
915void rt2x00queue_map_txskb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb); 907void rt2x00queue_map_txskb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb);
916 908
917/** 909/**
918 * rt2x00queue_unmap_skb - Unmap a skb from DMA.
919 * @rt2x00dev: Pointer to &struct rt2x00_dev.
920 * @skb: The skb to unmap.
921 */
922void rt2x00queue_unmap_skb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb);
923
924/**
925 * rt2x00queue_free_skb - free a skb
926 * @rt2x00dev: Pointer to &struct rt2x00_dev.
927 * @skb: The skb to free.
928 */
929void rt2x00queue_free_skb(struct rt2x00_dev *rt2x00dev, struct sk_buff *skb);
930
931/**
932 * rt2x00queue_create_tx_descriptor - Create TX descriptor from mac80211 input 910 * rt2x00queue_create_tx_descriptor - Create TX descriptor from mac80211 input
933 * @entry: The entry which will be used to transfer the TX frame. 911 * @entry: The entry which will be used to transfer the TX frame.
934 * @txdesc: rt2x00 TX descriptor which will be initialized by this function. 912 * @txdesc: rt2x00 TX descriptor which will be initialized by this function.
@@ -977,18 +955,6 @@ struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev,
977struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue, 955struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue,
978 enum queue_index index); 956 enum queue_index index);
979 957
980/**
981 * rt2x00queue_index_inc - Index incrementation function
982 * @queue: Queue (&struct data_queue) to perform the action on.
983 * @index: Index type (&enum queue_index) to perform the action on.
984 *
985 * This function will increase the requested index on the queue,
986 * it will grab the appropriate locks and handle queue overflow events by
987 * resetting the index to the start of the queue.
988 */
989void rt2x00queue_index_inc(struct data_queue *queue, enum queue_index index);
990
991
992/* 958/*
993 * Interrupt context handlers. 959 * Interrupt context handlers.
994 */ 960 */