I'm using backport to compile driver ath10k. I used hostapd to set up AP mode 
and my interface wlan0 always set up an interface mon.wlan0 with wlan0.
This makes my AP refuse the connection with a station when my AP use a channel 
that employs DFS; because the monitor interface didn't respond the probe 
request from the station. 

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 works withDFS  now.
My question is why did this parameter is set to 0? It may be used for some 
purpose?
Thanks, 

NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE


--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to