mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: Enable HW RRO for MT7992 chipset
This is a preliminary patch to enable WED support for MT7992 Kite chipset supported by MT7996 driver. Co-developed-by: Sujuan Chen <[email protected]> Signed-off-by: Sujuan Chen <[email protected]> Co-developed-by: Benjamin Lin <[email protected]> Signed-off-by: Benjamin Lin <[email protected]> Signed-off-by: Rex Lu <[email protected]> Co-developed-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
#define MT7996_CRIT_TEMP 110
|
||||
#define MT7996_MAX_TEMP 120
|
||||
|
||||
#define MT7996_RRO_MSDU_PG_HASH_SIZE 127
|
||||
#define MT7996_RRO_MAX_SESSION 1024
|
||||
#define MT7996_RRO_WINDOW_MAX_LEN 1024
|
||||
#define MT7996_RRO_ADDR_ELEM_LEN 128
|
||||
@@ -128,6 +129,10 @@
|
||||
#define MT7996_RX_MSDU_PAGE_SIZE (128 + \
|
||||
SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
|
||||
|
||||
/* RRO 3.1 */
|
||||
#define MT7996_RRO_MSDU_PG_CR_CNT 8
|
||||
#define MT7996_RRO_MSDU_PG_SIZE_PER_CR 0x10000
|
||||
|
||||
struct mt7996_vif;
|
||||
struct mt7996_sta;
|
||||
struct mt7996_dfs_pulse;
|
||||
@@ -400,6 +405,10 @@ struct mt7996_dev {
|
||||
void *ptr;
|
||||
dma_addr_t phy_addr;
|
||||
} session;
|
||||
struct {
|
||||
void *ptr;
|
||||
dma_addr_t phy_addr;
|
||||
} msdu_pg[MT7996_RRO_MSDU_PG_CR_CNT];
|
||||
|
||||
struct work_struct work;
|
||||
struct list_head poll_list;
|
||||
|
||||
Reference in New Issue
Block a user