* [PATCH] wireless: disable wext sysfs by default
@ 2011-12-06 19:44 Johannes Berg
2011-12-06 19:45 ` [PATCH v2] " Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2011-12-06 19:44 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
From: Johannes Berg <johannes.berg@intel.com>
This code has been on the list to remove for a long
time, so disable it by default, add a warning to its
Kconfig, and schedule it for removal in 3.5.
The only known dependency, hal, has not required it
since its 0.5.12 release, which was in early 2009
and hal has since been deprecated completely.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
Documentation/feature-removal-schedule.txt | 3 +--
net/wireless/Kconfig | 7 ++++---
2 files changed, 5 insertions(+), 5 deletions(-)
--- a/net/wireless/Kconfig 2011-12-06 17:06:18.000000000 +0100
+++ b/net/wireless/Kconfig 2011-12-06 20:41:08.000000000 +0100
@@ -121,15 +121,16 @@ config CFG80211_WEXT
config WIRELESS_EXT_SYSFS
bool "Wireless extensions sysfs files"
- default y
depends on WEXT_CORE && SYSFS
help
This option enables the deprecated wireless statistics
files in /sys/class/net/*/wireless/. The same information
is available via the ioctls as well.
- Say Y if you have programs using it, like old versions of
- hal.
+ Say N. If you know you have ancient tools requiring it,
+ like very old versions of hal (prior to 0.5.12 release),
+ say Y and update the tools as soon as possible as this
+ option will be removed soon.
config LIB80211
tristate "Common routines for IEEE802.11 drivers"
--- a/Documentation/feature-removal-schedule.txt 2011-12-06 17:06:18.000000000 +0100
+++ b/Documentation/feature-removal-schedule.txt 2011-12-06 20:41:35.000000000 +0100
@@ -263,8 +263,7 @@ Who: Ravikiran Thirumalai <kiran@scalex8
What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS
(in net/core/net-sysfs.c)
-When: After the only user (hal) has seen a release with the patches
- for enough time, probably some time in 2010.
+When: 3.4
Why: Over 1K .text/.data size reduction, data is available in other
ways (ioctls)
Who: Johannes Berg <johannes@sipsolutions.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2] wireless: disable wext sysfs by default
2011-12-06 19:44 [PATCH] wireless: disable wext sysfs by default Johannes Berg
@ 2011-12-06 19:45 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2011-12-06 19:45 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
From: Johannes Berg <johannes.berg@intel.com>
This code has been on the list to remove for a long
time, so disable it by default, add a warning to its
Kconfig, and schedule it for removal in 3.5.
The only known dependency, hal, has not required it
since its 0.5.12 release, which was in early 2009
and hal has since been deprecated completely.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
v2: this will go into 3.3 so remove in 3.5 not 3.4 ...
Documentation/feature-removal-schedule.txt | 3 +--
net/wireless/Kconfig | 7 ++++---
2 files changed, 5 insertions(+), 5 deletions(-)
--- a/net/wireless/Kconfig 2011-12-06 17:06:18.000000000 +0100
+++ b/net/wireless/Kconfig 2011-12-06 20:41:08.000000000 +0100
@@ -121,15 +121,16 @@ config CFG80211_WEXT
config WIRELESS_EXT_SYSFS
bool "Wireless extensions sysfs files"
- default y
depends on WEXT_CORE && SYSFS
help
This option enables the deprecated wireless statistics
files in /sys/class/net/*/wireless/. The same information
is available via the ioctls as well.
- Say Y if you have programs using it, like old versions of
- hal.
+ Say N. If you know you have ancient tools requiring it,
+ like very old versions of hal (prior to 0.5.12 release),
+ say Y and update the tools as soon as possible as this
+ option will be removed soon.
config LIB80211
tristate "Common routines for IEEE802.11 drivers"
--- a/Documentation/feature-removal-schedule.txt 2011-12-06 17:06:18.000000000 +0100
+++ b/Documentation/feature-removal-schedule.txt 2011-12-06 20:42:23.000000000 +0100
@@ -263,8 +263,7 @@ Who: Ravikiran Thirumalai <kiran@scalex8
What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS
(in net/core/net-sysfs.c)
-When: After the only user (hal) has seen a release with the patches
- for enough time, probably some time in 2010.
+When: 3.5
Why: Over 1K .text/.data size reduction, data is available in other
ways (ioctls)
Who: Johannes Berg <johannes@sipsolutions.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-06 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 19:44 [PATCH] wireless: disable wext sysfs by default Johannes Berg
2011-12-06 19:45 ` [PATCH v2] " Johannes Berg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.