iwlwifi: remove obsoleted module alias and parameters
Subsystems (4)
PATCH 1/1 iwlwifi: remove obsoleted module alias and parameters
As scheduled in Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters and MODULE_ALIAS("iwl4965").
--- Documentation/feature-removal-schedule.txt | 31 -------------------------- drivers/net/wireless/iwlegacy/iwl-core.c | 3 +- drivers/net/wireless/iwlegacy/iwl-core.h | 1 - drivers/net/wireless/iwlegacy/iwl3945-base.c | 13 ----------- drivers/net/wireless/iwlegacy/iwl4965-base.c | 1 - drivers/net/wireless/iwlwifi/iwl-agn.c | 30 ------------------------- drivers/net/wireless/iwlwifi/iwl-core.h | 1 - 7 files changed, 1 insertions(+), 79 deletions(-)
Documentation/feature-removal-schedule.txt +0 -31
@@ -444,27 +444,6 @@ Who: Avi Kivity <[email protected]> ---------------------------- -What: iwlwifi 50XX module parameters -When: 2.6.40 -Why: The "..50" modules parameters were used to configure 5000 series and - up devices; different set of module parameters also available for 4965 - with same functionalities. Consolidate both set into single place - in drivers/net/wireless/iwlwifi/iwl-agn.c - -Who: Wey-Yi Guy <[email protected]> - ----------------------------- - -What: iwl4965 alias support -When: 2.6.40 -Why: Internal alias support has been present in module-init-tools for some - time, the MODULE_ALIAS("iwl4965") boilerplate aliases can be removed - with no impact. - -Who: Wey-Yi Guy <[email protected]> - ---------------------------- - What: xt_NOTRACK Files: net/netfilter/xt_NOTRACK.c When: April 2011
@@ -521,16 +500,6 @@ Who: Daniel Lezcano <[email protected]> ---------------------------- -What: iwlwifi disable_hw_scan module parameters -When: 2.6.40 -Why: Hareware scan is the prefer method for iwlwifi devices for - scanning operation. Remove software scan support for all the - iwlwifi devices. - -Who: Wey-Yi Guy <[email protected]> - ----------------------------- - What: access to nfsd auth cache through sys_nfsservctl or '.' files in the 'nfsd' filesystem. When: 2.6.40
drivers/net/wireless/iwlegacy/iwl-core.c +1 -2
@@ -2112,8 +2112,7 @@ int iwl_legacy_mac_config(struct ieee80211_hw *hw, u32 changed)IWL_DEBUG_MAC80211 (priv,"enter to channel %d changed 0x%X\n" , channel->hw_value, changed); -if (unlikely (!priv->cfg->mod_params->disable_hw_scan && -test_bit (STATUS_SCANNING , &priv->status))) { +if (unlikely (test_bit (STATUS_SCANNING , &priv->status))) { scan_active =1 ;IWL_DEBUG_MAC80211 (priv,"leave - scanning\n" ); }
drivers/net/wireless/iwlegacy/iwl-core.h +0 -1
@@ -194,7 +194,6 @@ struct iwl_ops {struct iwl_mod_params {int sw_crypto;/* def: 0 = using hardware encryption */ -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 amsdu_size_8K;/* def: 1 = enable 8K amsdu size */
drivers/net/wireless/iwlegacy/iwl3945-base.c +0 -13
@@ -93,7 +93,6 @@ MODULE_LICENSE("GPL");struct iwl_mod_params iwl3945_mod_params = { .sw_crypto =1 , .restart_fw =1 , - .disable_hw_scan =1 ,/* the rest are 0 by default */ };
@@ -3956,15 +3955,6 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e priv->contexts[IWL_RXON_CTX_BSS ].station_devtype =RXON_DEV_TYPE_ESS ; priv->contexts[IWL_RXON_CTX_BSS ].unused_devtype =RXON_DEV_TYPE_ESS ; -/* -* Disabling hardware scan means that mac80211 will perform scans -* "the hard way", rather than using device's scan. -*/ -if (iwl3945_mod_params.disable_hw_scan) { -IWL_DEBUG_INFO (priv,"Disabling hw_scan\n" ); - iwl3945_hw_ops.hw_scan =NULL ; - } -IWL_DEBUG_INFO (priv,"*** LOAD DRIVER ***\n" ); priv->cfg = cfg; priv->pci_dev = pdev;
@@ -4278,9 +4268,6 @@ MODULE_PARM_DESC(antenna, "select antenna (1=Main, 2=Aux, default 0 [both])");module_param_named (swcrypto, iwl3945_mod_params.sw_crypto, int,S_IRUGO );MODULE_PARM_DESC (swcrypto,"using software crypto (default 1 [software])" ); -module_param_named (disable_hw_scan, iwl3945_mod_params.disable_hw_scan, - int,S_IRUGO ); -MODULE_PARM_DESC (disable_hw_scan,"disable hardware scanning (default 1)" );#ifdef CONFIG_IWLWIFI_LEGACY_DEBUG module_param_named (debug, iwlegacy_debug_level, uint,S_IRUGO |S_IWUSR );MODULE_PARM_DESC (debug,"debug output mask" );
drivers/net/wireless/iwlegacy/iwl4965-base.c +0 -1
@@ -86,7 +86,6 @@ MODULE_DESCRIPTION(DRV_DESCRIPTION);MODULE_VERSION (DRV_VERSION );MODULE_AUTHOR (DRV_COPYRIGHT " " DRV_AUTHOR );MODULE_LICENSE ("GPL" ); -MODULE_ALIAS ("iwl4965" );void iwl4965_update_chain_flags (struct iwl_priv *priv) {
drivers/net/wireless/iwlwifi/iwl-agn.c +0 -30
@@ -3968,14 +3968,6 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)* 1. Allocating HW data ************************/ -/* Disabling hardware scan means that mac80211 will perform scans -* "the hard way", rather than using device's scan. */ -if (cfg->mod_params->disable_hw_scan) { -dev_printk (KERN_DEBUG , &(pdev->dev), -"sw scan support is deprecated\n" ); - iwlagn_hw_ops.hw_scan =NULL ; - } - hw =iwl_alloc_all (cfg);if (!hw) { err = -ENOMEM ;
@@ -4585,43 +4577,21 @@ module_exit(iwl_exit);module_init (iwl_init);#ifdef CONFIG_IWLWIFI_DEBUG -module_param_named (debug50, iwl_debug_level, uint,S_IRUGO ); -MODULE_PARM_DESC (debug50,"50XX debug output mask (deprecated)" );module_param_named (debug, iwl_debug_level, uint,S_IRUGO |S_IWUSR );MODULE_PARM_DESC (debug,"debug output mask" );#endif -module_param_named (swcrypto50, iwlagn_mod_params.sw_crypto, bool,S_IRUGO ); -MODULE_PARM_DESC (swcrypto50, -"using crypto in software (default 0 [hardware]) (deprecated)" );module_param_named (swcrypto, iwlagn_mod_params.sw_crypto, int,S_IRUGO );MODULE_PARM_DESC (swcrypto,"using crypto in software (default 0 [hardware])" ); -module_param_named (queues_num50, - iwlagn_mod_params.num_of_queues, int,S_IRUGO ); -MODULE_PARM_DESC (queues_num50, -"number of hw queues in 50xx series (deprecated)" );module_param_named (queues_num, iwlagn_mod_params.num_of_queues, int,S_IRUGO );MODULE_PARM_DESC (queues_num,"number of hw queues." ); -module_param_named(11n_disable50, iwlagn_mod_params.disable_11n, int, S_IRUGO); -MODULE_PARM_DESC(11n_disable50, "disable 50XX 11n functionality (deprecated)"); module_param_named(11n_disable, iwlagn_mod_params.disable_11n, int, S_IRUGO); MODULE_PARM_DESC(11n_disable, "disable 11n functionality"); -module_param_named (amsdu_size_8K50, iwlagn_mod_params.amsdu_size_8K, - int,S_IRUGO ); -MODULE_PARM_DESC (amsdu_size_8K50, -"enable 8K amsdu size in 50XX series (deprecated)" );module_param_named (amsdu_size_8K, iwlagn_mod_params.amsdu_size_8K, int,S_IRUGO );MODULE_PARM_DESC (amsdu_size_8K,"enable 8K amsdu size" ); -module_param_named (fw_restart50, iwlagn_mod_params.restart_fw, int,S_IRUGO ); -MODULE_PARM_DESC (fw_restart50, -"restart firmware in case of error (deprecated)" );module_param_named (fw_restart, iwlagn_mod_params.restart_fw, int,S_IRUGO );MODULE_PARM_DESC (fw_restart,"restart firmware in case of error" ); -module_param_named ( - disable_hw_scan, iwlagn_mod_params.disable_hw_scan, int,S_IRUGO ); -MODULE_PARM_DESC (disable_hw_scan, -"disable hardware scanning (default 0) (deprecated)" );module_param_named (ucode_alternative, iwlagn_wanted_ucode_alternative, int,S_IRUGO );
drivers/net/wireless/iwlwifi/iwl-core.h +0 -1
@@ -252,7 +252,6 @@ struct iwl_ops {struct iwl_mod_params {int sw_crypto;/* def: 0 = using hardware encryption */ -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 amsdu_size_8K;/* def: 1 = enable 8K amsdu size */
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Johannes Berg
maintainerQuoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").
Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
johannes
Quoted 7 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Ok, I will wait for Stanislaw's response and then send an updated patch.
Thanks.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Cong Wang
Quoted 6 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Indeed, disable_hw_scan should be removed in iwlwifi but leaved in iwlegacy.
Quoted 1 line
Ok, I will wait for Stanislaw's response and then send an updated patch.
Have it now :-)
Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Stanislaw Gruszka
Quoted 5 lines · Cong Wang
Quoted 4 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Indeed,
disable_hw_scanshould be removed in iwlwifi but leaved in iwlegacy.Quoted 1 line
Ok, I will wait for Stanislaw's response and then send an updated patch.
Have it now :-)
Maybe the MODULE_ALIAS("iwl4965") should go to iwlegacy too?
John
Signature · 6 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · John W. Linville
Quoted 9 lines · Stanislaw Gruszka
Quoted 7 lines · Cong Wang
Quoted 6 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Quoted 7 lines
Quoted 5 lines
Indeed,
disable_hw_scanshould be removed in iwlwifi but leaved in iwlegacy.Quoted 1 line
Ok, I will wait for Stanislaw's response and then send an updated patch.
Have it now :-)
Maybe the
MODULE_ALIAS("iwl4965")should go to iwlegacy too?
Nevermind, forgot the "Internal alias support has been present in module-init-tools" part...
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
Quoted 6 lines · Stanislaw Gruszka
Quoted 5 lines · Cong Wang
Quoted 4 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Indeed,
disable_hw_scanshould be removed in iwlwifi but leaved in iwlegacy.Quoted 1 line
Ok, I will wait for Stanislaw's response and then send an updated patch.
Have it now :-)
Ping?
Signature · 6 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · John W. Linville
Quoted 9 lines · Stanislaw Gruszka
Quoted 7 lines · Cong Wang
Quoted 6 lines · Johannes Berg
Quoted 2 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Mostly fine, but for iwlegacy Stanislaw we want to keep hw scan (and it was actually made default now)
Quoted 8 lines
Quoted 5 lines
Indeed,
disable_hw_scanshould be removed in iwlwifi but leaved in iwlegacy.Quoted 1 line
Ok, I will wait for Stanislaw's response and then send an updated patch.
Have it now :-)
Ping?
Huh?
The same patch from Wey-yi was merged as commit#7eaa6a5e964f1ab02d849bda36950c0d30be8ce2, no?
Quoted 12 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Cc Intel Linux Wireless <[email protected]>Cc Johannes Berg <[email protected]>Cc "John W. Linville" <[email protected]>Cc Wey-Yi Guy <[email protected]>Cc Stanislaw Gruszka <[email protected]>Cc Meenakshi Venkataraman <[email protected]>Cc Larry Finger <[email protected]>Signed-off-by WANG Cong <[email protected]>
Quoted 1 line
---
what tree you are base on?
please check commit#7eaa6a5e964f1ab02d849bda36950c0d30be8ce2 in wireless-next-2.6
Thanks
Wey
Quoted 13 lines · Wey-Yi
Quoted 12 lines · Amerigo Wang
As scheduled in
Documentation/feature-removal-schedule.txt, remove "*50", "disable_hw_scan" module parameters andMODULE_ALIAS("iwl4965").Cc Intel Linux Wireless<[email protected]>Cc Johannes Berg<[email protected]>Cc "John W. Linville"<[email protected]>Cc Wey-Yi Guy<[email protected]>Cc Stanislaw Gruszka<[email protected]>Cc Meenakshi Venkataraman<[email protected]>Cc Larry Finger<[email protected]>Signed-off-by WANG Cong<[email protected]>
Quoted 4 lines
Quoted 1 line
---
what tree you are base on?
please check commit#7eaa6a5e964f1ab02d849bda36950c0d30be8ce2 in wireless-next-2.6
The latest Linus tree, sorry that I didn't know wireless has its own tree, I just checked wireless-next-2.6 but don't find any commit matched that commit ID, but I assume you meant you already sent a same patch? If yes, feel free to discard mine.
Thanks.