mt7921.h (033ae79b383020928c687e345661f080e5f42c51) | mt7921.h (16d98b548365fcd6fc3fe2e1ae73c9e3cc5ee43d) |
---|---|
1/* SPDX-License-Identifier: ISC */ 2/* Copyright (C) 2020 MediaTek Inc. */ 3 4#ifndef __MT7921_H 5#define __MT7921_H 6 7#include <linux/interrupt.h> 8#include <linux/ktime.h> --- 142 unchanged lines hidden (view full) --- 151 struct mt76_dev mt76; 152 struct mt76_phy mphy; 153 }; 154 155 const struct mt76_bus_ops *bus_ops; 156 struct mt7921_phy phy; 157 struct tasklet_struct irq_tasklet; 158 | 1/* SPDX-License-Identifier: ISC */ 2/* Copyright (C) 2020 MediaTek Inc. */ 3 4#ifndef __MT7921_H 5#define __MT7921_H 6 7#include <linux/interrupt.h> 8#include <linux/ktime.h> --- 142 unchanged lines hidden (view full) --- 151 struct mt76_dev mt76; 152 struct mt76_phy mphy; 153 }; 154 155 const struct mt76_bus_ops *bus_ops; 156 struct mt7921_phy phy; 157 struct tasklet_struct irq_tasklet; 158 |
159 u16 chainmask; 160 | |
161 struct work_struct reset_work; 162 bool hw_full_reset:1; 163 bool hw_init_done:1; 164 165 struct list_head sta_poll_list; 166 spinlock_t sta_poll_lock; 167 168 u8 fw_debug; --- 73 unchanged lines hidden (view full) --- 242extern const struct ieee80211_ops mt7921_ops; 243extern struct pci_driver mt7921_pci_driver; 244 245u32 mt7921_reg_map(struct mt7921_dev *dev, u32 addr); 246 247int __mt7921_start(struct mt7921_phy *phy); 248int mt7921_register_device(struct mt7921_dev *dev); 249void mt7921_unregister_device(struct mt7921_dev *dev); | 159 struct work_struct reset_work; 160 bool hw_full_reset:1; 161 bool hw_init_done:1; 162 163 struct list_head sta_poll_list; 164 spinlock_t sta_poll_lock; 165 166 u8 fw_debug; --- 73 unchanged lines hidden (view full) --- 240extern const struct ieee80211_ops mt7921_ops; 241extern struct pci_driver mt7921_pci_driver; 242 243u32 mt7921_reg_map(struct mt7921_dev *dev, u32 addr); 244 245int __mt7921_start(struct mt7921_phy *phy); 246int mt7921_register_device(struct mt7921_dev *dev); 247void mt7921_unregister_device(struct mt7921_dev *dev); |
250int mt7921_eeprom_init(struct mt7921_dev *dev); 251void mt7921_eeprom_parse_band_config(struct mt7921_phy *phy); 252int mt7921_eeprom_get_target_power(struct mt7921_dev *dev, 253 struct ieee80211_channel *chan, 254 u8 chain_idx); 255void mt7921_eeprom_init_sku(struct mt7921_dev *dev); | |
256int mt7921_dma_init(struct mt7921_dev *dev); 257int mt7921_wpdma_reset(struct mt7921_dev *dev, bool force); 258int mt7921_wpdma_reinit_cond(struct mt7921_dev *dev); 259void mt7921_dma_cleanup(struct mt7921_dev *dev); 260int mt7921_run_firmware(struct mt7921_dev *dev); 261int mt7921_mcu_add_key(struct mt7921_dev *dev, struct ieee80211_vif *vif, 262 struct mt7921_sta *msta, struct ieee80211_key_conf *key, 263 enum set_key_cmd cmd); --- 142 unchanged lines hidden --- | 248int mt7921_dma_init(struct mt7921_dev *dev); 249int mt7921_wpdma_reset(struct mt7921_dev *dev, bool force); 250int mt7921_wpdma_reinit_cond(struct mt7921_dev *dev); 251void mt7921_dma_cleanup(struct mt7921_dev *dev); 252int mt7921_run_firmware(struct mt7921_dev *dev); 253int mt7921_mcu_add_key(struct mt7921_dev *dev, struct ieee80211_vif *vif, 254 struct mt7921_sta *msta, struct ieee80211_key_conf *key, 255 enum set_key_cmd cmd); --- 142 unchanged lines hidden --- |