- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Is it possible start Soft AP on 5GHz Band?
I found function wwd_wifi_set_preferred_association_band, but it set band only for Station interface.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can build the test.console example and use the start_ap command.
>start_ap testap wpa2 12345678 36 20
The channel number is 36 (You can set it based on the allowed channels in 5GHz) which is followed by the bandwidth "20". You can check the status using status command in the same example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can build the test.console example and use the start_ap command.
>start_ap testap wpa2 12345678 36 20
The channel number is 36 (You can set it based on the allowed channels in 5GHz) which is followed by the bandwidth "20". You can check the status using status command in the same example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! It work. But I can`t find how function int start_ap( int argc, char* argv[] ) set band. It just write channel to DCT table. I want implement this in my custom application. Any suggestion where I must search information about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also I find out that command
>start_ap testap wpa2 12345678 1
starts access point based on 802.11n protocol. I can`t find how int start_ap( int argc, char* argv[] ) do this.
When I start AP in my application it works only based on 802.11g protocol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can check the implementation in 43xxx_Wi-Fi/libraries/utilities/command_console/wifi/command_console_wifi.c folder. If you want the AP to be setup in 11n mode, you can call wwd_wifi_set_11n_support() API, prior to which you need to call wiced_wifi_down() and then call the start+Ap. Refer to 43xxx_Wi-Fi/WICED/WWD/include/wwd_wifi.h for further information on how to use wwd_wifi_set_11n_support()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I put "printf" to wwd_wifi_set_11n_support, and it never called in test.console application. AlsoI used debug and wwd_wifi_set_11n_support never called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wwd_wifi_set_11n_support API was specifically intended for your use-case since you are seeing a 11g softap whereas you want to set the AP up in 11n mode (at-least that's what the suggestion was meant for). If start_ap serves your purpose, please continue to do so; otherwise you have to create your own implementation for any other customization.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compared console application and my. Found 1 difference: my project doesn`t have "makefile" file. It has only one row "include modus.mk". I add this file to my project and now it working based on 802.11n protocol). Can you tell my why without this file it don`t work?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, it is not depend on makefile. I also changed country code. So if country code was US, access point started based on 802.11n protocol. But if country code was UA, it started based on 802.11g protocol.