mbox series

[0/9] wifi: ath12k: MBSSID and EMA AP support

Message ID 20240402210538.7308-1-quic_alokad@quicinc.com
Headers show
Series wifi: ath12k: MBSSID and EMA AP support | expand

Message

Aloka Dixit April 2, 2024, 9:05 p.m. UTC
Add support for multiple BSSID (MBSSID) and enhanced multi-BSSID
advertisements (EMA) features in AP mode. Set extended capabilities,
WMI resource configurations to advertise the driver support to
userspace and to firmware. Configure each MBSSID profile by sending
BSSID index, total BSS count to firmware. Retrieve and propagate
MBSSID/EMA beacon templates to firmware. Set the arvif security
parameters for non-transmitting profiles.

This series has been tested on QCN9274 for AP mode but not on
WCN7850 as STA support is not part of this version.

One issue unrelated to these driver changes but seen with these:
cfg80211_mlme_mgmt_tx() fails when hostapd tries to send a Probe
Response for a directed probe request for a nontransmitted interface.
Failure happens because both cfg80211_allowed_address() and
cfg80211_allowed_random_address() return false when SA is that of the
transmitted interface but wdev points to the nontransmitted interface.
Association is successful and pings work. Issue is not seen with
hostapd version up to commit ID 3cd377eb54e7 ("MLD: Ignore failed links
from association attempt") so will debug commit ID 82453a3482c4
("AP: Split Probe Response frame IE generation into a separate
function") and commit ID 6b5e00a80e5f ("AP: Use a struct for Probe
Response generation in/out params").

Aloka Dixit (9):
  wifi: ath12k: advertise driver capabilities for MBSSID and EMA
  wifi: ath12k: configure MBSSID params in vdev create/start
  wifi: ath12k: rename MBSSID fields in wmi_vdev_up_cmd
  wifi: ath12k: create a structure for WMI vdev up parameters
  wifi: ath12k: configure MBSSID parameters in AP mode
  wifi: ath12k: refactor arvif security parameter configuration
  wifi: ath12k: add MBSSID beacon support
  wifi: ath12k: add EMA beacon support
  wifi: ath12k: skip sending vdev down for channel switch

 drivers/net/wireless/ath/ath12k/hw.h  |   1 +
 drivers/net/wireless/ath/ath12k/mac.c | 324 +++++++++++++++++++++-----
 drivers/net/wireless/ath/ath12k/wmi.c |  40 +++-
 drivers/net/wireless/ath/ath12k/wmi.h |  46 +++-
 4 files changed, 345 insertions(+), 66 deletions(-)


base-commit: fe7e1b830cf3c0272aa4eaf367c4c7b29c169c3d