- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We designed an embedded tablet based on rk3288.wifi chip is cyw4354.Operating system is Linux + QT.
Now,we want the wifi chip to work only in the 2.4G band,how to close 5G band?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
Supplicant is an open source, you need to use rk toolchain to re-compile the wpa_supplicant source code. and do the modification.
I think you need to prepare environments before asking for help:
1. to prepare supplicant compile.
2. to prepare driver compile environment.
3. to prepare tools
I think module maker or rk can support you about these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello:
Are you using a DHD structure driver for the tuning ? Can you use wl tool for the debug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using linux driver for debugging,I can't use wl tool.
I can only use the following instructions for debugging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
I think the best way is to re-compile the wpa_supplicant to disable 5G band.
It will send command to driver layer to disable 5G band completely .
/*
** Uplayer uses "SET SETBAND AUTO/5G/2G" in order to set band
** Now send "SETBAND 0/1/2" command to driver.
*/
static int nl80211_set_band(void *priv, enum set_band band)
{
int ret = 0;
char buff[15];
char cmdbuff[15];
int cmd_size = 15;
if ((!priv) || (band<0) || (band>=3))
return -1;
ret = os_snprintf(buff, sizeof(buff), "SETBAND %1d", band);
if (os_snprintf_error(sizeof(buff), ret))
return -1;
ret = wpa_driver_nl80211_driver_cmd(priv, buff, cmdbuff, cmd_size);
return ret;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am using wpa_supplicat-2.6. How do I port this functionality to my code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
I think we need to do it in two steps, the function is default in the supplicant 2.6:
1. add or enable the print in the function, to see if it is called during the supplicant init process.
2. if 1 is correct, change the function into 2G only .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is my wpa_supplicant instruction interface.I don't know how to turn off 5G.
Can you give me a suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello:
Supplicant is an open source, you need to use rk toolchain to re-compile the wpa_supplicant source code. and do the modification.
I think you need to prepare environments before asking for help:
1. to prepare supplicant compile.
2. to prepare driver compile environment.
3. to prepare tools
I think module maker or rk can support you about these.