提交 e25cf4a6 编写于 作者: J Johannes Berg 提交者: John W. Linville

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: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4c244298
...@@ -287,7 +287,7 @@ enum mac80211_rate_control_flags { ...@@ -287,7 +287,7 @@ enum mac80211_rate_control_flags {
* *
* @idx: rate index to attempt to send with * @idx: rate index to attempt to send with
* @flags: rate control flags (&enum mac80211_rate_control_flags) * @flags: rate control flags (&enum mac80211_rate_control_flags)
* @limit: number of retries before fallback * @count: number of tries in this rate before going to the next rate
* *
* A value of -1 for @idx indicates an invalid rate and, if used * A value of -1 for @idx indicates an invalid rate and, if used
* in an array of retry rates, that no more rates should be tried. * 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,6 +1902,8 @@ struct ieee80211_sta *ieee80211_find_sta(struct ieee80211_hw *hw,
* @short_preamble: whether mac80211 will request short-preamble transmission * @short_preamble: whether mac80211 will request short-preamble transmission
* if the selected rate supports it * if the selected rate supports it
* @max_rate_idx: user-requested maximum rate (not MCS for now) * @max_rate_idx: user-requested maximum rate (not MCS for now)
* @skb: the skb that will be transmitted, the control information in it needs
* to be filled in
*/ */
struct ieee80211_tx_rate_control { struct ieee80211_tx_rate_control {
struct ieee80211_hw *hw; struct ieee80211_hw *hw;
......
...@@ -160,18 +160,20 @@ struct sta_ampdu_mlme { ...@@ -160,18 +160,20 @@ struct sta_ampdu_mlme {
* @list: global linked list entry * @list: global linked list entry
* @hnext: hash table linked list pointer * @hnext: hash table linked list pointer
* @local: pointer to the global information * @local: pointer to the global information
* @sdata: TBD * @sdata: virtual interface this station belongs to
* @key: TBD * @key: peer key negotiated with this station, if any
* @rate_ctrl: TBD * @rate_ctrl: rate control algorithm reference
* @rate_ctrl_priv: TBD * @rate_ctrl_priv: rate control private per-STA pointer
* @last_tx_rate: rate used for last transmit, to report to userspace as
* "the" transmit rate
* @lock: used for locking all fields that require locking, see comments * @lock: used for locking all fields that require locking, see comments
* in the header file. * in the header file.
* @flaglock: spinlock for flags accesses * @flaglock: spinlock for flags accesses
* @addr: MAC address of this STA * @addr: MAC address of this STA
* @aid: STA's unique AID (1..2007, 0 = not assigned yet), * @aid: STA's unique AID (1..2007, 0 = not assigned yet),
* only used in AP (and IBSS?) mode * only used in AP (and IBSS?) mode
* @listen_interval: TBD * @listen_interval: listen interval of this station, when we're acting as AP
* @pin_status: TBD * @pin_status: used internally for pinning a STA struct into memory
* @flags: STA flags, see &enum ieee80211_sta_info_flags * @flags: STA flags, see &enum ieee80211_sta_info_flags
* @ps_tx_buf: buffer of frames to transmit to this station * @ps_tx_buf: buffer of frames to transmit to this station
* when it leaves power saving state * when it leaves power saving state
...@@ -180,8 +182,8 @@ struct sta_ampdu_mlme { ...@@ -180,8 +182,8 @@ struct sta_ampdu_mlme {
* power saving state * power saving state
* @rx_packets: Number of MSDUs received from this STA * @rx_packets: Number of MSDUs received from this STA
* @rx_bytes: Number of bytes received from this STA * @rx_bytes: Number of bytes received from this STA
* @wep_weak_iv_count: TBD * @wep_weak_iv_count: number of weak WEP IVs received from this station
* @last_rx: TBD * @last_rx: time (in jiffies) when last frame was received from this STA
* @num_duplicates: number of duplicate frames received from this STA * @num_duplicates: number of duplicate frames received from this STA
* @rx_fragments: number of received MPDUs * @rx_fragments: number of received MPDUs
* @rx_dropped: number of dropped MPDUs from this STA * @rx_dropped: number of dropped MPDUs from this STA
...@@ -189,26 +191,26 @@ struct sta_ampdu_mlme { ...@@ -189,26 +191,26 @@ struct sta_ampdu_mlme {
* @last_qual: qual of last received frame from this STA * @last_qual: qual of last received frame from this STA
* @last_noise: noise of last received frame from this STA * @last_noise: noise of last received frame from this STA
* @last_seq_ctrl: last received seq/frag number from this STA (per RX queue) * @last_seq_ctrl: last received seq/frag number from this STA (per RX queue)
* @tx_filtered_count: TBD * @tx_filtered_count: number of frames the hardware filtered for this STA
* @tx_retry_failed: TBD * @tx_retry_failed: number of frames that failed retry
* @tx_retry_count: TBD * @tx_retry_count: total number of retries for frames to this STA
* @fail_avg: moving percentage of failed MSDUs * @fail_avg: moving percentage of failed MSDUs
* @tx_packets: number of RX/TX MSDUs * @tx_packets: number of RX/TX MSDUs
* @tx_bytes: TBD * @tx_bytes: number of bytes transmitted to this STA
* @tx_fragments: number of transmitted MPDUs * @tx_fragments: number of transmitted MPDUs
* @last_txrate: description of the last used transmit rate * @last_txrate: description of the last used transmit rate
* @tid_seq: TBD * @tid_seq: per-TID sequence numbers for sending to this STA
* @ampdu_mlme: TBD * @ampdu_mlme: A-MPDU state machine state
* @timer_to_tid: identity mapping to ID timers * @timer_to_tid: identity mapping to ID timers
* @tid_to_tx_q: map tid to tx queue * @tid_to_tx_q: map tid to tx queue
* @llid: Local link ID * @llid: Local link ID
* @plid: Peer link ID * @plid: Peer link ID
* @reason: Cancel reason on PLINK_HOLDING state * @reason: Cancel reason on PLINK_HOLDING state
* @plink_retries: Retries in establishment * @plink_retries: Retries in establishment
* @ignore_plink_timer: TBD * @ignore_plink_timer: ignore the peer-link timer (used internally)
* @plink_state plink_state: TBD * @plink_state: peer link state
* @plink_timeout: TBD * @plink_timeout: timeout of peer link
* @plink_timer: TBD * @plink_timer: peer link watch timer
* @debugfs: debug filesystem info * @debugfs: debug filesystem info
* @sta: station information we share with the driver * @sta: station information we share with the driver
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册