mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7925: configure NAN PHY setting on enable
Implement NAN_UNI_CMD_UPDATE_PHY_SETTING (tag=18) to configure the
BSS-level PHY parameters that the FW NAN scheduler uses when it
switches channels.
The command carries separate 2G and 5G PHY settings, each with its
own phy type, rate sets and protection modes.
Fixes: 0f3605e4f8de ("wifi: mt76: mt7925: wire up NAN operations")
Co-developed-by: Sean Wang <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Stella Liu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
33a39c2ce2
commit
c09c19fe7c
+5
-1
@@ -2593,8 +2593,12 @@ static int mt7925_start_nan(struct ieee80211_hw *hw,
|
||||
goto out;
|
||||
|
||||
err = mt7925_nan_enable(vif, dev, conf);
|
||||
if (err)
|
||||
if (err) {
|
||||
mt7925_mcu_add_bss_info(&dev->phy, NULL, link_conf, NULL, false);
|
||||
goto out;
|
||||
}
|
||||
|
||||
err = mt7925_nan_update_phy_setting(dev);
|
||||
|
||||
out:
|
||||
mt792x_mutex_release(dev);
|
||||
|
||||
Reference in New Issue
Block a user