1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-22 21:44:59 +00:00

Compare commits

..

No commits in common. "01cc26136310c09c4b2249f83271dc14c41fd8f3" and "5b39398e2de146edeb76716420f3288f508bea61" have entirely different histories.

3 changed files with 11 additions and 11 deletions

View File

@ -335,7 +335,7 @@ typedef struct ieee_param {
struct { struct {
u32 len; u32 len;
u8 reserved[32]; u8 reserved[32];
u8 data[]; u8 data[0];
} wpa_ie; } wpa_ie;
struct { struct {
int command; int command;
@ -348,7 +348,7 @@ typedef struct ieee_param {
u8 idx; u8 idx;
u8 seq[8]; /* sequence counter (set: RX, get: TX) */ u8 seq[8]; /* sequence counter (set: RX, get: TX) */
u16 key_len; u16 key_len;
u8 key[]; u8 key[0];
} crypt; } crypt;
#ifdef CONFIG_AP_MODE #ifdef CONFIG_AP_MODE
struct { struct {
@ -360,7 +360,7 @@ typedef struct ieee_param {
} add_sta; } add_sta;
struct { struct {
u8 reserved[2];/* for set max_num_sta */ u8 reserved[2];/* for set max_num_sta */
u8 buf[]; u8 buf[0];
} bcn_ie; } bcn_ie;
#endif #endif
@ -371,7 +371,7 @@ typedef struct ieee_param {
typedef struct ieee_param_ex { typedef struct ieee_param_ex {
u32 cmd; u32 cmd;
u8 sta_addr[ETH_ALEN]; u8 sta_addr[ETH_ALEN];
u8 data[]; u8 data[0];
} ieee_param_ex; } ieee_param_ex;
struct sta_data { struct sta_data {
@ -1177,7 +1177,7 @@ struct ieee80211_info_element_hdr {
struct ieee80211_info_element { struct ieee80211_info_element {
u8 id; u8 id;
u8 len; u8 len;
u8 data[]; u8 data[0];
} __attribute__((packed)); } __attribute__((packed));
#endif #endif
@ -1249,7 +1249,7 @@ struct ieee80211_txb {
u16 reserved; u16 reserved;
u16 frag_size; u16 frag_size;
u16 payload_size; u16 payload_size;
struct sk_buff *fragments[]; struct sk_buff *fragments[0];
}; };

View File

@ -65,7 +65,7 @@ typedef struct _NDIS_802_11_FIXED_IEs {
typedef struct _NDIS_802_11_VARIABLE_IEs { typedef struct _NDIS_802_11_VARIABLE_IEs {
u8 ElementID; u8 ElementID;
u8 Length; u8 Length;
u8 data[]; u8 data[1];
} NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs; } NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs;
typedef enum _NDIS_802_11_AUTHENTICATION_MODE { typedef enum _NDIS_802_11_AUTHENTICATION_MODE {
@ -150,7 +150,7 @@ typedef struct _NDIS_802_11_FIXED_IEs {
typedef struct _NDIS_802_11_VARIABLE_IEs { typedef struct _NDIS_802_11_VARIABLE_IEs {
u8 ElementID; u8 ElementID;
u8 Length; u8 Length;
u8 data[]; u8 data[1];
} NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs; } NDIS_802_11_VARIABLE_IEs, *PNDIS_802_11_VARIABLE_IEs;
typedef enum _NDIS_802_11_AUTHENTICATION_MODE { typedef enum _NDIS_802_11_AUTHENTICATION_MODE {

View File

@ -30,9 +30,9 @@ ID 0BDA:C80C
Seller specific IDs Seller specific IDs
ID 2001:331d - D-Link ID 2001:331d - D-Link DWA-171C
ID 7392:c811 - Edimax ID 7392:C811 - Edimax
ID 7392:d811 - Edimax ID 7392:D811 - Edimax
If your adapter matches one of the default or seller specific If your adapter matches one of the default or seller specific
IDs then this is the driver to use. IDs then this is the driver to use.