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)
439439
440440 wiphy -> available_antennas_rx = phy -> mt76 -> antenna_mask ;
441441 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 ;
442445}
443446
444447static void
Original file line number Diff line number Diff line change @@ -1522,8 +1522,8 @@ const struct ieee80211_ops mt7996_ops = {
15221522 .ampdu_action = mt7996_ampdu_action ,
15231523 .set_rts_threshold = mt7996_set_rts_threshold ,
15241524 .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 ,
15271527 .release_buffered_frames = mt76_release_buffered_frames ,
15281528 .get_txpower = mt76_get_txpower ,
15291529 .channel_switch_beacon = mt7996_channel_switch_beacon ,
You can’t perform that action at this time.
0 commit comments