aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-26 05:03:48 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-01 17:13:16 -0400
commit7460f5a69055357bf97f1890db547aba0c4bf2fa (patch)
tree57466a9c61f803b0bb2b7f65aa0b9a5c46100209 /drivers/net/wireless/libertas/hostcmd.h
parent2af9f039a17c0acd9e5b21d10058688687bad86d (diff)
libertas: convert CMD_802_11_EEPROM_ACCESS to a direct command
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index e56d0049f5fd..9256daba48fc 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -588,12 +588,13 @@ struct cmd_ds_802_11_key_material {
588} __attribute__ ((packed)); 588} __attribute__ ((packed));
589 589
590struct cmd_ds_802_11_eeprom_access { 590struct cmd_ds_802_11_eeprom_access {
591 struct cmd_header hdr;
591 __le16 action; 592 __le16 action;
592
593 /* multiple 4 */
594 __le16 offset; 593 __le16 offset;
595 __le16 bytecount; 594 __le16 len;
596 u8 value; 595 /* firmware says it returns a maximum of 20 bytes */
596#define LBS_EEPROM_READ_LEN 20
597 u8 value[LBS_EEPROM_READ_LEN];
597} __attribute__ ((packed)); 598} __attribute__ ((packed));
598 599
599struct cmd_ds_802_11_tpc_cfg { 600struct cmd_ds_802_11_tpc_cfg {
@@ -713,7 +714,6 @@ struct cmd_ds_command {
713 struct cmd_ds_mac_reg_access macreg; 714 struct cmd_ds_mac_reg_access macreg;
714 struct cmd_ds_bbp_reg_access bbpreg; 715 struct cmd_ds_bbp_reg_access bbpreg;
715 struct cmd_ds_rf_reg_access rfreg; 716 struct cmd_ds_rf_reg_access rfreg;
716 struct cmd_ds_802_11_eeprom_access rdeeprom;
717 717
718 struct cmd_ds_802_11d_domain_info domaininfo; 718 struct cmd_ds_802_11d_domain_info domaininfo;
719 struct cmd_ds_802_11d_domain_info domaininforesp; 719 struct cmd_ds_802_11d_domain_info domaininforesp;