[PATCH] wifi: ath11k: refactor ath11k_wmi_tlv_parse_alloc()
Kalle Valo
kvalo at kernel.org
Thu Dec 14 08:40:38 PST 2023
Dmitry Antipov <dmantipov at yandex.ru> writes:
> Since 'ath11k_wmi_tlv_parse_alloc()' always operates on
> 'skb->data, skb->len' tuple, it may be simplified to pass
> the only 'skb' argument instead (which also implies
> refactoring of 'ath11k_pull_bcn_tx_status_ev()' and
> 'ath11k_pull_chan_info_ev()' in the same way). Compile
> tested only.
>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> ---
> drivers/net/wireless/ath/ath11k/testmode.c | 2 +-
> drivers/net/wireless/ath/ath11k/wmi.c | 73 +++++++++++-----------
> drivers/net/wireless/ath/ath11k/wmi.h | 4 +-
> 3 files changed, 39 insertions(+), 40 deletions(-)
Please Cc ath11k list for all ath11k patches, added it now. No need to
resend because of this.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list