Skip to content

Commit 20edb50

Browse files
linvjwjmberg-intel
authored andcommitted
mac80211: remove PID rate control
Minstrel has long since proven its worth. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 7171511 commit 20edb50

8 files changed

Lines changed: 0 additions & 1036 deletions

File tree

‎MAINTAINERS‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5629,16 +5629,6 @@ F: Documentation/networking/mac80211-injection.txt
56295629
F: include/net/mac80211.h
56305630
F: net/mac80211/
56315631

5632-
MAC80211 PID RATE CONTROL
5633-
M: Stefano Brivio <stefano.brivio@polimi.it>
5634-
M: Mattias Nissler <mattias.nissler@gmx.de>
5635-
L: linux-wireless@vger.kernel.org
5636-
W: http://wireless.kernel.org/en/developers/Documentation/mac80211/RateControl/PID
5637-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git
5638-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
5639-
S: Maintained
5640-
F: net/mac80211/rc80211_pid*
5641-
56425632
MACVLAN DRIVER
56435633
M: Patrick McHardy <kaber@trash.net>
56445634
L: netdev@vger.kernel.org

‎net/mac80211/Kconfig‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ if MAC80211 != n
1919
config MAC80211_HAS_RC
2020
bool
2121

22-
config MAC80211_RC_PID
23-
bool "PID controller based rate control algorithm" if EXPERT
24-
select MAC80211_HAS_RC
25-
---help---
26-
This option enables a TX rate control algorithm for
27-
mac80211 that uses a PID controller to select the TX
28-
rate.
29-
3022
config MAC80211_RC_MINSTREL
3123
bool "Minstrel" if EXPERT
3224
select MAC80211_HAS_RC
@@ -51,14 +43,6 @@ choice
5143
overridden through the ieee80211_default_rc_algo module
5244
parameter if different algorithms are available.
5345

54-
config MAC80211_RC_DEFAULT_PID
55-
bool "PID controller based rate control algorithm"
56-
depends on MAC80211_RC_PID
57-
---help---
58-
Select the PID controller based rate control as the
59-
default rate control algorithm. You should choose
60-
this unless you know what you are doing.
61-
6246
config MAC80211_RC_DEFAULT_MINSTREL
6347
bool "Minstrel"
6448
depends on MAC80211_RC_MINSTREL
@@ -72,7 +56,6 @@ config MAC80211_RC_DEFAULT
7256
string
7357
default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
7458
default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
75-
default "pid" if MAC80211_RC_DEFAULT_PID
7659
default ""
7760

7861
endif

‎net/mac80211/Makefile‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,12 @@ mac80211-$(CONFIG_PM) += pm.o
4747

4848
CFLAGS_trace.o := -I$(src)
4949

50-
# objects for PID algorithm
51-
rc80211_pid-y := rc80211_pid_algo.o
52-
rc80211_pid-$(CONFIG_MAC80211_DEBUGFS) += rc80211_pid_debugfs.o
53-
5450
rc80211_minstrel-y := rc80211_minstrel.o
5551
rc80211_minstrel-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_debugfs.o
5652

5753
rc80211_minstrel_ht-y := rc80211_minstrel_ht.o
5854
rc80211_minstrel_ht-$(CONFIG_MAC80211_DEBUGFS) += rc80211_minstrel_ht_debugfs.o
5955

60-
mac80211-$(CONFIG_MAC80211_RC_PID) += $(rc80211_pid-y)
6156
mac80211-$(CONFIG_MAC80211_RC_MINSTREL) += $(rc80211_minstrel-y)
6257
mac80211-$(CONFIG_MAC80211_RC_MINSTREL_HT) += $(rc80211_minstrel_ht-y)
6358

‎net/mac80211/main.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,18 +1187,12 @@ static int __init ieee80211_init(void)
11871187
if (ret)
11881188
goto err_minstrel;
11891189

1190-
ret = rc80211_pid_init();
1191-
if (ret)
1192-
goto err_pid;
1193-
11941190
ret = ieee80211_iface_init();
11951191
if (ret)
11961192
goto err_netdev;
11971193

11981194
return 0;
11991195
err_netdev:
1200-
rc80211_pid_exit();
1201-
err_pid:
12021196
rc80211_minstrel_ht_exit();
12031197
err_minstrel:
12041198
rc80211_minstrel_exit();
@@ -1208,7 +1202,6 @@ static int __init ieee80211_init(void)
12081202

12091203
static void __exit ieee80211_exit(void)
12101204
{
1211-
rc80211_pid_exit();
12121205
rc80211_minstrel_ht_exit();
12131206
rc80211_minstrel_exit();
12141207

‎net/mac80211/rate.h‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,6 @@ void rate_control_deinitialize(struct ieee80211_local *local);
143143

144144

145145
/* Rate control algorithms */
146-
#ifdef CONFIG_MAC80211_RC_PID
147-
int rc80211_pid_init(void);
148-
void rc80211_pid_exit(void);
149-
#else
150-
static inline int rc80211_pid_init(void)
151-
{
152-
return 0;
153-
}
154-
static inline void rc80211_pid_exit(void)
155-
{
156-
}
157-
#endif
158-
159146
#ifdef CONFIG_MAC80211_RC_MINSTREL
160147
int rc80211_minstrel_init(void);
161148
void rc80211_minstrel_exit(void);

‎net/mac80211/rc80211_pid.h‎

Lines changed: 0 additions & 278 deletions
This file was deleted.

0 commit comments

Comments
 (0)