diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-17 07:45:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-25 16:41:48 -0400 |
commit | c49c3b77c8c611f562ca4e201d88d3e69465f928 (patch) | |
tree | 937308f8020b0e9437cdf8b9e8f6a43f10a26282 /drivers/net/wireless/libertas/hostcmd.h | |
parent | c97329e21fc487ebf251c920d46537ff5fb4d8a7 (diff) |
libertas: convert GET_LOG to a direct command
Now uses __lbs_cmd() to get the "log" (it's actually more a snapshot of
various counters, not a sequential log). Besides the "mechanical" convertion
the patch add the following logical changes:
* Removes the priv->logmsg variable, it was only used in one place anyway,
also don't blindly get the counters when associating. Getting the
counters then the user asks via WEXT for them is good enought.
* don't set wstats.discard.fragment with log.rxfrag, because the latter is
a counter for successfully received packets, not for fragmented packets.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index b5361b3393d9..acbcd56831cb 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -195,6 +195,8 @@ struct cmd_ds_802_11_scan_rsp { | |||
195 | }; | 195 | }; |
196 | 196 | ||
197 | struct cmd_ds_802_11_get_log { | 197 | struct cmd_ds_802_11_get_log { |
198 | struct cmd_header hdr; | ||
199 | |||
198 | __le32 mcasttxframe; | 200 | __le32 mcasttxframe; |
199 | __le32 failed; | 201 | __le32 failed; |
200 | __le32 retry; | 202 | __le32 retry; |
@@ -701,7 +703,6 @@ struct cmd_ds_command { | |||
701 | struct cmd_ds_802_11_ad_hoc_start ads; | 703 | struct cmd_ds_802_11_ad_hoc_start ads; |
702 | struct cmd_ds_802_11_reset reset; | 704 | struct cmd_ds_802_11_reset reset; |
703 | struct cmd_ds_802_11_ad_hoc_result result; | 705 | struct cmd_ds_802_11_ad_hoc_result result; |
704 | struct cmd_ds_802_11_get_log glog; | ||
705 | struct cmd_ds_802_11_authenticate auth; | 706 | struct cmd_ds_802_11_authenticate auth; |
706 | struct cmd_ds_802_11_get_stat gstat; | 707 | struct cmd_ds_802_11_get_stat gstat; |
707 | struct cmd_ds_802_3_get_stat gstat_8023; | 708 | struct cmd_ds_802_3_get_stat gstat_8023; |