developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame^] | 1 | From 2fe477b8db9ab494a975a565a28e35fff76505d1 Mon Sep 17 00:00:00 2001 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 2 | From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 3 | Date: Thu, 16 Mar 2023 16:09:51 +0800 |
developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 19/39] wifi: mt76: mt7996: fix beamform mcu cmd configuration |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 5 | |
| 6 | bf_num means how many band can support beamform, so the value shall be 3. |
| 7 | bf_bitmap represents which band can support beamform. |
| 8 | --- |
| 9 | mt7996/mcu.c | 4 ++-- |
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame^] | 13 | index 349c20e..62e4869 100644 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 14 | --- a/mt7996/mcu.c |
| 15 | +++ b/mt7996/mcu.c |
developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame^] | 16 | @@ -3444,8 +3444,8 @@ int mt7996_mcu_set_txbf(struct mt7996_dev *dev, u8 action) |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 17 | |
| 18 | tlv = mt7996_mcu_add_uni_tlv(skb, action, sizeof(*req_mod_en)); |
| 19 | req_mod_en = (struct bf_mod_en_ctrl *)tlv; |
| 20 | - req_mod_en->bf_num = 2; |
| 21 | - req_mod_en->bf_bitmap = GENMASK(0, 0); |
| 22 | + req_mod_en->bf_num = 3; |
| 23 | + req_mod_en->bf_bitmap = GENMASK(2, 0); |
| 24 | break; |
| 25 | } |
| 26 | default: |
| 27 | -- |
developer | 064da3c | 2023-06-13 15:57:26 +0800 | [diff] [blame^] | 28 | 2.18.0 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 29 | |