mt76: mt7615: measure channel noise and report it via survey
[linux-2.6-microblaze.git] / drivers / net / wireless / mediatek / mt76 / mt7615 / mt7615.h
index 48810ed..eaafae9 100644 (file)
@@ -94,6 +94,8 @@ struct mt7615_phy {
        u32 rxfilter;
        u32 omac_mask;
 
+       u16 noise;
+
        unsigned long last_cca_adj;
        int false_cca_ofdm, false_cca_cck;
        s8 ofdm_sensitivity;
@@ -288,6 +290,7 @@ bool mt7615_mac_wtbl_update(struct mt7615_dev *dev, int idx, u32 mask);
 void mt7615_mac_reset_counters(struct mt7615_dev *dev);
 void mt7615_mac_cca_stats_reset(struct mt7615_phy *phy);
 void mt7615_mac_set_scs(struct mt7615_dev *dev, bool enable);
+void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
 void mt7615_mac_sta_poll(struct mt7615_dev *dev);
 int mt7615_mac_write_txwi(struct mt7615_dev *dev, __le32 *txwi,
                          struct sk_buff *skb, struct mt76_wcid *wcid,