#1 Feb. 13, 2018 14:29:19

prix
Registered: 2015-09-09
Posts: 12
Profile   Send e-mail  

LWB5 softAP advanced features

Hello,
I am using LWB5 in softAP setup. I can run hostapd daemon and connect wireless clients to it.
However when I try to enable some of the “advanced” hostapd features, LWB5 doesn't play along.
For example, if I try to enable "ap_isolate=1“ I can still ping from one wireless client to another.
Next thing that doesn't work is for example ”macaddr_acl=1“. If I try to enable it, I can still connect with whatever wireless MAC I have at hand. Another one is ”wpa=3" for example… it also doesn't work properly.

On the other hand, all those advanced features work well with old WLAN adapter TiWi-BLE (wl12xx).

This makes me wonder what is so different between the two adapters?
I guess LWB5 is fullMAC device while TiWi-BLE is softMAC, right?
Does LWB5 firmware (6.37.39.77 (r666031 CY)) support AP isolation or MAC filtering?
Do you or Broadcom plan to support those features?

Offline

#2 Feb. 14, 2018 17:25:12

SupportEngineer
Registered: 2016-03-11
Posts: 63
Profile   Send e-mail  

LWB5 softAP advanced features

Hi Prix,

It is recommended by our Software Engineering Team to use our wpa_supplicant to configure AP mode instead of hostapd on the LWB5. Backports, the supplicant and firmware are designed as a package and should be used together. The link for our supplicant is not on our product page for the LWB5, as it is nearing a production release and will be available this month. In the mean time, you can start with the open source supplicant 2.6, but it will have to be patched for KRACK.

The TiWi-BLE may be better suited for an AP use-case, as it is a thinmac vs the LWB5 thickmac. If you need further information regarding the specific features available, see the links below.

TI wiki:
http://processors.wiki.ti.com/index.php/WL127x

Cypress support:
https://www.cypress.com/user/login?destination=mycases

Please feel free to contact us with additional questions, or concerns.

Regards,

SupportEngineer

Offline

#3 Feb. 15, 2018 07:12:14

prix
Registered: 2015-09-09
Posts: 12
Profile   Send e-mail  

LWB5 softAP advanced features

Hello,

  • The link for our supplicant is not on our product page for the LWB5, as it is nearing a production release and will be available this month.
I hope this true and by the end of February customers can expect a complete bundle (firmware + backports + userspace utils)? Do you plan to publish this on any public website/git?

  • In the mean time, you can start with the open source supplicant 2.6, but it will have to be patched for KRACK.
This is in fact my current setup.
However is still think hostapd is more suitable and capable for AP role than wpa_supplicant?


  • The TiWi-BLE may be better suited for an AP use-case, as it is a thinmac vs the LWB5 thickmac. If you need further information regarding the specific features available, see the links below.
I plan to support both wlan adapters with my software. The wlan adapter is abstracted from the end-user, except the 802.11ac features only available on LWB5 in such case.

Additionally I have found out that LWB5 can transmit (AP role) only on wireless channels:
LWB5_CHANNEL_5GHZ = (“36 44”)
LWB5_CHANNEL_24GHZ = (“1 2 3 4 5 6 7 8 9”)

So if I try to transmit on 5GHz band on channel 40 for example (valid in EU, US and JP), LWB5 doesn't play along. Even though "iw phy phy0 info" reports:
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (disabled)
                  * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (disabled)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (disabled)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
                          DFS state: usable (for 60317 sec)
                          DFS CAC time: 60000 ms
                        * 5720 MHz [144] (disabled)
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
Same story if I try on 2.4 GHz band. Channels above 9 don't work, but in EU for example only channel 14 should be inaccessible:
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                  * 2457 MHz [10] (20.0 dBm)
                  * 2462 MHz [11] (20.0 dBm)
                  * 2467 MHz [12] (20.0 dBm)
                  * 2472 MHz [13] (20.0 dBm)
                  * 2484 MHz [14] (disabled)
Can you comment on this?

Edited prix (Feb. 15, 2018 07:14:03)

Offline

#4 Feb. 20, 2018 12:59:55

prix
Registered: 2015-09-09
Posts: 12
Profile   Send e-mail  

LWB5 softAP advanced features

Hello,

is DFS supported in (6.37.39.77 (r666031 CY)) firmware?

I get this error when trying DFS channel on LWB5 with hostapd:

	wlan0: DFS-CAC-START freq=5260 chan=52 sec_chan=1, width=1, seg0=58, seg1=0, cac_time=60s
	nl80211: Start radar detection (CAC) 5260 MHz (ht_enabled=1, vht_enabled=1, bandwidth=80 MHz, cf1=5290 MHz, cf2=0 MHz)
	  * freq=5260
	  * vht_enabled=1
	  * ht_enabled=1
	  * bandwidth=80
	  * channel_width=3
	  * center_freq1=5290
	  * center_freq2=0
	nl80211: Failed to start radar detection: -95 (Operation not supported)
	DFS start_dfs_cac() failed, -1
	Interface initialization failed
	wlan0: interface state DFS->DISABLED
	wlan0: AP-DISABLED 

Will this be supported in the upcoming firmware?

Offline

#5 Feb. 20, 2018 21:53:25

SupportEngineer
Registered: 2016-03-11
Posts: 63
Profile   Send e-mail  

LWB5 softAP advanced features

Prix,

Due to an increase in demand, our resources are currently limited. We received your request and will provide a response as soon as possible.

Thank you for your patience.

Regards,

SupportEngineer

Offline

#6 Feb. 22, 2018 09:14:38

prix
Registered: 2015-09-09
Posts: 12
Profile   Send e-mail  

LWB5 softAP advanced features

Dear SupportEngineer,
OK, but please don't keep us waiting too long.
Regards

Offline

#7 March 2, 2018 19:30:55

SupportEngineer
Registered: 2016-03-11
Posts: 63
Profile   Send e-mail  

LWB5 softAP advanced features

Prix,

Thank you for your patience.

The LWB5 does not, and to the best of our knowledge, will not support 80211.h for AP mode. It does support DFS in client-only mode.

To better our understanding of your issue with the 2.4GHz band, can you email our support directly (cs-support@lairdtech.com) so we can provide you with our supplicant? Our software is designed to operate with the wpa_supplicant. Integrating support for hostapd would require additional engineering services.

In your email, please provide us with the following information:

Which regulatory domain you are testing in
wpa_supplicant.conf contents
“iw reg get” output

Regards,

SupportEngineer

Offline

Board footer

Moderator control