projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wifi: mac80211: Rename ieee80211_mle_sta_prof_size_ok()
[carl9170fw.git]
/
include
/
shared
/
fwcmd.h
diff --git
a/include/shared/fwcmd.h
b/include/shared/fwcmd.h
index 2a58dd88b21ef39dae5d095ae21dc1211884ca29..e5bcc364f0886b84363f52e21257f759498cf965 100644
(file)
--- a/
include/shared/fwcmd.h
+++ b/
include/shared/fwcmd.h
@@
-118,16
+118,16
@@
struct carl9170_reg_list {
} __packed;
struct carl9170_write_reg {
} __packed;
struct carl9170_write_reg {
- struct {
+
DECLARE_FLEX_ARRAY(
struct {
__le32 addr;
__le32 val;
__le32 addr;
__le32 val;
- }
regs[0] __packed
;
+ }
__packed, regs)
;
} __packed;
struct carl9170_write_reg_byte {
__le32 addr;
__le32 count;
} __packed;
struct carl9170_write_reg_byte {
__le32 addr;
__le32 count;
- u8 val[
0
];
+ u8 val[];
} __packed;
#define CARL9170FW_PHY_HT_ENABLE 0x4
} __packed;
#define CARL9170FW_PHY_HT_ENABLE 0x4
@@
-320,9
+320,9
@@
struct carl9170_rsp {
struct carl9170_u32_list rreg_res;
struct carl9170_u32_list echo;
#ifdef __CARL9170FW__
struct carl9170_u32_list rreg_res;
struct carl9170_u32_list echo;
#ifdef __CARL9170FW__
-
struct carl9170_tx_status tx_status[0]
;
+
DECLARE_FLEX_ARRAY(struct carl9170_tx_status, tx_status)
;
#endif /* __CARL9170FW__ */
#endif /* __CARL9170FW__ */
-
struct _carl9170_tx_status _tx_status[0]
;
+
DECLARE_FLEX_ARRAY(struct _carl9170_tx_status, _tx_status)
;
struct carl9170_gpio gpio;
struct carl9170_tsf_rsp tsf;
struct carl9170_psm psm;
struct carl9170_gpio gpio;
struct carl9170_tsf_rsp tsf;
struct carl9170_psm psm;