diff options
author | 2025-04-18 10:55:38 +0800 | |
---|---|---|
committer | 2025-05-16 12:38:52 -0700 | |
commit | 75639b743515537b6ee56bb89c857aaf8726713a (patch) | |
tree | e256adbb5a54ff5ae47ee7b75912ba0e60836c34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: ath12k: add support to select 6 GHz regulatory type (diff) | |
download | wireguard-linux-75639b743515537b6ee56bb89c857aaf8726713a.tar.xz wireguard-linux-75639b743515537b6ee56bb89c857aaf8726713a.zip |
wifi: ath12k: move reg info handling outside
The reg info is allocated in ath12k_reg_chan_list_event() but validated
in ath12k_reg_handle_chan_list(). Currently this is good since reg info
would be freed regardless of validation results. However in an upcoming
patch the reg info might need to be stored for later use if the result
is good. Since we can not tell the result from return value of
ath12k_reg_handle_chan_list(), we need to move validation out of it.
Add a new helper ath12k_reg_validate_reg_info() and call it in
ath12k_reg_chan_list_event(), based on the result we can choose to store
or free it in the following patch.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250418-ath12k-6g-lp-vlp-v1-5-c869c86cad60@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions