diff options
| author | Baochen Qiang <[email protected]> | 2025-04-18 02:55:36 +0000 |
|---|---|---|
| committer | Jeff Johnson <[email protected]> | 2025-05-16 19:38:52 +0000 |
| commit | c96bce15c568fdb8edd29b35aeb0f20c2524108c (patch) | |
| tree | ea962bbef51500fbf6eac9979144c3b40fdb38d0 /drivers/net/wireless/ath/ath12k/wmi.c | |
| parent | wifi: ath12k: refactor ath12k_reg_chan_list_event() (diff) | |
| download | kernel-c96bce15c568fdb8edd29b35aeb0f20c2524108c.tar.gz kernel-c96bce15c568fdb8edd29b35aeb0f20c2524108c.zip | |
wifi: ath12k: refactor ath12k_reg_build_regd()
Currently we pass intersect flag to tell ath12k_reg_build_regd() whether
regulatory rulse are intersected. This flag is determined in
ath12k_reg_handle_chan_list() and has no other users.
Move related logic into ath12k_reg_build_regd() to make code clear. Also
relocate ath12k_reg_is_world_alpha() to avoid forward declaration, and
refine it for code simplicity.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Signed-off-by: Baochen Qiang <[email protected]>
Reviewed-by: Vasanthakumar Thiagarajan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'drivers/net/wireless/ath/ath12k/wmi.c')
0 files changed, 0 insertions, 0 deletions
