mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
sync with mac80211 API changes
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-3
@@ -213,9 +213,7 @@ mt7603_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int *dbm)
|
||||
|
||||
static int
|
||||
mt7603_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
enum ieee80211_ampdu_mlme_action action,
|
||||
struct ieee80211_sta *sta,u16 tid, u16 *ssn, u8 buf_size,
|
||||
bool amsdu)
|
||||
struct ieee80211_ampdu_params *params)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
+6
-4
@@ -374,14 +374,16 @@ mt76x2_get_txpower(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int *dbm)
|
||||
|
||||
static int
|
||||
mt76x2_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
enum ieee80211_ampdu_mlme_action action,
|
||||
struct ieee80211_sta *sta,u16 tid, u16 *ssn, u8 buf_size,
|
||||
bool amsdu)
|
||||
struct ieee80211_ampdu_params *params)
|
||||
{
|
||||
enum ieee80211_ampdu_mlme_action action = params->action;
|
||||
struct ieee80211_sta *sta = params->sta;
|
||||
struct mt76x2_dev *dev = hw->priv;
|
||||
struct mt76x2_sta *msta = (struct mt76x2_sta *) sta->drv_priv;
|
||||
struct ieee80211_txq *txq = sta->txq[tid];
|
||||
struct ieee80211_txq *txq = sta->txq[params->tid];
|
||||
struct mt76_txq *mtxq = (struct mt76_txq *) txq->drv_priv;
|
||||
u16 tid = params->tid;
|
||||
u16 *ssn = ¶ms->ssn;
|
||||
|
||||
if (!txq)
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user