diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-23 02:51:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:02:36 -0400 |
commit | e25cf4a6945e0f859186231be7164ba565412e0a (patch) | |
tree | 0526b4d6692617a68ea72252607c755cd57216d9 | |
parent | 4c2442980043b9585be12b4f59e1bbe7e1f7a801 (diff) |
mac80211: fix two kernel-doc warnings
One parameter wasn't described and one I forgot to update when
renaming it; also update TBDs in sta_info.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | include/net/mac80211.h | 4 | ||||
-rw-r--r-- | net/mac80211/sta_info.h | 38 |
2 files changed, 23 insertions, 19 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index bba96a203885..0b983bed3829 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -287,7 +287,7 @@ enum mac80211_rate_control_flags { | |||
287 | * | 287 | * |
288 | * @idx: rate index to attempt to send with | 288 | * @idx: rate index to attempt to send with |
289 | * @flags: rate control flags (&enum mac80211_rate_control_flags) | 289 | * @flags: rate control flags (&enum mac80211_rate_control_flags) |
290 | * @limit: number of retries before fallback | 290 | * @count: number of tries in this rate before going to the next rate |
291 | * | 291 | * |
292 | * A value of -1 for @idx indicates an invalid rate and, if used | 292 | * A value of -1 for @idx indicates an invalid rate and, if used |
293 | * in an array of retry rates, that no more rates should be tried. | 293 | * in an array of retry rates, that no more rates should be tried. |
@@ -1902,6 +1902,8 @@ struct ieee80211_sta *ieee80211_find_sta(struct ieee80211_hw *hw, | |||
1902 | * @short_preamble: whether mac80211 will request short-preamble transmission | 1902 | * @short_preamble: whether mac80211 will request short-preamble transmission |
1903 | * if the selected rate supports it | 1903 | * if the selected rate supports it |
1904 | * @max_rate_idx: user-requested maximum rate (not MCS for now) | 1904 | * @max_rate_idx: user-requested maximum rate (not MCS for now) |
1905 | * @skb: the skb that will be transmitted, the control information in it needs | ||
1906 | * to be filled in | ||
1905 | */ | 1907 | */ |
1906 | struct ieee80211_tx_rate_control { | 1908 | struct ieee80211_tx_rate_control { |
1907 | struct ieee80211_hw *hw; | 1909 | struct ieee80211_hw *hw; |
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 4ac372aa75ce..5ad9250b63ab 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -160,18 +160,20 @@ struct sta_ampdu_mlme { | |||
160 | * @list: global linked list entry | 160 | * @list: global linked list entry |
161 | * @hnext: hash table linked list pointer | 161 | * @hnext: hash table linked list pointer |
162 | * @local: pointer to the global information | 162 | * @local: pointer to the global information |
163 | * @sdata: TBD | 163 | * @sdata: virtual interface this station belongs to |
164 | * @key: TBD | 164 | * @key: peer key negotiated with this station, if any |
165 | * @rate_ctrl: TBD | 165 | * @rate_ctrl: rate control algorithm reference |
166 | * @rate_ctrl_priv: TBD | 166 | * @rate_ctrl_priv: rate control private per-STA pointer |
167 | * @last_tx_rate: rate used for last transmit, to report to userspace as | ||
168 | * "the" transmit rate | ||
167 | * @lock: used for locking all fields that require locking, see comments | 169 | * @lock: used for locking all fields that require locking, see comments |
168 | * in the header file. | 170 | * in the header file. |
169 | * @flaglock: spinlock for flags accesses | 171 | * @flaglock: spinlock for flags accesses |
170 | * @addr: MAC address of this STA | 172 | * @addr: MAC address of this STA |
171 | * @aid: STA's unique AID (1..2007, 0 = not assigned yet), | 173 | * @aid: STA's unique AID (1..2007, 0 = not assigned yet), |
172 | * only used in AP (and IBSS?) mode | 174 | * only used in AP (and IBSS?) mode |
173 | * @listen_interval: TBD | 175 | * @listen_interval: listen interval of this station, when we're acting as AP |
174 | * @pin_status: TBD | 176 | * @pin_status: used internally for pinning a STA struct into memory |
175 | * @flags: STA flags, see &enum ieee80211_sta_info_flags | 177 | * @flags: STA flags, see &enum ieee80211_sta_info_flags |
176 | * @ps_tx_buf: buffer of frames to transmit to this station | 178 | * @ps_tx_buf: buffer of frames to transmit to this station |
177 | * when it leaves power saving state | 179 | * when it leaves power saving state |
@@ -180,8 +182,8 @@ struct sta_ampdu_mlme { | |||
180 | * power saving state | 182 | * power saving state |
181 | * @rx_packets: Number of MSDUs received from this STA | 183 | * @rx_packets: Number of MSDUs received from this STA |
182 | * @rx_bytes: Number of bytes received from this STA | 184 | * @rx_bytes: Number of bytes received from this STA |
183 | * @wep_weak_iv_count: TBD | 185 | * @wep_weak_iv_count: number of weak WEP IVs received from this station |
184 | * @last_rx: TBD | 186 | * @last_rx: time (in jiffies) when last frame was received from this STA |
185 | * @num_duplicates: number of duplicate frames received from this STA | 187 | * @num_duplicates: number of duplicate frames received from this STA |
186 | * @rx_fragments: number of received MPDUs | 188 | * @rx_fragments: number of received MPDUs |
187 | * @rx_dropped: number of dropped MPDUs from this STA | 189 | * @rx_dropped: number of dropped MPDUs from this STA |
@@ -189,26 +191,26 @@ struct sta_ampdu_mlme { | |||
189 | * @last_qual: qual of last received frame from this STA | 191 | * @last_qual: qual of last received frame from this STA |
190 | * @last_noise: noise of last received frame from this STA | 192 | * @last_noise: noise of last received frame from this STA |
191 | * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) | 193 | * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) |
192 | * @tx_filtered_count: TBD | 194 | * @tx_filtered_count: number of frames the hardware filtered for this STA |
193 | * @tx_retry_failed: TBD | 195 | * @tx_retry_failed: number of frames that failed retry |
194 | * @tx_retry_count: TBD | 196 | * @tx_retry_count: total number of retries for frames to this STA |
195 | * @fail_avg: moving percentage of failed MSDUs | 197 | * @fail_avg: moving percentage of failed MSDUs |
196 | * @tx_packets: number of RX/TX MSDUs | 198 | * @tx_packets: number of RX/TX MSDUs |
197 | * @tx_bytes: TBD | 199 | * @tx_bytes: number of bytes transmitted to this STA |
198 | * @tx_fragments: number of transmitted MPDUs | 200 | * @tx_fragments: number of transmitted MPDUs |
199 | * @last_txrate: description of the last used transmit rate | 201 | * @last_txrate: description of the last used transmit rate |
200 | * @tid_seq: TBD | 202 | * @tid_seq: per-TID sequence numbers for sending to this STA |
201 | * @ampdu_mlme: TBD | 203 | * @ampdu_mlme: A-MPDU state machine state |
202 | * @timer_to_tid: identity mapping to ID timers | 204 | * @timer_to_tid: identity mapping to ID timers |
203 | * @tid_to_tx_q: map tid to tx queue | 205 | * @tid_to_tx_q: map tid to tx queue |
204 | * @llid: Local link ID | 206 | * @llid: Local link ID |
205 | * @plid: Peer link ID | 207 | * @plid: Peer link ID |
206 | * @reason: Cancel reason on PLINK_HOLDING state | 208 | * @reason: Cancel reason on PLINK_HOLDING state |
207 | * @plink_retries: Retries in establishment | 209 | * @plink_retries: Retries in establishment |
208 | * @ignore_plink_timer: TBD | 210 | * @ignore_plink_timer: ignore the peer-link timer (used internally) |
209 | * @plink_state plink_state: TBD | 211 | * @plink_state: peer link state |
210 | * @plink_timeout: TBD | 212 | * @plink_timeout: timeout of peer link |
211 | * @plink_timer: TBD | 213 | * @plink_timer: peer link watch timer |
212 | * @debugfs: debug filesystem info | 214 | * @debugfs: debug filesystem info |
213 | * @sta: station information we share with the driver | 215 | * @sta: station information we share with the driver |
214 | */ | 216 | */ |