DFS start_dfs_cac() failed, -1
Todd Lewis
todd at grizzlystar.com
Fri Jun 30 12:34:13 PDT 2017
Thanks, I figured it out. I had a couple things wrong. I didn't know
i had to recompile crda with the keys generated when the regulatory
database is compiled. I'm not sure if everything I did is correct /
necessary, but it works.
I ened up doing the following.
# Compile regulatory database
cd /usr/src/
git clone git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
cd wireless-regdb/
make && make install
#Compile CRDA , must use the keys generated by regulatory database
cd /usr/src/
git clone git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git
cp /usr/lib/crda/pubkeys/* /usr/src/crda/pubkeys/
make && make install
#Setup up Regulatory Domain to US
echo "REGDOMAIN=US" > /etc/default/crda
echo "options cfg80211 ieee80211_regdom=US" > /etc/modprobe.d/cfg80211.conf
iw reg set US
# hostapd.conf file
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
bridge=br0
interface=wlp4s0
driver=nl80211
hw_mode=a
channel=0
auth_algs=1
ssid=Test-5ghz
macaddr_acl=0
ignore_broadcast_ssid=0
ieee8021x=0
wme_enabled=1
ieee80211n=1
ht_capab=[HT40+][HT40-][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40][SHORT-GI-20]
vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
vht_oper_centr_freq_seg1_idx=159
country_code=US
ieee80211d=1
ieee80211h=1
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_passphrase=password1
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_group_rekey=300
wpa_gmk_rekey=640
On Fri, Jun 30, 2017 at 3:14 AM, Zefir Kurtisi
<zefir.kurtisi at neratec.com> wrote:
> Hello Todd,
>
> On 06/26/2017 11:45 PM, Todd Lewis wrote:
>> I'm setting up a access point on a linux router.
>> I am unable to start hostapd. I get the error DFS start_dfs_cac() failed, -1
>>
>> I'm using a
>> Compex WLE600VX Qualcom QCA9882
>>
>>
>> [...]
>>
>> The configuration file
>> /etc/hostapd/hostapd.conf
>>
>> ctrl_interface=/var/run/hostapd
>> ctrl_interface_group=wheel
>> bridge=br0
>> interface=wlp4s0
>> driver=nl80211
>> ssid=test-5g
>> hw_mode=a
>> max_num_sta=128
>> auth_algs=1
>> disassoc_low_ack=1
>> ieee80211h=1
>> ieee80211d=1
>> country_code=US
>> channel=0
>> ieee80211ac=1
>> vht_oper_chwidth=1
>> vht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
>> vht_oper_centr_freq_seg0_idx=42
>> wpa=3
>> wpa_key_mgmt=WPA-PSK
>> wpa_passphrase=darkcrystal1
>> wpa_pairwise=CCMP
>>
>
> you can't have vht_capab without ht_capab. In fact, in your hostapd.conf
> vht_capab should be renamed to ht_capab, then it might work.
>
> Check [1] for further information.
>
>
> Good luck,
> Zefir
>
>
> [1]
> https://wireless.wiki.kernel.org/en/users/drivers/ath10k/configuration#configuring_hostapd
>
--
Todd Lewis
Grizzly Star
(469) 363-2907 Cell
(972) 361-6287 Fax
www.grizzlystar.com
More information about the Hostap
mailing list