developer | ebda901 | 2024-02-22 13:42:45 +0800 | [diff] [blame^] | 1 | From b3d10fbe8c8faec735dc2f083debc7c3c802c043 Mon Sep 17 00:00:00 2001 |
developer | d243af0 | 2023-12-21 14:49:33 +0800 | [diff] [blame] | 2 | From: Rex Lu <rex.lu@mediatek.com> |
| 3 | Date: Wed, 29 Nov 2023 15:51:04 +0800 |
developer | ebda901 | 2024-02-22 13:42:45 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 2019/2032] mtk: wifi: mt76: mt7996: Refactor rro del ba |
developer | d243af0 | 2023-12-21 14:49:33 +0800 | [diff] [blame] | 5 | command format |
| 6 | |
| 7 | 1. remove unused struct |
| 8 | 2. refactor upstream del ba command format |
| 9 | |
| 10 | Signed-off-by: Rex Lu <rex.lu@mediatek.com> |
| 11 | --- |
| 12 | mt7996/mcu.h | 50 +++----------------------------------------------- |
| 13 | 1 file changed, 3 insertions(+), 47 deletions(-) |
| 14 | |
| 15 | diff --git a/mt7996/mcu.h b/mt7996/mcu.h |
| 16 | index 7b8540f6..a05dd6a5 100644 |
| 17 | --- a/mt7996/mcu.h |
| 18 | +++ b/mt7996/mcu.h |
| 19 | @@ -273,7 +273,9 @@ struct mt7996_mcu_wed_rro_ba_delete_event { |
| 20 | __le16 len; |
| 21 | |
| 22 | __le16 session_id; |
| 23 | - u8 __rsv2[2]; |
| 24 | + __le16 mld_id; |
| 25 | + u8 tid; |
| 26 | + u8 __rsv[3]; |
| 27 | } __packed; |
| 28 | |
| 29 | enum { |
| 30 | @@ -298,52 +300,6 @@ struct mt7996_mcu_thermal_notify { |
| 31 | u8 __rsv2[4]; |
| 32 | } __packed; |
| 33 | |
| 34 | -struct mt7996_mcu_rro_event { |
| 35 | - struct mt7996_mcu_rxd rxd; |
| 36 | - |
| 37 | - u8 __rsv1[4]; |
| 38 | - |
| 39 | - __le16 tag; |
| 40 | - __le16 len; |
| 41 | -} __packed; |
| 42 | - |
| 43 | -struct mt7996_mcu_rro_ba { |
| 44 | - __le16 tag; |
| 45 | - __le16 len; |
| 46 | - |
| 47 | - __le16 wlan_id; |
| 48 | - u8 tid; |
| 49 | - u8 __rsv1; |
| 50 | - __le32 status; |
| 51 | - __le16 session_id; |
| 52 | - u8 __rsv2[2]; |
| 53 | -} __packed; |
| 54 | - |
| 55 | -struct mt7996_mcu_rro_ba_del_chk_done { |
| 56 | - __le16 tag; |
| 57 | - __le16 len; |
| 58 | - |
| 59 | - __le16 session_id; |
| 60 | - __le16 mld_id; |
| 61 | - u8 tid; |
| 62 | - u8 __rsv[3]; |
| 63 | -} __packed; |
| 64 | - |
| 65 | -enum { |
| 66 | - UNI_RRO_BA_SESSION_STATUS = 0, |
| 67 | - UNI_RRO_BA_SESSION_TBL = 1, |
| 68 | - UNI_RRO_BA_SESSION_DEL_CHK_DONE = 2, |
| 69 | - UNI_RRO_BA_SESSION_MAX_NUM |
| 70 | -}; |
| 71 | - |
| 72 | -struct mt7996_mcu_rro_del_ba { |
| 73 | - struct mt7996_mcu_rro_event event; |
| 74 | - |
| 75 | - u8 wlan_idx; |
| 76 | - u8 tid; |
| 77 | - u8 __rsv2[2]; |
| 78 | -}; |
| 79 | - |
| 80 | enum mt7996_chan_mib_offs { |
| 81 | UNI_MIB_OBSS_AIRTIME = 26, |
| 82 | UNI_MIB_NON_WIFI_TIME = 27, |
| 83 | -- |
| 84 | 2.18.0 |
| 85 | |