From 04cd17a645207163ae446055341c275899cdf11c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Nov 2019 15:16:59 +0100 Subject: [PATCH] mt76: add ext_phy field to struct mt76_wcid Will be used to determine the phy from within the driver Signed-off-by: Felix Fietkau --- mac80211.c | 1 + mt76.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mac80211.c b/mac80211.c index b4d9d9ac..00c2a875 100644 --- a/mac80211.c +++ b/mac80211.c @@ -952,6 +952,7 @@ mt76_sta_add(struct mt76_dev *dev, struct ieee80211_vif *vif, ewma_signal_init(&wcid->rssi); if (ext_phy) mt76_wcid_mask_set(dev->wcid_phy_mask, wcid->idx); + wcid->ext_phy = ext_phy; rcu_assign_pointer(dev->wcid[wcid->idx], wcid); out: diff --git a/mt76.h b/mt76.h index d823dc77..afbe6e6a 100644 --- a/mt76.h +++ b/mt76.h @@ -200,6 +200,7 @@ struct mt76_wcid { u8 hw_key_idx; u8 sta:1; + u8 ext_phy:1; u8 rx_check_pn; u8 rx_key_pn[IEEE80211_NUM_TIDS][6];