Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> wrote: > rtw_hw_queue_mapping() and ac_to_hwq[] hold values of type enum > rtw_tx_queue_type. Change their types to reflect this to make it easier > to understand this part of the code. > > While here, also change the array to be static const as it is not > supposed to be modified at runtime. > > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> > Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx> > Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 4 patches applied to wireless-next.git, thanks. 6152b649a708 wifi: rtw88: pci: Use enum type for rtw_hw_queue_mapping() and ac_to_hwq c90897960c19 wifi: rtw88: pci: Change queue datatype to enum rtw_tx_queue_type 7b6e9df91133 wifi: rtw88: Move enum rtw_tx_queue_type mapping code to tx.{c,h} 24d54855ff36 wifi: rtw88: mac: Use existing macros in rtw_pwr_seq_parser() -- https://patchwork.kernel.org/project/linux-wireless/patch/20230204233001.1511643-2-martin.blumenstingl@xxxxxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches