mbox series

[v2,0/1,SRU,oem-5.14] Include the QCA WCN 6856 v2.1 support

Message ID 20220128120424.384168-1-vicamo.yang@canonical.com
Headers show
Series Include the QCA WCN 6856 v2.1 support | expand

Message

You-Sheng Yang Jan. 28, 2022, 12:04 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1954938

[Impact]

WCN685x hw2.1 takes additional/updated firmware for both WiFi and
Bluetooth function.

ath11k_pci 0000:71:00.0: BAR 0: assigned [mem 0xa6000000-0xa61fffff 64bit]
ath11k_pci 0000:71:00.0: enabling device (0000 -> 0002)
ath11k_pci 0000:71:00.0: Unsupported WCN6855 SOC hardware version: 18 17
ath11k_pci: probe of 0000:71:00.0 failed with error -95

[Fix]

WCN685x hw2.1 currently shares most WiFi firmware with hw2.0 except
for the directory path and a board-2.bin.

For Bluetooth, updated revision of qca/nvm_usb_00130201_gf* from
mainline are neccessary for Focal. Jammy has all of them already.

For kernel, many of the prerequisite works have been committed for
hw2.0 in bug 1945154, 1952215 and 1958850. Currently, while WiFi 6G
will be turned off for the lack of userspace support, the only fix
necessary is to correct read mask of version info register.

ath11k 6G band lives in mainline v5.16 and was backported to oem-5.14
in bug 1939528, so only oem-5.14 has to be reverted.

[Test Case]

WiFi and Bluetooth devices should be up and running, pass basic
operations.

$ lspci -nnk|grep -A3 Network
0000:71:00.0 Network controller [0280]: Qualcomm Device [17cb:1103] (rev 01)
        Subsystem: Foxconn International, Inc. Device [105b:e0ce]
        Kernel driver in use: ath11k_pci
        Kernel modules: ath11k_pci

$ lsusb
Bus 003 Device 004: ID 0489:e0e3 Foxconn / Hon Hai

[Where problems could occur]

At the time being, WCN685x WiFi 6G support will be turnef off
deliberately due to the lack of full support in the userspace
management tools.

[Other Info]

While this is a new hardware model from OEM program, it's only
nominated for Focal oem-5.14 kernel and the coming LTS Jammy.

V2: revert "ath11k: enable 6G channels for WCN6855"

You-Sheng Yang (2):
  Revert "ath11k: enable 6G channels for WCN6855"
  UBUNTU: SAUCE: ath11k: shrink TCSR read mask for WCN6855 hw2.1

 drivers/net/wireless/ath/ath11k/mac.c | 25 +++++++++----------------
 drivers/net/wireless/ath/ath11k/pci.c |  2 +-
 2 files changed, 10 insertions(+), 17 deletions(-)

Comments

Timo Aaltonen Feb. 4, 2022, 10:26 a.m. UTC | #1
You-Sheng Yang kirjoitti 28.1.2022 klo 14.04:
> BugLink: https://bugs.launchpad.net/bugs/1954938
> 
> [Impact]
> 
> WCN685x hw2.1 takes additional/updated firmware for both WiFi and
> Bluetooth function.
> 
> ath11k_pci 0000:71:00.0: BAR 0: assigned [mem 0xa6000000-0xa61fffff 64bit]
> ath11k_pci 0000:71:00.0: enabling device (0000 -> 0002)
> ath11k_pci 0000:71:00.0: Unsupported WCN6855 SOC hardware version: 18 17
> ath11k_pci: probe of 0000:71:00.0 failed with error -95
> 
> [Fix]
> 
> WCN685x hw2.1 currently shares most WiFi firmware with hw2.0 except
> for the directory path and a board-2.bin.
> 
> For Bluetooth, updated revision of qca/nvm_usb_00130201_gf* from
> mainline are neccessary for Focal. Jammy has all of them already.
> 
> For kernel, many of the prerequisite works have been committed for
> hw2.0 in bug 1945154, 1952215 and 1958850. Currently, while WiFi 6G
> will be turned off for the lack of userspace support, the only fix
> necessary is to correct read mask of version info register.
> 
> ath11k 6G band lives in mainline v5.16 and was backported to oem-5.14
> in bug 1939528, so only oem-5.14 has to be reverted.
> 
> [Test Case]
> 
> WiFi and Bluetooth devices should be up and running, pass basic
> operations.
> 
> $ lspci -nnk|grep -A3 Network
> 0000:71:00.0 Network controller [0280]: Qualcomm Device [17cb:1103] (rev 01)
>          Subsystem: Foxconn International, Inc. Device [105b:e0ce]
>          Kernel driver in use: ath11k_pci
>          Kernel modules: ath11k_pci
> 
> $ lsusb
> Bus 003 Device 004: ID 0489:e0e3 Foxconn / Hon Hai
> 
> [Where problems could occur]
> 
> At the time being, WCN685x WiFi 6G support will be turnef off
> deliberately due to the lack of full support in the userspace
> management tools.
> 
> [Other Info]
> 
> While this is a new hardware model from OEM program, it's only
> nominated for Focal oem-5.14 kernel and the coming LTS Jammy.
> 
> V2: revert "ath11k: enable 6G channels for WCN6855"
> 
> You-Sheng Yang (2):
>    Revert "ath11k: enable 6G channels for WCN6855"
>    UBUNTU: SAUCE: ath11k: shrink TCSR read mask for WCN6855 hw2.1
> 
>   drivers/net/wireless/ath/ath11k/mac.c | 25 +++++++++----------------
>   drivers/net/wireless/ath/ath11k/pci.c |  2 +-
>   2 files changed, 10 insertions(+), 17 deletions(-)
> 

applied to oem-5.14, thanks