mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
wifi: rtw89: fw: update role_maintain H2C command for roles operating on band 1
Add new fields band and port ID to make chips operating on the band and port ID other than 0, so that multiple vif(s) can be working at the same time. Signed-off-by: Po-Hao Huang <phhuang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250227131228.8457-3-pkshih@realtek.com
This commit is contained in:
parent
385eff211e
commit
b521af1dcd
|
|
@ -3934,7 +3934,10 @@ int rtw89_fw_h2c_role_maintain(struct rtw89_dev *rtwdev,
|
|||
le32_encode_bits(self_role, RTW89_H2C_ROLE_MAINTAIN_W0_SELF_ROLE) |
|
||||
le32_encode_bits(upd_mode, RTW89_H2C_ROLE_MAINTAIN_W0_UPD_MODE) |
|
||||
le32_encode_bits(rtwvif_link->wifi_role,
|
||||
RTW89_H2C_ROLE_MAINTAIN_W0_WIFI_ROLE);
|
||||
RTW89_H2C_ROLE_MAINTAIN_W0_WIFI_ROLE) |
|
||||
le32_encode_bits(rtwvif_link->mac_idx,
|
||||
RTW89_H2C_ROLE_MAINTAIN_W0_BAND) |
|
||||
le32_encode_bits(rtwvif_link->port, RTW89_H2C_ROLE_MAINTAIN_W0_PORT);
|
||||
|
||||
rtw89_h2c_pkt_set_hdr(rtwdev, skb, FWCMD_TYPE_H2C,
|
||||
H2C_CAT_MAC, H2C_CL_MAC_MEDIA_RPT,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user