diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index 34efe4653549..a631613177d0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -123,9 +123,11 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb); | |||
123 | * rt2x00queue_update_beacon - Send new beacon from mac80211 to hardware | 123 | * rt2x00queue_update_beacon - Send new beacon from mac80211 to hardware |
124 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | 124 | * @rt2x00dev: Pointer to &struct rt2x00_dev. |
125 | * @vif: Interface for which the beacon should be updated. | 125 | * @vif: Interface for which the beacon should be updated. |
126 | * @enable_beacon: Enable beaconing | ||
126 | */ | 127 | */ |
127 | int rt2x00queue_update_beacon(struct rt2x00_dev *rt2x00dev, | 128 | int rt2x00queue_update_beacon(struct rt2x00_dev *rt2x00dev, |
128 | struct ieee80211_vif *vif); | 129 | struct ieee80211_vif *vif, |
130 | const bool enable_beacon); | ||
129 | 131 | ||
130 | /** | 132 | /** |
131 | * rt2x00queue_index_inc - Index incrementation function | 133 | * rt2x00queue_index_inc - Index incrementation function |
@@ -139,6 +141,15 @@ int rt2x00queue_update_beacon(struct rt2x00_dev *rt2x00dev, | |||
139 | void rt2x00queue_index_inc(struct data_queue *queue, enum queue_index index); | 141 | void rt2x00queue_index_inc(struct data_queue *queue, enum queue_index index); |
140 | 142 | ||
141 | /** | 143 | /** |
144 | * rt2x00queue_stop_queues - Halt all data queues | ||
145 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | ||
146 | * | ||
147 | * This function will loop through all available queues to stop | ||
148 | * any pending outgoing frames. | ||
149 | */ | ||
150 | void rt2x00queue_stop_queues(struct rt2x00_dev *rt2x00dev); | ||
151 | |||
152 | /** | ||
142 | * rt2x00queue_init_queues - Initialize all data queues | 153 | * rt2x00queue_init_queues - Initialize all data queues |
143 | * @rt2x00dev: Pointer to &struct rt2x00_dev. | 154 | * @rt2x00dev: Pointer to &struct rt2x00_dev. |
144 | * | 155 | * |