Skip to content

Commit a2fad24

Browse files
zijun-huVudentz
authored andcommitted
Bluetooth: qca: Fix poor RF performance for WCN6855
For WCN6855, board ID specific NVM needs to be downloaded once board ID is available, but the default NVM is always downloaded currently. The wrong NVM causes poor RF performance, and effects user experience for several types of laptop with WCN6855 on the market. Fix by downloading board ID specific NVM if board ID is available. Fixes: 095327f ("Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855") Cc: [email protected] # 6.4 Signed-off-by: Zijun Hu <[email protected]> Tested-by: Johan Hovold <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Tested-by: Steev Klimaszewski <[email protected]> #Thinkpad X13s Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 0f8a001 commit a2fad24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/bluetooth/btqca.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,9 @@ int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
909909
"qca/msnv%02x.bin", rom_ver);
910910
break;
911911
case QCA_WCN6855:
912-
snprintf(config.fwname, sizeof(config.fwname),
913-
"qca/hpnv%02x.bin", rom_ver);
912+
qca_read_fw_board_id(hdev, &boardid);
913+
qca_get_nvm_name_by_board(config.fwname, sizeof(config.fwname),
914+
"hpnv", soc_type, ver, rom_ver, boardid);
914915
break;
915916
case QCA_WCN7850:
916917
qca_get_nvm_name_by_board(config.fwname, sizeof(config.fwname),

0 commit comments

Comments
 (0)