ath10k: set channel by command "iw" not from hostapd and DFS support of firmware-2.bin_10.1.467.2-1

Vu Hai NGUYEN vh.nguyen at actiasodielec.fr
Fri May 16 02:41:52 PDT 2014


>> Yes I'm using backport v3.15 (latest) to build ath10k for my kernel 3.2.36 (provided by Marvell for my Marvell Armada 370 chipset).
>> I also download the folder ath from ath10k master branch (I got problem with seeing information of fw_stats from the version ath10k in backport).
>> Any suggestion? Please feel free to ask me more information if you need :D

>Did you just replace it under your backports folder? Maybe you still
>have CONFIG_ATH10K_DFS_CERTIFIED instead of
>CPTCFG_ATH10K_DFS_CERTIFIED there?

Oh yes thank you, I did it for other define (DEBUG, DEBUGFS, ..)  and CONFIG_ATH10K_DFS_CERTIFIED in the file debug.c (that's why I had 3 debug files of DFS) but I did not do it in 2 files wmi.c and mac.c
Now I don't get the error like before but this warning appear:

ath10k: wmi mgmt vdev up id 0x1 assoc id 0 bssid 04:f0:21:0e:38:be              
ath10k: mac monitor vdev 1 started                                              
ath10k: mac monitor started                                                     
------------[ cut here ]------------                                            
WARNING: at /home/alberix2/Desktop/Wilinks_ath10k/ACCESS_POINT_APPLI/Source/Driv
er_ath10k/backports-3.15-rc1-1/net/wireless/nl80211.c:5824 nl80211_start_radar_d
etection+0xf8/0x16c [cfg80211]()                                                
Modules linked in: ath10k_pci(O) ath10k_core(O) ath(O) mac80211(O) cfg80211(O) c
ompat(O) arc4 ubifs ubi [last unloaded: compat]                                 
Backtrace:                                                                      
[<c0011938>] (dump_backtrace+0x0/0x118) from [<c050205c>] (dump_stack+0x18/0x20)
 r6:bf64b61f r5:000016c0 r4:00000000 r3:c10bc7ac                                
[<c0502044>] (dump_stack+0x0/0x20) from [<c0066c38>] (warn_slowpath_common+0x54/
0x70)                                                                           
[<c0066be4>] (warn_slowpath_common+0x0/0x70) from [<c0066c78>] (warn_slowpath_nu
ll+0x24/0x2c)                                                                   
 r8:00000000 r7:00000000 r6:d2e88000 r5:d27a8000 r4:d2e883c8                    
r3:00000009                                                                     
[<c0066c54>] (warn_slowpath_null+0x0/0x2c) from [<bf60fadc>] (nl80211_start_rada
r_detection+0xf8/0x16c [cfg80211])                                              
[<bf60f9e4>] (nl80211_start_radar_detection+0x0/0x16c [cfg80211]) from [<c045348
8>] (genl_rcv_msg+0x1b4/0x1f4)                                                  
[<c04532d4>] (genl_rcv_msg+0x0/0x1f4) from [<c0452904>] (netlink_rcv_skb+0x58/0x
b8)                                                                             
[<c04528ac>] (netlink_rcv_skb+0x0/0xb8) from [<c04532c4>] (genl_rcv+0x20/0x30)  
 r6:d318fe00 r5:d29afb00 r4:d29afb00 r3:c04532a4                                
[<c04532a4>] (genl_rcv+0x0/0x30) from [<c04522d0>] (netlink_unicast+0x224/0x2c4)
 r4:d0074400 r3:c04532a4                                                        
[<c04520ac>] (netlink_unicast+0x0/0x2c4) from [<c04526a4>] (netlink_sendmsg+0x29
0/0x320)                                                                        
[<c0452414>] (netlink_sendmsg+0x0/0x320) from [<c0428eac>] (sock_sendmsg+0x98/0x
b4)                                                                             
[<c0428e14>] (sock_sendmsg+0x0/0xb4) from [<c0429150>] (__sys_sendmsg+0x1d0/0x26
c)                                                                              
 r4:d2b9bf64                                                                    
[<c0428f80>] (__sys_sendmsg+0x0/0x26c) from [<c042ab30>] (sys_sendmsg+0x44/0x68)
[<c042aaec>] (sys_sendmsg+0x0/0x68) from [<c000ddc0>] (ret_fast_syscall+0x0/0x30
)                                                                               
 r6:00134870 r5:4008f9f0 r4:00136660                                            
---[ end trace 4c6338919fa0b3d6 ]---       

My iw dev show : channel 52 (5260 MHz), width: 20 MHz, center1: 5260 MHz  but I can not connect my station to the access point (seems it does not work yet cause the file "dfs_stats" still show "DFS not enabled" . I had a debug msg with debug mask = 0x432 for ath10k in the attached file if someone are interested in. 

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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug_mess.txt
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20140516/4ccd0b43/attachment-0001.txt>


More information about the ath10k mailing list