mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
mt76: mt7615: add passive mode for hw scan
Introduce support for passive frequency scanning to mt7615_mcu_hw_scan Tested-by: Sean Wang <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
2cc0d54b65
commit
5b73be9623
+2
-2
@@ -2743,8 +2743,8 @@ int mt7615_mcu_hw_scan(struct mt7615_phy *phy, struct ieee80211_vif *vif,
|
||||
|
||||
req->seq_num = mvif->scan_seq_num | ext_phy << 7;
|
||||
req->bss_idx = mvif->idx;
|
||||
req->scan_type = 1;
|
||||
req->probe_req_num = 2;
|
||||
req->scan_type = sreq->n_ssids ? 1 : 0;
|
||||
req->probe_req_num = sreq->n_ssids ? 2 : 0;
|
||||
req->version = 1;
|
||||
req->channel_type = 4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user