diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-08-09 11:57:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:13:55 -0400 |
commit | 3ecee182d68621d1f9a813f15153883ca221dd0b (patch) | |
tree | d24cc89367d4908d8fc1486b28fa5b1deef52f9f | |
parent | aee83eaff859694642b323553f93b9eb59141144 (diff) |
rtl818x: Add some documentation to the TX desc flags
Add some TX desc flags docs.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl818x.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl818x.h b/drivers/net/wireless/rtl818x/rtl818x.h index 34a5555cc19c..562222e6cf1f 100644 --- a/drivers/net/wireless/rtl818x/rtl818x.h +++ b/drivers/net/wireless/rtl818x/rtl818x.h | |||
@@ -194,8 +194,18 @@ struct rtl818x_rf_ops { | |||
194 | void (*conf_erp)(struct ieee80211_hw *, struct ieee80211_bss_conf *); | 194 | void (*conf_erp)(struct ieee80211_hw *, struct ieee80211_bss_conf *); |
195 | }; | 195 | }; |
196 | 196 | ||
197 | /* Tx/Rx flags are common between RTL818X chips */ | 197 | /** |
198 | 198 | * enum rtl818x_tx_desc_flags - Tx/Rx flags are common between RTL818X chips | |
199 | * | ||
200 | * @RTL818X_TX_DESC_FLAG_NO_ENC: Disable hardware based encryption. | ||
201 | * @RTL818X_TX_DESC_FLAG_TX_OK: TX frame was ACKed. | ||
202 | * @RTL818X_TX_DESC_FLAG_SPLCP: Use short preamble. | ||
203 | * @RTL818X_TX_DESC_FLAG_MOREFRAG: More fragments follow. | ||
204 | * @RTL818X_TX_DESC_FLAG_CTS: Use CTS-to-self protection. | ||
205 | * @RTL818X_TX_DESC_FLAG_RTS: Use RTS/CTS protection. | ||
206 | * @RTL818X_TX_DESC_FLAG_LS: Last segment of the frame. | ||
207 | * @RTL818X_TX_DESC_FLAG_FS: First segment of the frame. | ||
208 | */ | ||
199 | enum rtl818x_tx_desc_flags { | 209 | enum rtl818x_tx_desc_flags { |
200 | RTL818X_TX_DESC_FLAG_NO_ENC = (1 << 15), | 210 | RTL818X_TX_DESC_FLAG_NO_ENC = (1 << 15), |
201 | RTL818X_TX_DESC_FLAG_TX_OK = (1 << 15), | 211 | RTL818X_TX_DESC_FLAG_TX_OK = (1 << 15), |