File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
drivers/net/wireless/mediatek/mt76/mt7996 Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -439,6 +439,9 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
439
439
440
440
wiphy -> available_antennas_rx = phy -> mt76 -> antenna_mask ;
441
441
wiphy -> available_antennas_tx = phy -> mt76 -> antenna_mask ;
442
+
443
+ wiphy -> max_scan_ssids = 4 ;
444
+ wiphy -> max_scan_ie_len = IEEE80211_MAX_DATA_LEN ;
442
445
}
443
446
444
447
static void
Original file line number Diff line number Diff line change @@ -1522,8 +1522,8 @@ const struct ieee80211_ops mt7996_ops = {
1522
1522
.ampdu_action = mt7996_ampdu_action ,
1523
1523
.set_rts_threshold = mt7996_set_rts_threshold ,
1524
1524
.wake_tx_queue = mt76_wake_tx_queue ,
1525
- .sw_scan_start = mt76_sw_scan ,
1526
- .sw_scan_complete = mt76_sw_scan_complete ,
1525
+ .hw_scan = mt76_hw_scan ,
1526
+ .cancel_hw_scan = mt76_cancel_hw_scan ,
1527
1527
.release_buffered_frames = mt76_release_buffered_frames ,
1528
1528
.get_txpower = mt76_get_txpower ,
1529
1529
.channel_switch_beacon = mt7996_channel_switch_beacon ,
You can’t perform that action at this time.
0 commit comments