You are not logged in.

#1 2019-03-27 14:59:55

SteveWi
Member
Registered: 2019-03-27
Posts: 1

Possibility of enabling kernel flag ATH10K_DFS_CERTIFIED to stable

Hello all,

I'm not 100% sure if this is the correct place to request this, so apologies and please correct me if I need to ask somewhere else, but I am wondering if it's possible to have the following flag added to the Arch stable Kernel:

https://github.com/torvalds/linux/blob/ … 0k/Kconfig > ATH10K_DFS_CERTIFIED (bottom entry)

The reason I ask is that I am trying to set up an access point using an ath10k card and I am getting the following output on an up-to-date Arch install:

[   11.025039] ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0 

This is implying that DFS isn't enabled and through a bit of investigation from here that I need to enable this kernel flag.

I'm not 100% sure why the default setting is no, but I have tried doing more research on the matter and it only seems to apply for when the adapter wants to go into AP mode. Therefore, I don't think (although could be wrong) that it causes any side-effects except when being used for the intended purpose.

For those interested (this part should belong under the networking subforum, but felt it needless to post two threads), I have the following adapter:

02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

Upon setting my country, I have the following frequencies available to me:

		Frequencies:
			* 5180 MHz [36] (23.0 dBm) (no IR)
			* 5200 MHz [40] (23.0 dBm) (no IR)
			* 5220 MHz [44] (23.0 dBm) (no IR)
			* 5240 MHz [48] (23.0 dBm) (no IR)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (27.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (27.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (27.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (27.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (27.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (27.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (27.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (27.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (27.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (27.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (27.0 dBm) (no IR, radar detection)
			* 5720 MHz [144] (disabled)
			* 5745 MHz [149] (13.0 dBm) (no IR)
			* 5765 MHz [153] (13.0 dBm) (no IR)
			* 5785 MHz [157] (13.0 dBm) (no IR)
			* 5805 MHz [161] (13.0 dBm) (no IR)
			* 5825 MHz [165] (13.0 dBm) (no IR)
			* 5845 MHz [169] (13.0 dBm) (no IR)
			* 5865 MHz [173] (disabled)

Regardless of the country I select, I cannot find any where I don't have no IR or no IR, radar detection. The radar detection is the frequencies that I can use if DFS is enabled, which is the reason for the request.

If I start hostapd with manual settings, I get an error telling me that it cannot use that channel and if I try to start hostapd with DFS enabled, I get the following output:

wlp2s0: DFS-CAC-START freq=5580 chan=116 sec_chan=0, width=1, seg0=122, seg1=0, cac_time=60s
Can't set freq params
DFS start_dfs_cac() failed, -1

Thanks for any help you may be able to provide.

Offline

#2 2019-03-27 15:38:24

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: Possibility of enabling kernel flag ATH10K_DFS_CERTIFIED to stable

Welcome to the arch linux forums SteveWi.  CONFIG_ATH10K_DFS_CERTIFIED requires CONFIG_CFG80211_CERTIFICATION_ONUS
The help texts explains why this defaults to n.  You could file a feature request on the bug tracker asking for feature to be enabled in the linux package.
Edit:
wireless-regdb does supply

usr/lib/firmware/regulatory.db
usr/lib/firmware/regulatory.db.p7s

then CFG80211_REQUIRE_SIGNED_REGDB and CFG80211_USE_KERNEL_REGDB_KEYS could be used to ensure regulatory compliance.

Last edited by loqs (2019-03-27 16:01:28)

Offline

Board footer

Powered by FluxBB