mbox series

[v3,0/3] wifi: ath11k: add support to parse new WMI event for 6 GHz

Message ID 20230110121024.14051-1-quic_adisi@quicinc.com
Headers show
Series wifi: ath11k: add support to parse new WMI event for 6 GHz | expand

Message

Aditya Kumar Singh Jan. 10, 2023, 12:10 p.m. UTC
In order to support different power levels of 6 GHz AP and client,
new WMI event for regulatory - WMI_REG_CHAN_LIST_CC_EXT_EVENTID is
added in firmware. This event provides new parameters required for
6 GHz regulatory rules.

Firmware advertises its capability of handling new event in WMI
service ready event. Based on that, host needs to set
host_service_flags in WMI init command to indicate that host supports
processing of new WMI event. Based on advertised host capability,
firmware decides to send old event WMI_REG_CHAN_LIST_CC_EVENTID or
new event WMI_REG_CHAN_LIST_CC_EXT_EVENTID.

Add support for parsing 2.4 GHz, 5 GHz and 6 GHz reg rules and other
parameters from WMI_REG_CHAN_LIST_CC_EXT_EVENTID.

Aditya Kumar Singh (3):
  wifi: ath11k: use proper regulatory reference for bands
  wifi: ath11k: add support to parse new WMI event for 6 GHz
  wifi: ath11k: add debug prints in regulatory WMI event processing
---
v3: fix new warnings in [2/3] and [3/3]. (exceeds 90 columns warnings)

v2: fix warning reported by kernel test robot in [2/3]
---
 drivers/net/wireless/ath/ath11k/reg.c |  59 ++-
 drivers/net/wireless/ath/ath11k/wmi.c | 571 +++++++++++++++++++++++---
 drivers/net/wireless/ath/ath11k/wmi.h | 333 +++++++++++++--
 3 files changed, 873 insertions(+), 90 deletions(-)


base-commit: 5834aa7099b0f7c16cfc24af0aca4e065c568347