wifi direct 限定协商在2.4g信道

patch

Date: Tue, 31 Mar 2020 18:02:18 +0800
Subject: Modify wifi direct channel

[rootcause]:channel setting is wrong
[solution]:Modify the correct one
[sideeffect]:N/A
[others]:N/A

Change-Id: I933639d2f40eddb248fea19d99e1ef50830c3701
---

diff --git a/config/mtk-p2p_wpa_supplicant-overlay.conf b/config/mtk-p2p_wpa_supplicant-overlay.conf
index 8728ee1..8fa6baf 100644
--- a/config/mtk-p2p_wpa_supplicant-overlay.conf
+++ b/config/mtk-p2p_wpa_supplicant-overlay.conf
@@ -3,3 +3,4 @@
 bss_expiration_scan_count=1
 wowlan_triggers=disconnect
 p2p_search_delay=50
+p2p_pref_chan=81:1,82:14
 No newline at end of file

解释

3979     struct p2p_oper_class_map op_class[] = {
3980         { IEEE80211G, 81, 1, 13, 1, BW20 },
3981         { IEEE80211G, 82, 14, 14, 1, BW20 },
3982         { -1, 0, 0, 0, 0, BW20 }
3983     };

81代表可以运行在1~13信道,82代表了14信道

剑气纵横三万里

“为什么要努力?” “想去的地方很远,想要的东西很贵,喜欢的人很优秀,父母的白发,朋友的约定,周围人的嘲笑,以及,天生傲骨。”

留下你的评论

*评论支持代码高亮<pre class="prettyprint linenums">代码</pre>

相关推荐