[haiku-bugs] Re: [Haiku] #15420: I am experiencing problems trying to connect, idualwifi7260

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 02 Jul 2020 23:55:29 -0000

#15420: I am experiencing problems trying to connect, idualwifi7260
--------------------------------------------+----------------------------
  Reporter:  WildKeccak                     |      Owner:  waddlesplash
      Type:  bug                            |     Status:  new
  Priority:  normal                         |  Milestone:  Unscheduled
 Component:  Drivers/Network/idualwifi7260  |    Version:  R1/Development
Resolution:                                 |   Keywords:
Blocked By:                                 |   Blocking:
  Platform:  x86-64                         |
--------------------------------------------+----------------------------
Comment (by dogcow):

 There seems to be an incompatibility between Haiku's wireless subsystem,
 which as we know is taken from FreeBSD and certain access points (Ruckus
 R510 Unleashed in my case). I have done extensive testing on this, and my
 finds are as follows.

 I acquired an Atheros ATH-AR5B125 card to do some further testing.

 Intel 7260 card: Haiku will not connect. FreeBSD 12 will not connect.

 Atheros ATH-AR5B125 card: Haiku will not connect. FreeBSD works!

 Both cards will connect to certain different APs, like my cellular phone's
 hotspot.

 Details:

 You can see the syslog events from the 7260 in my previous comment.

 Now, here's a sample of Haiku's syslog with the Atheros card attempting to
 connect to a **completely open** (no password/no encryption) network:

 {{{
 KERN: ifmedia_ioctl: switching wlan to   Type: IEEE 802.11 Wireless
 Ethernet
 KERN:   Mode: autoselect
 KERN:   SubType: autoselect
 KERN: wlan_control: 9234, 18
 KERN: wlan_control: 9234, 7
 KERN: wlan_control: 9234, 95
 KERN: wlan_control: 9234, 17
 KERN: wlan_open(0xffffffffa0114000)
 KERN: [net/atheroswifi/0] ieee80211_init
 KERN: [net/atheroswifi/0] start running, 1 vaps running
 KERN: wlan_control: 9234, 21
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] station assoc via MLME
 KERN: [net/atheroswifi/0] ieee80211_alloc_node
 0xffffffff9f530000<18:7c:0b:bb:fc:08> in station table
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] ieee80211_alloc_node:
 inact_reload 2
 KERN: [net/atheroswifi/0] node_reclaim: remove
 0xffffffff9f560000<20:16:d8:cc:93:55> from station table, refcnt 0
 KERN: [net/atheroswifi/0] set WME_AC_BE (chan) [acm 0 aifsn 3 logcwmin 4
 logcwmax 10 txop 0]
 KERN: [net/atheroswifi/0] set WME_AC_BE (bss ) [acm 0 aifsn 3 logcwmin 4
 logcwmax 10 txop 0]
 KERN: [net/atheroswifi/0] set WME_AC_BK (chan) [acm 0 aifsn 7 logcwmin 4
 logcwmax 10 txop 0]
 KERN: [net/atheroswifi/0] set WME_AC_BK (bss ) [acm 0 aifsn 7 logcwmin 4
 logcwmax 10 txop 0]
 KERN: [net/atheroswifi/0] set WME_AC_VI (chan) [acm 0 aifsn 2 logcwmin 3
 logcwmax 4 txop 94]
 KERN: [net/atheroswifi/0] set WME_AC_VI (bss ) [acm 0 aifsn 2 logcwmin 3
 logcwmax 4 txop 94]
 KERN: [net/atheroswifi/0] set WME_AC_VO (chan) [acm 0 aifsn 2 logcwmin 2
 logcwmax 3 txop 47]
 KERN: [net/atheroswifi/0] set WME_AC_VO (bss ) [acm 0 aifsn 2 logcwmin 2
 logcwmax 3 txop 47]
 KERN: [net/atheroswifi/0] update WME_AC_BE (chan+bss) [acm 0 aifsn 2
 logcwmin 4 logcwmax 10 txop 64]
 KERN: [net/atheroswifi/0] ieee80211_wme_updateparams_locked: WME params
 updated, cap_info 0x0
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: SCAN -> AUTH
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: SCAN -> AUTH arg 192
 KERN: [net/atheroswifi/0] sta_newstate: SCAN -> AUTH (192)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv auth frame with
 algorithm 0 seq 2
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: AUTH -> ASSOC
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: AUTH -> ASSOC arg 0
 KERN: [net/atheroswifi/0] sta_newstate: AUTH -> ASSOC (0)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv disassociate (reason: 1
 (unspecified))
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: ASSOC -> ASSOC
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: ASSOC -> ASSOC arg 0
 KERN: [net/atheroswifi/0] sta_newstate: ASSOC -> ASSOC (0)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv deauthenticate (reason:
 9 (STA requesting (re)association is not authenticated))
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: ASSOC -> AUTH
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: ASSOC -> AUTH arg 2496
 KERN: [net/atheroswifi/0] sta_newstate: ASSOC -> AUTH (2496)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv auth frame with
 algorithm 0 seq 2
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: AUTH -> ASSOC
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: AUTH -> ASSOC arg 0
 KERN: [net/atheroswifi/0] sta_newstate: AUTH -> ASSOC (0)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv disassociate (reason: 1
 (unspecified))
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: ASSOC -> ASSOC
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: ASSOC -> ASSOC arg 0
 KERN: [net/atheroswifi/0] sta_newstate: ASSOC -> ASSOC (0)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv deauthenticate (reason:
 9 (STA requesting (re)association is not authenticated))
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: ASSOC -> AUTH
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: ASSOC -> AUTH arg 2496
 KERN: [net/atheroswifi/0] sta_newstate: ASSOC -> AUTH (2496)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] recv auth frame with
 algorithm 0 seq 2
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: AUTH -> ASSOC
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: AUTH -> ASSOC arg 0
 KERN: [net/atheroswifi/0] sta_newstate: AUTH -> ASSOC (0)
 KERN: [net/atheroswifi/0] ieee80211_ref_node (ieee80211_send_mgmt:2463)
 0xffffffff9f530000<18:7c:0b:bb:fc:08> refcnt 4
 KERN: wlan_control: 9235, 15
 KERN: wlan_control: 9235, 76
 KERN: Last message repeated 12 times.
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: ASSOC -> SCAN
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: ASSOC -> SCAN arg 1
 KERN: [net/atheroswifi/0] sta_newstate: ASSOC -> SCAN (1)
 KERN: wlan_control: 9234, 21
 KERN: [net/atheroswifi/0] [18:7c:0b:bb:fc:08] station deauth via MLME
 (reason: 3 (sending STA is leaving/has left IBSS or ESS))
 KERN: [net/atheroswifi/0] ieee80211_new_state_locked: SCAN -> INIT
 (nrunning 0 nscanning 0)
 KERN: [net/atheroswifi/0] ieee80211_newstate_cb: SCAN -> INIT arg 3
 KERN: [net/atheroswifi/0] sta_newstate: SCAN -> INIT (3)
 KERN: [net/atheroswifi/0] node_reclaim: remove
 0xffffffff9f530000<18:7c:0b:bb:fc:08> from station table, refcnt 2
 KERN: [net/atheroswifi/0] ieee80211_alloc_node
 0xffffffff9f560000<20:16:d8:cc:93:55> in station table
 KERN: [net/atheroswifi/0] [20:16:d8:cc:93:55] ieee80211_alloc_node:
 inact_reload 2
 }}}

 I have updated the upstream FreeBSD ticket with my findings.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15420#comment:19>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: