mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 15:39:38 +00:00
rtl8188eu: Make more little endian changes
The master branch works on PPC architecture, which is big endian; however, v4.1.8-9499 fails to connect. Receiving is OK as scanning works, thus it is close to working. These changes make the two branches agree on the endianess of various header items. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
0160af01ca
commit
16ab32d5e3
1 changed files with 7 additions and 7 deletions
|
@ -308,7 +308,7 @@ struct rtw_ieee80211_hdr {
|
||||||
u8 addr1[ETH_ALEN];
|
u8 addr1[ETH_ALEN];
|
||||||
u8 addr2[ETH_ALEN];
|
u8 addr2[ETH_ALEN];
|
||||||
u8 addr3[ETH_ALEN];
|
u8 addr3[ETH_ALEN];
|
||||||
__le16 seq_ctl;
|
u16 seq_ctl;
|
||||||
u8 addr4[ETH_ALEN];
|
u8 addr4[ETH_ALEN];
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
|
@ -318,7 +318,7 @@ struct rtw_ieee80211_hdr_3addr {
|
||||||
u8 addr1[ETH_ALEN];
|
u8 addr1[ETH_ALEN];
|
||||||
u8 addr2[ETH_ALEN];
|
u8 addr2[ETH_ALEN];
|
||||||
u8 addr3[ETH_ALEN];
|
u8 addr3[ETH_ALEN];
|
||||||
__le16 seq_ctl;
|
u16 seq_ctl;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
|
|
||||||
|
@ -328,19 +328,19 @@ struct rtw_ieee80211_hdr_qos {
|
||||||
u8 addr1[ETH_ALEN];
|
u8 addr1[ETH_ALEN];
|
||||||
u8 addr2[ETH_ALEN];
|
u8 addr2[ETH_ALEN];
|
||||||
u8 addr3[ETH_ALEN];
|
u8 addr3[ETH_ALEN];
|
||||||
__le16 seq_ctl;
|
u16 seq_ctl;
|
||||||
u8 addr4[ETH_ALEN];
|
u8 addr4[ETH_ALEN];
|
||||||
__le16 qc;
|
u16 qc;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
struct rtw_ieee80211_hdr_3addr_qos {
|
struct rtw_ieee80211_hdr_3addr_qos {
|
||||||
__le16 frame_ctl;
|
__le16 frame_ctl;
|
||||||
u16 duration_id;
|
__le16 duration_id;
|
||||||
u8 addr1[ETH_ALEN];
|
u8 addr1[ETH_ALEN];
|
||||||
u8 addr2[ETH_ALEN];
|
u8 addr2[ETH_ALEN];
|
||||||
u8 addr3[ETH_ALEN];
|
u8 addr3[ETH_ALEN];
|
||||||
__le16 seq_ctl;
|
u16 seq_ctl;
|
||||||
__le16 qc;
|
u16 qc;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
struct eapol {
|
struct eapol {
|
||||||
|
|
Loading…
Reference in a new issue