Maharaja Kennadyrajan <quic_mkenna@xxxxxxxxxxx> wrote: > Relocate the function ath11k_mac_bitrate_mask_num_ht_rates() definition > to call this function from other functions which helps to avoid the > compilation error (function not defined). > > ht_mcs[] is 1 byte array and it is enough to use hweight8() instead > of hweight16(). Hence, fixed the same. > > Tested on: Compile tested only. > > Signed-off-by: Maharaja Kennadyrajan <quic_mkenna@xxxxxxxxxxx> I took v1 instead: https://patchwork.kernel.org/project/linux-wireless/list/?series=744909&state=*&order=date 2 patches set to Superseded. 13236705 [v2,1/2] ath11k: Relocate the func ath11k_mac_bitrate_mask_num_ht_rates() and change hweight16 to hweight8 13236704 [v2,2/2] ath11k: Send HT fixed rate in WMI peer fixed param -- https://patchwork.kernel.org/project/linux-wireless/patch/20230510100242.1241752-2-quic_mkenna@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches