Are you using a DHD structure driver for the tuning ? Can you use wl tool for the debug?
1 of 1 people found this helpful
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;
int cmd_size = 15;
if ((!priv) || (band<0) || (band>=3))
ret = os_snprintf(buff, sizeof(buff), "SETBAND %1d", band);
if (os_snprintf_error(sizeof(buff), ret))
ret = wpa_driver_nl80211_driver_cmd(priv, buff, cmdbuff, cmd_size);