have checked the setting 5Ghz is enabled, what could be wrong the wifi scan not show the 5Ghz Wifi ssid?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
have checked the setting 5Ghz is enabled, what could be wrong the wifi scan not show the 5Ghz Wifi ssid?
Try to enable the 6G and the 5G channels in the code.
- SL_WLAN_GENERAL_PARAM_OPT_ENABLE_5G
\code
_u8 Enabled5GStatus = 1;
_u16 Option = SL_WLAN_GENERAL_PARAM_OPT_ENABLE_5G;
_u16 OptionLen = sizeof(_u8);
ret = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, Option, OptionLen, (_u8 *)&Enabled5GStatus);
\endcode
<br>
- SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS_5G:
\code
SlWlanScanParam5GCommand_t ScanParamConfig5G;
_u16 Option = SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS_5G;
_u16 OptionLen = sizeof(SlWlanScanParam5GCommand_t);
// 5.0G channels bits order: 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132,
// 136, 140, 144, 149, 153, 157, 161, 165, 169, 184, 188, 192, 196
ScanParamConfig5G.ChannelsMask = 0x0000000F; // Select ChannelsMask for channels 36, 40, 44, 48
ScanParamConfig5G.RssiThreshold = -70;
sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, Option, OptionLen, (_u8 *)&ScanParamConfig5G);
\endcode
<br>
you can also use the sl_WlanGet to check the default values.