mac80211: copy configured beacon tx rate to driver
authorRajkumar Manoharan <rmanohar@codeaurora.org>
Sat, 3 Oct 2020 22:04:18 +0000 (15:04 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Oct 2020 10:26:35 +0000 (12:26 +0200)
commitba6ff70a3bb76c1ff440d3a0044b82e97abb648f
tree84c01552b57fd74895cf93ab867eafdd2ea81c9d
parentefc7d01a9ecdc59946fad1743d96a0db9925064c
mac80211: copy configured beacon tx rate to driver

The user is allowed to change beacon tx rate (HT/VHT/HE) from hostapd.
This information needs to be passed to the driver when the rate control
is offloaded to the firmware. The driver capability of allowing beacon
rate is already validated in cfg80211, so simply passing the rate
information to the driver is enough.

Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
Link: https://lore.kernel.org/r/1601762658-15627-1-git-send-email-rmanohar@codeaurora.org
[adjust commit message slightly]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c