]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath11k: fix TPE power levels
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 19:37:55 +0000 (21:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:35:02 +0000 (10:35 +0200)
commitcaa12b3dd44996f63b8dd0d842c68866d4ead307
treef3ec0d4f68e975add3d552ae4077ce8c33214c26
parent8592fd7ccc95a7cf222985e6297041463e8b4e9d
wifi: ath11k: fix TPE power levels

The chanctx can be shared, but it seems like the TPE values for
this vif should only reflect the channel that the vif uses, which
is captured in bss_conf->chanreq.oper rather than the chanctx.
Use that when calculating defaults, a similar issue is where the
data from the AP is processed, but I'm moving that to mac80211.

Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240506214536.d99fcf5856b9.I359bb401ea74bf82dc981a86a7ca3fa44d169d2e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath11k/mac.c