[PATCH v3] ath10k: add option for chip-id based BDF selection

Rakesh Pillai pillair at codeaurora.org
Tue Dec 8 00:01:42 EST 2020


Hi,


> -----Original Message-----
> From: Abhishek Kumar <kuabhs at chromium.org>
> Sent: Tuesday, December 8, 2020 4:50 AM
> To: kvalo at codeaurora.org
> Cc: linux-kernel at vger.kernel.org; kuabhs at chromium.org; linux-
> wireless at vger.kernel.org; ath10k at lists.infradead.org;
> pillair at codeaurora.org; briannorris at chromium.org;
> dianders at chromium.org; David S. Miller <davem at davemloft.net>; Jakub
> Kicinski <kuba at kernel.org>; netdev at vger.kernel.org
> Subject: [PATCH v3] ath10k: add option for chip-id based BDF selection
> 
> In some devices difference in chip-id should be enough to pick
> the right BDF. Add another support for chip-id based BDF selection.
> With this new option, ath10k supports 2 fallback options.
> 
> The board name with chip-id as option looks as follows
> board name 'bus=snoc,qmi-board-id=ff,qmi-chip-id=320'
> 
> Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2-00696-QCAHLSWMTPL-1
> Tested-on: QCA6174 HW3.2 WLAN.RM.4.4.1-00157-QCARMSWPZ-1
> Signed-off-by: Abhishek Kumar <kuabhs at chromium.org>
> ---
> 
> Changes in v3:
> - Resurreted Patch V1 because as per discussion we do need two
> fallback board names and refactored ath10k_core_create_board_name.
> 
>  drivers/net/wireless/ath/ath10k/core.c | 41 +++++++++++++++++++-------
>  1 file changed, 30 insertions(+), 11 deletions(-)

Reviewed-by: Rakesh Pillai <pillair at codeaurora.org>

Thanks,
Rakesh Pillai.





More information about the ath10k mailing list