mbox series

[0/3] ath11k: add support for mgmt and mcast rate control

Message ID 20190705103109.3731-1-sven@narfation.org (mailing list archive)
Headers show
Series ath11k: add support for mgmt and mcast rate control | expand

Message

Sven Eckelmann July 5, 2019, 10:31 a.m. UTC
Hi,

The management frames and multicast frames have to be sent at a basic
rate. But the ath11k firmware is always doing them on 1 Mbit/s for
2.4GHz and 6 Mbit/s for 5GHz. These might not be the basic rates which
the AP advertised. Clients which don't support these rates will
therefore not be able to receive them correctly.

Also some mesh protocols try to estimate the probability of a successful
submission of broadcast/multicast frames. In such setups, the multicast
rate is usually manually set to an higher value to better simulate the
rates which are used for unicast transmission.

mac80211 already provides a list of rates for the driver. ath11k has to
pick the lowest one (or only provided one) and send it to the firmware
rate control.


Unfortunately, the firmware WLAN.HK.2.1.0.1-00629-QCAHKSWPL_SILICONZ-1
seems to be buggy [1] and ignores the CCK preamble. So setting the CCK
rates 1M, 2M, 5.5M and 11M will then result in OFDM rates 6M, 12M, 24M,
48M.

Kind regards,
	Sven

[1] at least this is my best guess

Sven Eckelmann (3):
  ath11k: support for multicast rate control
  ath11k: support for mgmt rate control
  ath11k: apply mgmt rate for beacons

 drivers/net/wireless/ath/ath11k/mac.c | 119 ++++++++++++++++++++++++++
 1 file changed, 119 insertions(+)