mt7996.h (ab0eec4bf225c5e78fd10d764d536300376f8445) | mt7996.h (c2171b068beea766311e4c2858ef8497504c6e6d) |
---|---|
1/* SPDX-License-Identifier: ISC */ 2/* 3 * Copyright (C) 2022 MediaTek Inc. 4 */ 5 6#ifndef __MT7996_H 7#define __MT7996_H 8 --- 31 unchanged lines hidden (view full) --- 40#define MT7996_CFEND_RATE_11B 0x03 /* 11B LP, 11M */ 41 42#define MT7996_MAX_TWT_AGRT 16 43#define MT7996_MAX_STA_TWT_AGRT 8 44#define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) 45 46/* NOTE: used to map mt76_rates. idx may change if firmware expands table */ 47#define MT7996_BASIC_RATES_TBL 11 | 1/* SPDX-License-Identifier: ISC */ 2/* 3 * Copyright (C) 2022 MediaTek Inc. 4 */ 5 6#ifndef __MT7996_H 7#define __MT7996_H 8 --- 31 unchanged lines hidden (view full) --- 40#define MT7996_CFEND_RATE_11B 0x03 /* 11B LP, 11M */ 41 42#define MT7996_MAX_TWT_AGRT 16 43#define MT7996_MAX_STA_TWT_AGRT 8 44#define MT7996_MAX_QUEUE (__MT_RXQ_MAX + __MT_MCUQ_MAX + 3) 45 46/* NOTE: used to map mt76_rates. idx may change if firmware expands table */ 47#define MT7996_BASIC_RATES_TBL 11 |
48#define MT7996_BEACON_RATES_TBL 25 |
|
48 49struct mt7996_vif; 50struct mt7996_sta; 51struct mt7996_dfs_pulse; 52struct mt7996_dfs_pattern; 53 54enum mt7996_txq_id { 55 MT7996_TXQ_FWDL = 16, --- 65 unchanged lines hidden (view full) --- 121 struct mt7996_sta sta; 122 struct mt7996_phy *phy; 123 124 struct ieee80211_tx_queue_params queue_params[IEEE80211_NUM_ACS]; 125 struct cfg80211_bitrate_mask bitrate_mask; 126 127 u8 basic_rates_idx; 128 u8 mcast_rates_idx; | 49 50struct mt7996_vif; 51struct mt7996_sta; 52struct mt7996_dfs_pulse; 53struct mt7996_dfs_pattern; 54 55enum mt7996_txq_id { 56 MT7996_TXQ_FWDL = 16, --- 65 unchanged lines hidden (view full) --- 122 struct mt7996_sta sta; 123 struct mt7996_phy *phy; 124 125 struct ieee80211_tx_queue_params queue_params[IEEE80211_NUM_ACS]; 126 struct cfg80211_bitrate_mask bitrate_mask; 127 128 u8 basic_rates_idx; 129 u8 mcast_rates_idx; |
130 u8 beacon_rates_idx; |
|
129}; 130 131/* per-phy stats. */ 132struct mib_stats { 133 u32 ack_fail_cnt; 134 u32 fcs_err_cnt; 135 u32 rts_cnt; 136 u32 rts_retries_cnt; --- 429 unchanged lines hidden --- | 131}; 132 133/* per-phy stats. */ 134struct mib_stats { 135 u32 ack_fail_cnt; 136 u32 fcs_err_cnt; 137 u32 rts_cnt; 138 u32 rts_retries_cnt; --- 429 unchanged lines hidden --- |