morrownr / 88x2bu

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets
435 stars 74 forks source link

Please consider adding `rtw_dfs_region_domain` to config file #97

Closed spcharc closed 2 years ago

spcharc commented 2 years ago

This parameter is useful if you want to setup an AP on a DFS channel (50 ~ 144).

These channels are rarely used (at least in my neighborhood). It seems not many routers support running on these channels. Therefore there is almost no interference on them. However hostapd may stop the AP at anytime when a radar signal is detected.

This parameter has 4 values, the default value is 0.

0:UNKNOWN
1:FCC
2:MKK
3:ETSI

Reference: https://en.wikipedia.org/wiki/List_of_WLAN_channels

spcharc commented 2 years ago

It is worth mentioning that I found this parameter in this issue:

https://github.com/RinCat/RTL88x2BU-Linux-Driver/issues/89

morrownr commented 2 years ago

@spcharc

Good day. Have you actually tried to set this up and use DFS channels?

I'd love to be able to use DFS channels with my usb adapters, however, my exploration of driver code tends to make me think this would be a heavy lift. It almost appears that the product makers did not intend to support DFS on usb adapters.

spcharc commented 2 years ago

Have you actually tried to set this up and use DFS channels?

I would not post this issue without trying. My 88x2bu AP is currently running on channel 100 (80MHz with center channel on 106)

It seems I'm the only person using this channel in my neighborhood.

spcharc commented 2 years ago

Without DFS channels your choices are limited. You may use either 36(42), 149(155) or 165(171). (The last one is available since Nov 2020. I don't know if it is widely supported by our wireless devices. Reference: https://www.fcc.gov/document/fcc-modernizes-59-ghz-band-improve-wi-fi-and-automotive-safety-0 )

DFS gives you these extra options: 52(58), 100(106), 116(122) and 132(138)

morrownr commented 2 years ago

I would not post this issue without trying. My 88x2bu AP is currently running on channel 100 (80MHz with center channel on 106)

I regret doubting you. I have now tested the new 8812au driver at:

https://github.com/morrownr/8812au-20210629

It seems to work. Evidently I chased the code down the wrong way as it appeared DFS support was not for the USB driver. I am glad to be wrong and thank you very much for the heads up. Can I get you to go over to the above repo and read the new documentation regarding this issue in the file called 8812au.conf?

By the way, you are hired to help bring the new version of the 88x2bu driver online. See Issue 98

Nick

spcharc commented 2 years ago

I regret doubting you.

Perfectly fine. It is always a good thing to doubt.

Can I get you to go over to the above repo and read the new documentation regarding this issue in the file called 8812au.conf?

It looks good.

However, I hope most of the users understand what these numbers (52(58), 100(106), 116(122) and 132(138)) means.

These are for 80MHz APs. I don't really know how many of the users out there know how to setup a 80MHz AP using hostapd.

By the way, you are hired to help bring the new version of the 88x2bu driver online. See Issue 98

Thanks. I did reply to that issue several hours ago, asking you whether two adapters work with this new driver. But if you want me to test it out, I can do that of course.

spcharc commented 2 years ago

Since it is added, let us close this issue