Commit fe107a52 authored by Ivo van Doorn's avatar Ivo van Doorn Committed by John W. Linville

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: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 26a1d07f
...@@ -315,17 +315,17 @@ struct txentry_desc { ...@@ -315,17 +315,17 @@ struct txentry_desc {
struct { struct {
u16 mcs; u16 mcs;
u16 stbc; u8 stbc;
u16 ba_size; u8 ba_size;
u16 mpdu_density; u8 mpdu_density;
short txop; enum txop txop;
} ht; } ht;
} u; } u;
u16 rate_mode; u16 rate_mode;
short retry_limit; short retry_limit;
short ifs; enum ifs ifs;
enum cipher cipher; enum cipher cipher;
u16 key_idx; u16 key_idx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment