Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 577961 Details for
Bug 812259
add option to disable 5GHz band to iwlwifi
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
0001-iwlwifi-add-option-to-disable-5Ghz-band.patch
0001-iwlwifi-add-option-to-disable-5Ghz-band.patch (text/plain), 2.18 KB, created by
Stanislaw Gruszka
on 2012-04-17 09:19:36 UTC
(
hide
)
Description:
0001-iwlwifi-add-option-to-disable-5Ghz-band.patch
Filename:
MIME Type:
Creator:
Stanislaw Gruszka
Created:
2012-04-17 09:19:36 UTC
Size:
2.18 KB
patch
obsolete
>From 42d6c779244db432cd3e258805ffe333ddc5bd79 Mon Sep 17 00:00:00 2001 >From: Stanislaw Gruszka <sgruszka@redhat.com> >Date: Mon, 2 Apr 2012 13:30:23 +0200 >Subject: [PATCH] iwlwifi: add option to disable 5Ghz band > >--- > drivers/net/wireless/iwlwifi/iwl-agn.c | 3 +++ > drivers/net/wireless/iwlwifi/iwl-core.c | 3 +++ > drivers/net/wireless/iwlwifi/iwl-core.h | 1 + > 3 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c >index 4b8b6a5..33333ac 100644 >--- a/drivers/net/wireless/iwlwifi/iwl-agn.c >+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c >@@ -4791,3 +4791,6 @@ MODULE_PARM_DESC(plcp_check, "Check plcp health (default: 1 [enabled])"); > > module_param_named(ack_check, iwlagn_mod_params.ack_check, bool, S_IRUGO); > MODULE_PARM_DESC(ack_check, "Check ack health (default: 0 [disabled])"); >+ >+module_param_named(5ghz_disable, iwlagn_mod_params.disable_5ghz, int, S_IRUGO); >+MODULE_PARM_DESC(5ghz_disable, "disable 5GHz band"); >diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c >index 237a4c1..00dadb8 100644 >--- a/drivers/net/wireless/iwlwifi/iwl-core.c >+++ b/drivers/net/wireless/iwlwifi/iwl-core.c >@@ -299,6 +299,9 @@ int iwlcore_init_geos(struct iwl_priv *priv) > priv->cfg->sku &= ~IWL_SKU_A; > } > >+ if (priv->cfg->mod_params->disable_5ghz) >+ priv->bands[IEEE80211_BAND_5GHZ].n_channels = 0; >+ > IWL_INFO(priv, "Tunable channels: %d 802.11bg, %d 802.11a channels\n", > priv->bands[IEEE80211_BAND_2GHZ].n_channels, > priv->bands[IEEE80211_BAND_5GHZ].n_channels); >diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h >index f541e88..b89c2a7 100644 >--- a/drivers/net/wireless/iwlwifi/iwl-core.h >+++ b/drivers/net/wireless/iwlwifi/iwl-core.h >@@ -241,6 +241,7 @@ struct iwl_mod_params { > int disable_hw_scan; /* def: 0 = use h/w scan */ > int num_of_queues; /* def: HW dependent */ > int disable_11n; /* def: 0 = 11n capabilities enabled */ >+ int disable_5ghz; > int amsdu_size_8K; /* def: 1 = enable 8K amsdu size */ > int antenna; /* def: 0 = both antennas (use diversity) */ > int restart_fw; /* def: 1 = restart firmware */ >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 812259
: 577961