forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/net/wireless/ath/ath6kl/htc.h
....@@ -153,12 +153,19 @@
153153 * implementations.
154154 */
155155 struct htc_frame_hdr {
156
- u8 eid;
157
- u8 flags;
156
+ struct_group_tagged(htc_frame_look_ahead, header,
157
+ union {
158
+ struct {
159
+ u8 eid;
160
+ u8 flags;
158161
159
- /* length of data (including trailer) that follows the header */
160
- __le16 payld_len;
162
+ /* length of data (including trailer) that follows the header */
163
+ __le16 payld_len;
161164
165
+ };
166
+ u32 word;
167
+ };
168
+ );
162169 /* end of 4-byte lookahead */
163170
164171 u8 ctrl[2];