|
@@ -43,26 +43,6 @@
|
|
|
|
|
|
const u8 iwl_bcast_addr[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
|
|
|
|
|
|
-int iwl_send_statistics_request(struct iwl_priv *priv, u8 flags, bool clear)
|
|
|
-{
|
|
|
- struct iwl_statistics_cmd statistics_cmd = {
|
|
|
- .configuration_flags =
|
|
|
- clear ? IWL_STATS_CONF_CLEAR_STATS : 0,
|
|
|
- };
|
|
|
-
|
|
|
- if (flags & CMD_ASYNC)
|
|
|
- return iwl_dvm_send_cmd_pdu(priv, REPLY_STATISTICS_CMD,
|
|
|
- CMD_ASYNC,
|
|
|
- sizeof(struct iwl_statistics_cmd),
|
|
|
- &statistics_cmd);
|
|
|
- else
|
|
|
- return iwl_dvm_send_cmd_pdu(priv, REPLY_STATISTICS_CMD,
|
|
|
- CMD_SYNC,
|
|
|
- sizeof(struct iwl_statistics_cmd),
|
|
|
- &statistics_cmd);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_IWLWIFI_DEBUGFS
|