Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote: > From: Wen Gong <wgong@xxxxxxxxxxxxxx> > > Add support for a vendor command for STATION, the command > QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS which is already defined in > git://w1.fi/hostap.git (src/command/qca-vendor.h). This allows user > space to configure power limits for 2.4 GHz and 5 GHz bands. > > ath10k set pdev parameter WMI_PDEV_PARAM_TXPOWER_LIMIT2G and > WMI_PDEV_PARAM_TXPOWER_LIMIT5G to firmware, the 2 value will > be used as one input source to affect the tx power. > > When QCA_NL80211_VENDOR_SUBCMD_SET_SAR_LIMITS set to ath10k, it will > be saved the 2.4G and 5G limit value, If STATION is connected meanwhile, > then the 2.4G and 5G WMI command will be set to firmware, otherwise > it will not set to firmware at this moment. When STATION connect > next time, it will set to firmware. > > Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00029. > > Signed-off-by: Wen Gong <wgong@xxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> I'll drop this from my queue now and will resend once there's a concensus on what interface to use. Patch set to Changes Requested. -- https://patchwork.kernel.org/patch/11301107/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches