aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2011-03-03 13:42:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-03-04 14:06:47 -0500
commitfe107a5234de1f1576df466b2ea8d01868f6ee77 (patch)
tree7f22ee66a46f2045e8fd38d9fc9d0b4ee6948c1e
parent26a1d07f4176099a7b6f45009dad054e6ad5b7e4 (diff)
rt2x00: Optimize TX descriptor memory layout
Some fields only need to be u8 and for ifs and txop we can use the already available enums. Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00queue.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h
index 330552046440..3fa2406af700 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.h
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.h
@@ -315,17 +315,17 @@ struct txentry_desc {
315 315
316 struct { 316 struct {
317 u16 mcs; 317 u16 mcs;
318 u16 stbc; 318 u8 stbc;
319 u16 ba_size; 319 u8 ba_size;
320 u16 mpdu_density; 320 u8 mpdu_density;
321 short txop; 321 enum txop txop;
322 } ht; 322 } ht;
323 } u; 323 } u;
324 324
325 u16 rate_mode; 325 u16 rate_mode;
326 326
327 short retry_limit; 327 short retry_limit;
328 short ifs; 328 enum ifs ifs;
329 329
330 enum cipher cipher; 330 enum cipher cipher;
331 u16 key_idx; 331 u16 key_idx;