From patchwork Sun Aug 23 10:56:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Neukirchen X-Patchwork-Id: 509817 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8B6781402A6 for ; Sun, 23 Aug 2015 21:01:01 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 79B0728BFD1; Sun, 23 Aug 2015 12:58:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id CB34228BFC5 for ; Sun, 23 Aug 2015 12:57:20 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mout.web.de (mout.web.de [212.227.15.14]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 23 Aug 2015 12:57:17 +0200 (CEST) Received: from tenchi-htpc.lan ([91.64.206.38]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0LZvfZ-1Z1WbP21Vt-00lii3 for ; Sun, 23 Aug 2015 12:58:02 +0200 From: Dirk Neukirchen To: openwrt-devel@lists.openwrt.org Date: Sun, 23 Aug 2015 12:56:29 +0200 Message-Id: <1440327391-25355-6-git-send-email-dirkneukirchen@web.de> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1440327391-25355-1-git-send-email-dirkneukirchen@web.de> References: <1440327391-25355-1-git-send-email-dirkneukirchen@web.de> X-Provags-ID: V03:K0:L490sjt1UhEJGrhoSbFX8I4imzC77/xYuHhUyru1emHX50annDH JzcUWhhtljgpw0o8ca6/fx1G9QMwtK3EHDGQEOyLHlQ/wQh0yrnc7FVnEf4L5O7iEbqTvku PfXMDKMYakkSMS5RiwFHhltiPM2J+hDbrasThTzikBiFCYxF+343hSiv7h0o/jpse9RuRS1 FJs7hSz1+kWNv0njUpwvw== X-UI-Out-Filterresults: notjunk:1; V01:K0:HSHw6AGlM0s=:IQ1KQC/1rHrjw37qkIxmds 4Q8/vSBedRnBKxEO1AmxfF3AQBOuEPQ2RLYCcfDHaDTrl/JgCQXj6aUaLKOD0I4XnMrsVt7OT IGO0EWceY7zQdZVnruFJUZ/+bVszoUN8GvB8DppE1n6Y+xNpr4MBRypGKSdDWE3ARXLTr666F FXHxAMonm7hyXn/mT0G9Zj7HzZir4/fEDkbK9prCvYosfHMCEUsJguYIBb+EIJdSLLNFymgrh yceM3m2wIKqiJMgxO0tVTw7+TvB+eoNqicHyhUtG/r4Gh3vLMm1D5jfpeGmhT+3zfquieaAOs PmUOEUkKVsvW+e+wQeeZYb8erxLlzZ/6AHgH24rdS/LGgt1y4Ne6m/rMCM5lmy4kImnreaSIK wTAP9Ngg83yz9muS4mzXNQgDAifBzeRQCE31ev9eVwwdflF5Yt0LG8utT5qNB+k9F8pdaIjed LVw+XadgueskZq+NGxggZUGbKoWRORUhmvGzk9JM04umYs14jVkqBNIMNQkbiSR+U0SeNTQBI 266ZyiUYU9Jl7lUeMqW4/zArKQkDkFZHfwHBRocwwqK5TjN4R0aqfbVrBIiE0KDM7wEGFkfvX YOiI497NGMX/BulfVTm6GLysBlmq1vYmfOnNCmsQNJxd/70uje3R6t/sHjxd86Pt+SnrsYXUX w1Y2HBz8uN5neaLLeisASqZeLCJaAL5O1wK8qRV++vbIjQMwtJxFQ5Oz8+Gcge8rCzEryWLyu h1agvLKdXikg4z8x Subject: [OpenWrt-Devel] [PATCH 5/7] mac80211: add iwlagn debug options X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Dirk Neukirchen --- package/kernel/mac80211/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index f2ea123..b9042db 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -859,6 +859,40 @@ endef define KernelPackage/iwlagn/config if PACKAGE_kmod-iwlagn + config PACKAGE_IWLWIFI_DEBUG + bool "Enable full debugging output in the iwlagn driver" + default n + help + This option will enable debug tracing output for the iwlwifi drivers + + This will result in the kernel module being ~100k larger. You can + control which debug output is sent to the kernel log by setting the + value in + + /sys/module/iwlwifi/parameters/debug + + This entry will only exist if this option is enabled. + + To set a value, simply echo an 8-byte hex value to the same file: + + % echo 0x43fff > /sys/module/iwlwifi/parameters/debug + + You can find the list of debug mask values in: + drivers/net/wireless/iwlwifi/iwl-debug.h + + If this is your first time using this driver, you should say Y here + as the debug information can assist others in helping you resolve + any problems you may encounter. + + config PACKAGE_IWLWIFI_DEBUGFS + bool "iwlwifi debugfs support" + depends on PACKAGE_MAC80211_DEBUGFS + default n + help + Enable creation of debugfs files for the iwlwifi drivers. This + is a low-impact option that allows getting insight into the + driver's state at runtime. + config IWL100_FW bool "Intel 100 Firmware" default y @@ -1699,6 +1733,8 @@ config-$(call config_package,iwl-legacy) += IWLEGACY config-$(call config_package,iwl3945) += IWL3945 config-$(call config_package,iwl4965) += IWL4965 config-$(call config_package,iwlagn) += IWLWIFI IWLDVM IWLMVM +config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG +config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS config-$(call config_package,net-libipw) += LIBIPW config-$(call config_package,net-ipw2100) += IPW2100