mt76: add skb pointer to mt76_tx_info
Pass skb pointer to tx_prepare_skb through mt76_tx_info data structure. This is a preliminary patch to properly support dma error path for new chipsets (e.g. 7615) Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:

committato da
Felix Fietkau

parent
f3950a4141
commit
cfaae9e67c
@@ -85,6 +85,7 @@ struct mt76_queue_buf {
|
||||
|
||||
struct mt76_tx_info {
|
||||
struct mt76_queue_buf buf[32];
|
||||
struct sk_buff *skb;
|
||||
int nbuf;
|
||||
u32 info;
|
||||
};
|
||||
@@ -291,8 +292,7 @@ struct mt76_driver_ops {
|
||||
void (*update_survey)(struct mt76_dev *dev);
|
||||
|
||||
int (*tx_prepare_skb)(struct mt76_dev *dev, void *txwi_ptr,
|
||||
struct sk_buff *skb, enum mt76_txq_id qid,
|
||||
struct mt76_wcid *wcid,
|
||||
enum mt76_txq_id qid, struct mt76_wcid *wcid,
|
||||
struct ieee80211_sta *sta,
|
||||
struct mt76_tx_info *tx_info);
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user