提交 fe107a52 编写于 作者: I Ivo van Doorn 提交者: 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: NGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 26a1d07f
......@@ -315,17 +315,17 @@ struct txentry_desc {
struct {
u16 mcs;
u16 stbc;
u16 ba_size;
u16 mpdu_density;
short txop;
u8 stbc;
u8 ba_size;
u8 mpdu_density;
enum txop txop;
} ht;
} u;
u16 rate_mode;
short retry_limit;
short ifs;
enum ifs ifs;
enum cipher cipher;
u16 key_idx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册