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

From: Doug Anderson
Date: Mon Dec 07 2020 - 19:04:02 EST


Hi,

On Mon, Dec 7, 2020 at 3:23 PM Abhishek Kumar <kuabhs@xxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxx>
> ---
>
> 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: Douglas Anderson <dianders@xxxxxxxxxxxx>