mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7603: add debugfs knob to enable/disable edcca
Introduce a knob in mt7603 debugfs in order to enable/disable energy detection based on CCA thresholds Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
97609f3708
commit
f9dadd2d93
+3
-1
@@ -437,7 +437,9 @@ mt7603_regd_notifier(struct wiphy *wiphy,
|
||||
struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy);
|
||||
struct mt7603_dev *dev = hw->priv;
|
||||
|
||||
dev->ed_monitor = request->dfs_region == NL80211_DFS_ETSI;
|
||||
dev->region = request->dfs_region;
|
||||
dev->ed_monitor = dev->ed_monitor_enabled &&
|
||||
dev->region == NL80211_DFS_ETSI;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user