Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
|
最近尝试给 PSP 3000 联网更新自制软件还真遇到了这个问题,只支持 802.11b😆 加了下面的 Patch 之后可以选 Legacy 了但应该还不够,因为选了 Legacy 之后 2.4G 就无法启动了xD mtwifi-cfg 应该是 这里 吧,我不太确定怎么修改,请教下 diff --git a/package/network/utils/iwinfo/src/iwinfo_mtk.c b/package/network/utils/iwinfo/src/iwinfo_mtk.c
index 1574e3888d..b699b68036 100644
--- a/package/network/utils/iwinfo/src/iwinfo_mtk.c
+++ b/package/network/utils/iwinfo/src/iwinfo_mtk.c
@@ -708,7 +708,7 @@ uciout:
if (band) {
if (!strcmp(band,"2g"))
- *buf = (IWINFO_80211_N | IWINFO_80211_AX);
+ *buf = (IWINFO_80211_B | IWINFO_80211_G | IWINFO_80211_N | IWINFO_80211_AX);
else if (!strcmp(band,"5g"))
*buf = (IWINFO_80211_AC | IWINFO_80211_AX);
return 0;
@@ -725,7 +725,7 @@ uciout:
{
if (e->channel <= 14 ) //2.4Ghz
{
- *buf = (IWINFO_80211_N | IWINFO_80211_AX);
+ *buf = (IWINFO_80211_B | IWINFO_80211_G | IWINFO_80211_N | IWINFO_80211_AX);
}
else //5Ghz
{
@@ -1101,4 +1101,4 @@ const struct iwinfo_ops mtk_ops = {
.scanlist = mtk_get_scanlist,
.freqlist = mtk_get_freqlist,
.close = mtk_close,
-};
\ No newline at end of file
+}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
LuCI界面只有2.4G的N和AX,5G的AC和AX可选,没有A/B/G,也没有各种MIXED选项,是驱动本身不支持吗?
Beta Was this translation helpful? Give feedback.
All reactions