Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AltoBeam 603x driver - network visible but cannot join #1655

Open
SciFiDryer opened this issue Dec 31, 2024 · 0 comments
Open

AltoBeam 603x driver - network visible but cannot join #1655

SciFiDryer opened this issue Dec 31, 2024 · 0 comments

Comments

@SciFiDryer
Copy link

I have built the following kernel and firmware for a T31L board
Linux openipc-t31 3.10.14__isvp_swan_1.0__ #2 PREEMPT Tue Dec 10 15:11:37 EST 2024 mips GNU/Linux
It boots fine and the wifi board appears visible after setting GPIO 6. If I use the atbm603x_wifi_usb.ko that ships with openipc, the wlan0 interface is never created.If I use the atbm603x_wifi_usb.ko that shipped with the original firmware, the wlan0 interface is created and I can see networks.

root@openipc-t31:~# gpio set 6                                                                                                                                                                                        
Setting GPIO-6 to HI
root@openipc-t31:~# modprobe cfg80211                                                                                                                                                                                 
root@openipc-t31:~# insmod /mnt/mmcblk0p1/atbm603x_wifi_usb.ko                                                                                                                                                        
root@openipc-t31:~# dmesg | tail                                                                                                                                                                                      
[  131.585758] [atbm_log]:[phy0-ble_xmit] start                                                                                                                                                                       
[  131.585976] [atbm_log]:ble_platform_probe(81440880)                                                                                                                                                                
[  131.586006] [atbm_log]:is registered as 'phy0'                                                                                                                                                                     
[  131.586041] [atbm_log]:apollo wifi : can't open /tmp/atbm_txpwer_dcxo_cfg.txt                                                                                                                                      
[  131.586064] [atbm_log]:apollo wifi : can't open /tmp/set_rate_power.txt                                                                                                                                            
[  131.586466] [atbm_log]:open_auto_cfo:ppm_buf:cfo 1 0 , buf_len:8                                                                                                                                                   
[  131.586630] [atbm_log]:get chip id [834][10][0]                                                                                                                                                                    
[  131.586642] [atbm_log]:current chiptype 6012B-X                                                                                                                                                                    
[  131.586652] [atbm_log]:[atbm_wtd]:set wtd_probe = 1                                                                                                                                                                
[  131.589808] usbcore: registered new interface driver atbm_wlan

If I try to join I get the following messages repeated over and over again in dmesg.

root@openipc-t31:~# wpa_supplicant -B -i wlan0 -c /tmp/wpa_supplicant.conf -D wext
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
root@openipc-t31:~# dmesg | tail -n 50
[  323.964287] [atbm_log]:wlan0:free authen bss ++  
[  323.994006] [atbm_log]:wlan0:free authen bss --
[  323.994060] [atbm_log]:[STA]:unjoin   
[  323.995090] [atbm_log]:atbm_set_pm:if_id(0) is not assco
[  323.995100] [atbm_log]:[STA] Unjoin. 
[  327.467435] [atbm_log]:__ieee80211_start_scan:channels[1]         
[  327.494003] [atbm_log]:ieee80211_prep_hw_scan:n_chans(1),space(1),index(1),scaned(1) 
[  327.494039] [atbm_log]:atbm_hw_scan:if_id(0)
[  327.494249] [atbm_log]:atbm_hw_scan:scan, delay suspend 
[  327.495118] [atbm_log]:scan start band(0),(1)    
[  327.559842] [atbm_log]:hw_priv->scan.status 0    
[  327.559907] [atbm_log]:atbm_scan_work:end(0)
[  327.574025] [atbm_log]:stop scan:policy empty    
[  327.575841] [atbm_log]:wlan0:free authen bss ++  
[  327.613999] [atbm_log]:authen:(e8:9f:80:xx:xx:xx),ssid(good)      
[  327.614420] [atbm_log]:authenticate[e8:9f:80:xx:xx:xx]:[0][1]     
[  327.614441] [atbm_log]:wlan0: authenticate with e8:9f:80:xx:xx:xx (try 1) (1)(0)     
[  327.614483] [atbm_log]:[STA] Join DTIM: 1, interval: 100
[  327.614495] [atbm_log]:atbm_set_pm:if_id(0) is not assco  [  327.764406] [atbm_log]:cancle_work_done:[e8:9f:80:xx:xx:xx][15][11]      
[  328.264049] [atbm_log]:authenticate[e8:9f:80:xx:xx:xx]:[0][2]     
[  328.264070] [atbm_log]:wlan0: authenticate with e8:9f:80:xx:xx:xx (try 2) (1)(0)     
[  328.264081] [atbm_log]:sta has been insert(0)    
[  328.764057] [atbm_log]:authenticate[e8:9f:80:xx:xx:xx]:[0][3]     
[  328.764081] [atbm_log]:wlan0: authenticate with e8:9f:80:xx:xx:xx (try 3) (1)(0)     
[  328.764092] [atbm_log]:sta has been insert(0)    
[  329.104971] [atbm_log]:ieee80211_rx_h_check:[wlan0]:sta[e8:9f:80:xx:xx:xx] not assoc[2]        
[  329.264040] [atbm_log]:authenticate[e8:9f:80:xx:xx:xx]:[0][4]     
[  329.264059] [atbm_log]:wlan0: authentication with e8:9f:80:xx:xx:xx timed out 
[  329.264068] [atbm_log]:wlan0:free authen bss ++  
[  329.303988] [atbm_log]:wlan0:free authen bss --  
[  329.304047] [atbm_log]:[STA]:unjoin  
[  329.306194] [atbm_log]:atbm_set_pm:if_id(0) is not assco
[  329.306216] [atbm_log]:[STA] Unjoin. 
[  332.616180] [atbm_log]:__ieee80211_start_scan:channels[1]         
[  332.644097] [atbm_log]:ieee80211_prep_hw_scan:n_chans(1),space(1),index(1),scaned(1) 
[  332.644149] [atbm_log]:atbm_hw_scan:if_id(0)
[  332.644407] [atbm_log]:atbm_hw_scan:scan, delay suspend 
[  332.645437] [atbm_log]:scan start band(0),(1)    
[  332.710209] [atbm_log]:hw_priv->scan.status 0    
[  332.710286] [atbm_log]:atbm_scan_work:end(0)
[  332.744041] [atbm_log]:stop scan:policy empty    
[  332.745006] [atbm_log]:__ieee80211_start_scan:channels[14]        
[  332.784051] [atbm_log]:ieee80211_prep_hw_scan:n_chans(14),space(14),index(14),scaned(14)       
[  332.784085] [atbm_log]:atbm_hw_scan:if_id(0)
[  332.784279] [atbm_log]:atbm_hw_scan:scan, delay suspend 
[  332.784558] [atbm_log]:scan start band(0),(14)   
[  333.694807] [atbm_log]:hw_priv->scan.status 0    
[  333.694877] [atbm_log]:atbm_scan_work:end(0)
[  333.724250] [atbm_log]:stop scan:policy empty

Has anyone else come across the timeouts for authentication before? I've also tried joining an open network and still can't associate. I get NO CARRIER on wlan0 after attempting to join.

root@openipc-t31:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN                                                                                                                                                   
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                                                                                                                                                             
    inet 127.0.0.1/8 scope host lo                                                                                                                                                                                    
       valid_lft forever preferred_lft forever                                                                                                                                                                        
    inet6 ::1/128 scope host                                                                                                                                                                                          
       valid_lft forever preferred_lft forever                                                                                                                                                                        
2: tunl0: <NOARP> mtu 0 qdisc noop state DOWN                                                                                                                                                                         
    link/ipip 0.0.0.0 brd 0.0.0.0                                                                                                                                                                                     
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000                                                                                                                                  
    link/ether 20:98:ed:xx:xx:xx brd ff:ff:ff:ff:ff:ff                                                                                                                                                                
4: p2p0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000                                                                                                                                               
    link/ether 22:98:ed:xx:xx:xx brd ff:ff:ff:ff:ff:ff 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant