aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.c b/drivers/net/wireless/iwlegacy/iwl-core.c
index acbd5a899565..395918e2d726 100644
--- a/drivers/net/wireless/iwlegacy/iwl-core.c
+++ b/drivers/net/wireless/iwlegacy/iwl-core.c
@@ -315,7 +315,7 @@ bool il_is_ht40_tx_allowed(struct il_priv *il,
315 if (ht_cap && !ht_cap->ht_supported) 315 if (ht_cap && !ht_cap->ht_supported)
316 return false; 316 return false;
317 317
318#ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS 318#ifdef CONFIG_IWLEGACY_DEBUGFS
319 if (il->disable_ht40) 319 if (il->disable_ht40)
320 return false; 320 return false;
321#endif 321#endif
@@ -888,7 +888,7 @@ void il_rx_csa(struct il_priv *il, struct il_rx_mem_buffer *rxb)
888} 888}
889EXPORT_SYMBOL(il_rx_csa); 889EXPORT_SYMBOL(il_rx_csa);
890 890
891#ifdef CONFIG_IWLWIFI_LEGACY_DEBUG 891#ifdef CONFIG_IWLEGACY_DEBUG
892void il_print_rx_config_cmd(struct il_priv *il, 892void il_print_rx_config_cmd(struct il_priv *il,
893 struct il_rxon_context *ctx) 893 struct il_rxon_context *ctx)
894{ 894{
@@ -930,7 +930,7 @@ void il_irq_handle_error(struct il_priv *il)
930 il->cfg->ops->lib->dump_nic_error_log(il); 930 il->cfg->ops->lib->dump_nic_error_log(il);
931 if (il->cfg->ops->lib->dump_fh) 931 if (il->cfg->ops->lib->dump_fh)
932 il->cfg->ops->lib->dump_fh(il, NULL, false); 932 il->cfg->ops->lib->dump_fh(il, NULL, false);
933#ifdef CONFIG_IWLWIFI_LEGACY_DEBUG 933#ifdef CONFIG_IWLEGACY_DEBUG
934 if (il_get_debug_level(il) & IL_DL_FW_ERRORS) 934 if (il_get_debug_level(il) & IL_DL_FW_ERRORS)
935 il_print_rx_config_cmd(il, 935 il_print_rx_config_cmd(il,
936 &il->contexts[IL_RXON_CTX_BSS]); 936 &il->contexts[IL_RXON_CTX_BSS]);
@@ -1208,7 +1208,7 @@ EXPORT_SYMBOL(il_send_statistics_request);
1208void il_rx_pm_sleep_notif(struct il_priv *il, 1208void il_rx_pm_sleep_notif(struct il_priv *il,
1209 struct il_rx_mem_buffer *rxb) 1209 struct il_rx_mem_buffer *rxb)
1210{ 1210{
1211#ifdef CONFIG_IWLWIFI_LEGACY_DEBUG 1211#ifdef CONFIG_IWLEGACY_DEBUG
1212 struct il_rx_packet *pkt = rxb_addr(rxb); 1212 struct il_rx_packet *pkt = rxb_addr(rxb);
1213 struct il_sleep_notification *sleep = &(pkt->u.sleep_notif); 1213 struct il_sleep_notification *sleep = &(pkt->u.sleep_notif);
1214 D_RX("sleep mode: %d, src: %d\n", 1214 D_RX("sleep mode: %d, src: %d\n",
@@ -1467,7 +1467,7 @@ void il_txq_mem(struct il_priv *il)
1467} 1467}
1468EXPORT_SYMBOL(il_txq_mem); 1468EXPORT_SYMBOL(il_txq_mem);
1469 1469
1470#ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS 1470#ifdef CONFIG_IWLEGACY_DEBUGFS
1471 1471
1472#define IL_TRAFFIC_DUMP_SIZE (IL_TRAFFIC_ENTRY_SIZE * IL_TRAFFIC_ENTRIES) 1472#define IL_TRAFFIC_DUMP_SIZE (IL_TRAFFIC_ENTRY_SIZE * IL_TRAFFIC_ENTRIES)
1473 1473
@@ -1611,11 +1611,11 @@ void il_clear_traffic_stats(struct il_priv *il)
1611} 1611}
1612 1612
1613/* 1613/*
1614 * if CONFIG_IWLWIFI_LEGACY_DEBUGFS defined, 1614 * if CONFIG_IWLEGACY_DEBUGFS defined,
1615 * il_update_stats function will 1615 * il_update_stats function will
1616 * record all the MGMT, CTRL and DATA pkt for both TX and Rx pass 1616 * record all the MGMT, CTRL and DATA pkt for both TX and Rx pass
1617 * Use debugFs to display the rx/rx_statistics 1617 * Use debugFs to display the rx/rx_statistics
1618 * if CONFIG_IWLWIFI_LEGACY_DEBUGFS not being defined, then no MGMT and CTRL 1618 * if CONFIG_IWLEGACY_DEBUGFS not being defined, then no MGMT and CTRL
1619 * information will be recorded, but DATA pkt still will be recorded 1619 * information will be recorded, but DATA pkt still will be recorded
1620 * for the reason of il_led.c need to control the led blinking based on 1620 * for the reason of il_led.c need to control the led blinking based on
1621 * number of tx and rx data. 1621 * number of tx and rx data.