Other Parts Discussed in Thread: CC3235SF
Tool/software:
Hi,
My customer wants to evaluate CC3235MODASF using only 5GHz band. (2.4GHz band is not used)
He refers to below E2E thread.
https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/905158/cc3235sf-selecting-5ghz-channels-only
He used Network_terminal example project and modified as below, but the device still connects with 2.4GHz.
Could you check what is wrong?
Base project : newwork_terminal_CC3235SF_LAUNCHXL_freertos_tilang
What were changed:
In Wlan_cmd.c, around line#494,
- comment out between "/* Set scan parameters for 2.4Gz */" to line#519.
- add "/* connect only 5GHz config try */" to "sl_WlanSet(SL_WLAN_CFG_GENERAL_PRAM_ID, ...)"
/* connect only 5GHz config try */ SlWlanScanParam5GCommand_t ScanParamConfig5G; // 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, SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS, sizeof(SetPolicyParams.ScanParamConfig5G), (uint8_t *)(&SetPolicyParams.ScanParamConfig)); // /* Set scan parameters for 2.4Gz */ // ret = // sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, // SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS, // sizeof(SetPolicyParams.ScanParamConfig), // (uint8_t *)(&SetPolicyParams.ScanParamConfig)); // ASSERT_ON_ERROR(ret, WLAN_ERROR); // // configSize = sizeof(SlDeviceVersion_t); // // /* Get device version info. */ // sl_DeviceGet(SL_DEVICE_GENERAL, &configOpt, &configSize, (uint8_t*)(&ver)); // // /* Update deviceType to 323XX or 3220X */ // deviceType = ver.ChipId; // // if (deviceType & CC3x35_BIT) // { // /* Set scan parameters for 5Ghz */ // ret = // sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, // SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS_5G, // sizeof(SetPolicyParams.ScanParamConfig5G), // (uint8_t *)(&SetPolicyParams.ScanParamConfig5G)); // ASSERT_ON_ERROR(ret, WLAN_ERROR); // }
Thanks and regards,
Koichiro Tashiro