ath10k: firmware crash in station mode & problem DFS
Vu Hai NGUYEN
vh.nguyen at actiasodielec.fr
Fri May 30 02:10:11 PDT 2014
On 05/28/2014 08:25 AM, Vu Hai NGUYEN wrote:
>>> This is set base on what driver/mac80211/cfg80211 report - function
>>> wpa_driver_nl80211_capa().
>>> With ath10k and new mac80211 this should be never set. So, seems you still
>>> have old/wrong modules and system build/configuration problem?
>>> Check cfg80211.ko/mac80211.ko ... and/or add some prints to driver_nl80211.c
>>
>>Problem solved. I looked in the driver_nl80211.c and found that use_monitor relied on "poll_command_supported" and "data_tx_status". I printed these 2 parameters and saw that data_tx_status=0, it depends on >>NL80211_FEATURE_SK_TX_STATUS and this parameter was affected to the flags of wiphy->features, defined in /net/mac80211/main.c.I find this parameter was set = 0 in /backport-include/linux/nl80211.h
>> That's why montior mode was forced to used with AP mode. I set that parameter = 1 and no more monitor interface in AP mode, my AP work in DFS mode now.
>> I'll write a mail to backport mail list to ask them why do they set that parameter=0.
>So, did my firmware actually fix something, or was the problem just with the
>backports and how you were using the official firmware?
Your firmware allows me to enter the promiscuous mode to set up bridge network for myStation (using wpa_supplicant), If I use the official firmware (10.1.467-2.1) for my station, it crashed after associated with an AP. Thing that I've changed concern the backport, I disable monitor interface in AP mode to solve the connection problem in a channel using DFS and it doesn't concern your firmware.
Another thing that I've mentioned in my mail before that my AP create this interface when my station connected to my AP:
Interface wlan0.sta1
ifindex 10
wdev 0x6
addr 04:f0:21:0e:38:be
type AP/VLAN
channel 36 (5180 MHz), width: 40 MHz, center1: 5190 MHz
I am wrong because if I set up Router network for my STA, my AP won't create the interface wlan.sta1 when my STA connect, but if my STA is set up in Bridge network, the interface wlan0.sta1 will be created so this doesn't concern your firmware too.
NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE
More information about the ath10k
mailing list