Johannes Berg
96aa2e7cf1
mac80211: calculate min channel width correctly
...
In the current minimum chandef code there's an issue in that the
recalculation can happen after rate control is initialized for a
station that has a wider bandwidth than the current chanctx, and
then rate control can immediately start using those higher rates
which could cause problems.
Observe that first of all that this problem is because we don't
take non-associated and non-uploaded stations into account. The
restriction to non-associated is quite pointless and is one of
the causes for the problem described above, since the rate init
will happen before the station is set to associated; no frames
could actually be sent until associated, but the rate table can
already contain higher rates and that might cause problems.
Also, rejecting non-uploaded stations is wrong, since the rate
control can select higher rates for those as well.
Secondly, it's then necessary to recalculate the minimal config
before initializing rate control, so that when rate control is
initialized, the higher rates are already available. This can be
done easily by adding the necessary function call in rate init.
Change-Id: Ib9bc02d34797078db55459d196993f39dcd43070
Signed-off-by: Johannes Berg <[email protected] >
2017-01-11 16:34:51 +01:00
..
6lowpan
9p
802
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
8021q
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
appletalk
atm
net: atm: Fix warnings in net/atm/lec.c when !CONFIG_PROC_FS
2016-12-28 15:11:32 -05:00
ax25
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
batman-adv
bluetooth
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2016-12-16 10:24:44 -08:00
bridge
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2017-01-05 11:49:57 -05:00
caif
can
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
ceph
libceph: remove now unused finish_request() wrapper
2016-12-14 22:39:08 +01:00
core
drop_monitor: consider inserted data in genlmsg_end
2017-01-03 11:09:44 -05:00
dcb
dccp
decnet
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
dns_resolver
dsa
ethernet
hsr
ieee802154
Makefile: drop -D__CHECK_ENDIAN__ from cflags
2016-12-16 00:13:43 +02:00
ipv4
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2017-01-05 11:49:57 -05:00
ipv6
vti6: fix device register to report IFLA_INFO_KIND
2017-01-06 16:09:09 -05:00
ipx
ktime: Get rid of the union
2016-12-25 17:21:22 +01:00
irda
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
iucv
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-12-12 19:25:04 -08:00
kcm
key
l2tp
l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups
2017-01-01 22:07:20 -05:00
l3mdev
lapb
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
llc
mac80211
mac80211: calculate min channel width correctly
2017-01-11 16:34:51 +01:00
mac802154
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
mpls
ncsi
netfilter
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
2017-01-05 11:49:57 -05:00
netlabel
netlabel: add CALIPSO to the list of built-in protocols
2017-01-06 22:20:45 -05:00
netlink
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
netrom
nfc
openvswitch
openvswitch: upcall: Fix vlan handling.
2016-12-27 12:28:07 -05:00
packet
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
phonet
qrtr
rds
RDS: use rb_entry()
2016-12-20 14:22:49 -05:00
rfkill
rose
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
rxrpc
rxrpc: abstract away knowledge of IDR internals
2016-12-14 16:04:10 -08:00
sched
net/sched: cls_flower: Fix missing addr_type in classify
2016-12-28 14:28:13 -05:00
sctp
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
strparser
sunrpc
ktime: Get rid of the union
2016-12-25 17:21:22 +01:00
switchdev
tipc
tipc: don't send FIN message from connectionless socket
2016-12-23 17:53:47 -05:00
unix
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
vmw_vsock
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-12-17 20:17:04 -08:00
wimax
wireless
cfg80211: consider VHT opmode on station update
2017-01-11 16:34:25 +01:00
x25
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
xfrm
ktime: Cleanup ktime_set() usage
2016-12-25 17:21:22 +01:00
compat.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
Kconfig
Makefile
socket.c
net: socket: don't set sk_uid to garbage value in ->setattr()
2017-01-01 11:53:34 -05:00
sysctl_net.c