Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90150
b: refs/heads/master
c: d935713
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and John W. Linville committed Mar 13, 2008
1 parent c56a34b commit 19b3116
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 449 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7524d7d6de5d5d3f081de8cf5479819fad339661
refs/heads/master: d9357136ac4729f589543afb6b1d17d443ae4f71
10 changes: 0 additions & 10 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,6 @@ Who: Jean Delvare <khali@linux-fr.org>

---------------------------

What: rc80211-simple rate control algorithm for mac80211
When: 2.6.26
Files: net/mac80211/rc80211-simple.c
Why: This algorithm was provided for reference but always exhibited bad
responsiveness and performance and has some serious flaws. It has been
replaced by rc80211-pid.
Who: Stefano Brivio <stefano.brivio@polimi.it>

---------------------------

What (Why):
- include/linux/netfilter_ipv4/ipt_TOS.h ipt_tos.h header files
(superseded by xt_TOS/xt_tos target & match)
Expand Down
19 changes: 0 additions & 19 deletions trunk/net/mac80211/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ config MAC80211_RC_DEFAULT_PID
default rate control algorithm. You should choose
this unless you know what you are doing.

config MAC80211_RC_DEFAULT_SIMPLE
bool "Simple rate control algorithm"
select MAC80211_RC_SIMPLE
---help---
Select the simple rate control as the default rate
control algorithm. Note that this is a non-responsive,
dumb algorithm. You should choose the PID rate control
instead.

config MAC80211_RC_DEFAULT_NONE
bool "No default algorithm"
depends on EMBEDDED
Expand All @@ -57,7 +48,6 @@ comment "build the algorithm into mac80211."
config MAC80211_RC_DEFAULT
string
default "pid" if MAC80211_RC_DEFAULT_PID
default "simple" if MAC80211_RC_DEFAULT_SIMPLE
default ""

config MAC80211_RC_PID
Expand All @@ -70,15 +60,6 @@ config MAC80211_RC_PID
Say Y or M unless you're sure you want to use a
different rate control algorithm.

config MAC80211_RC_SIMPLE
tristate "Simple rate control algorithm (DEPRECATED)"
---help---
This option enables a very simple, non-responsive TX
rate control algorithm. This algorithm is deprecated
and will be removed from the kernel in the near future.
It has been replaced by the PID algorithm.

Say N unless you know what you are doing.
endmenu

config MAC80211_MESH
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/mac80211/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ mac80211-$(CONFIG_MAC80211_MESH) += \


# Build rate control algorithm(s)
CFLAGS_rc80211_simple.o += -DRC80211_SIMPLE_COMPILE
CFLAGS_rc80211_pid_algo.o += -DRC80211_PID_COMPILE
mac80211-$(CONFIG_MAC80211_RC_SIMPLE) += rc80211_simple.o
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc-pid-$(CONFIG_MAC80211_RC_PID))

# Modular rate algorithms are assigned to mac80211-m - make separate modules
Expand Down
9 changes: 1 addition & 8 deletions trunk/net/mac80211/ieee80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1803,13 +1803,9 @@ static int __init ieee80211_init(void)

BUILD_BUG_ON(sizeof(struct ieee80211_tx_packet_data) > sizeof(skb->cb));

ret = rc80211_simple_init();
if (ret)
goto out;

ret = rc80211_pid_init();
if (ret)
goto out_cleanup_simple;
goto out;

ret = ieee80211_wme_register();
if (ret) {
Expand All @@ -1824,15 +1820,12 @@ static int __init ieee80211_init(void)

out_cleanup_pid:
rc80211_pid_exit();
out_cleanup_simple:
rc80211_simple_exit();
out:
return ret;
}

static void __exit ieee80211_exit(void)
{
rc80211_simple_exit();
rc80211_pid_exit();

if (mesh_allocated)
Expand Down
15 changes: 0 additions & 15 deletions trunk/net/mac80211/ieee80211_rate.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,21 +171,6 @@ void rate_control_deinitialize(struct ieee80211_local *local);


/* Rate control algorithms */
#if defined(RC80211_SIMPLE_COMPILE) || \
(defined(CONFIG_MAC80211_RC_SIMPLE) && \
!defined(CONFIG_MAC80211_RC_SIMPLE_MODULE))
extern int rc80211_simple_init(void);
extern void rc80211_simple_exit(void);
#else
static inline int rc80211_simple_init(void)
{
return 0;
}
static inline void rc80211_simple_exit(void)
{
}
#endif

#if defined(RC80211_PID_COMPILE) || \
(defined(CONFIG_MAC80211_RC_PID) && \
!defined(CONFIG_MAC80211_RC_PID_MODULE))
Expand Down
Loading

0 comments on commit 19b3116

Please sign in to comment.