mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
wifi: mt76: mt7996: use emulated hardware scan support
Preparation for supporting multiple radios on a single wiphy Link: https://patch.msgid.link/20250102163508.52945-13-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
a8f424c128
commit
c56d6edebc
|
|
@ -439,6 +439,9 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
|
||||||
|
|
||||||
wiphy->available_antennas_rx = phy->mt76->antenna_mask;
|
wiphy->available_antennas_rx = phy->mt76->antenna_mask;
|
||||||
wiphy->available_antennas_tx = phy->mt76->antenna_mask;
|
wiphy->available_antennas_tx = phy->mt76->antenna_mask;
|
||||||
|
|
||||||
|
wiphy->max_scan_ssids = 4;
|
||||||
|
wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
|
|
@ -1522,8 +1522,8 @@ const struct ieee80211_ops mt7996_ops = {
|
||||||
.ampdu_action = mt7996_ampdu_action,
|
.ampdu_action = mt7996_ampdu_action,
|
||||||
.set_rts_threshold = mt7996_set_rts_threshold,
|
.set_rts_threshold = mt7996_set_rts_threshold,
|
||||||
.wake_tx_queue = mt76_wake_tx_queue,
|
.wake_tx_queue = mt76_wake_tx_queue,
|
||||||
.sw_scan_start = mt76_sw_scan,
|
.hw_scan = mt76_hw_scan,
|
||||||
.sw_scan_complete = mt76_sw_scan_complete,
|
.cancel_hw_scan = mt76_cancel_hw_scan,
|
||||||
.release_buffered_frames = mt76_release_buffered_frames,
|
.release_buffered_frames = mt76_release_buffered_frames,
|
||||||
.get_txpower = mt76_get_txpower,
|
.get_txpower = mt76_get_txpower,
|
||||||
.channel_switch_beacon = mt7996_channel_switch_beacon,
|
.channel_switch_beacon = mt7996_channel_switch_beacon,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user