What is the ieee80211_scanner variable?

2018-07-28 Thread Farhan Khan
Hi all,

What is "ieee80211_scanner *scanners", as defined in ieee80211_scan.c
and how is it set?

I am trying to figure out why my driver does not produce any results
when I run "ifconfig wlan0 scan". I traced the ioctl that ifconfig(8)
sends up to ieee80211_start_scan(). Here it will run
ieee80211_scanner_get(), which appears to check if the "scanners"
variable is set to not-NULL, and if so, return that value. Back in
ieee80211_start_scan() if the value is NULL, it will return 0. The
surrounding debug printf message suggests that this means the card is
not able to scan.

Where is this value set? What is it? It seems to be defined within
net80211(4) and not at the driver-level?
Am I missing something? Please explain.

Thanks,

--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

Cy Schubert  changed:

   What|Removed |Added

   Assignee|wirel...@freebsd.org|c...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #6 from Cy Schubert  ---
This looks similar to my setup. The main difference I see is that you must set
the MAC address of your primary interface on all your lagg interfaces, as
documented in the handbook.

Use your ethernet MAC address as I do here (this works BTW):

case $kq_machine in
3623)   hostname=daisy
WLANADDR="00:XX:XX:XX:XX:XX"
ETH=rl0;;
4752|*) hostname=slippy
WLANADDR="20:XX:XX:XX:XX:XX"
ETH=bge0;;
esac

ifconfig_wlan0="WPA -bgscan scanvalid 16959 roaming manual bmiss 120"
ifconfig_bge0="-tso4 wol up"
ifconfig_lagg0_ipv6="inet6 -ifdisabled accept_rtadv autoconf"
ifconfig_lagg0="laggproto failover laggport $ETH laggport wlan0 DHCP"
ifconfig_wlan0="$MAC $ifconfig_wlan0 up"
create_args_wlan0="wlanaddr $WLANADDR"
cloned_interfaces="lagg0"

The next question is, it appears you are configured for EAP. Is this correct?
Does it work with PSK?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #5 from Masachika ISHIZUKA  ---
(In reply to Kyle Evans from comment #4)

I installed wpa_supplicant-2.6_2 by 'pkg install wpa_supplicant' and added
'wpa_supplicant_program="/usr/local/sbin/wpa_supplicant"' to /etc/rc.conf.
wpa_supplicant-2.6_2 was not connected wlan0 at startup.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 229406] Atheros 9285 interrupt storm. After upgrading to 11.2 from 11.1 release. At different times after booting.

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229406

asper...@gmail.com changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Not A Bug

--- Comment #2 from asper...@gmail.com ---
it was a problem with hardware.
Sorry.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #4 from Kyle Evans  ---
(In reply to Masachika ISHIZUKA from comment #3)

How about ports wpa_supplicant 2.6? Is that also broken? We carry a light diff
from that and only one bit of it that might make any difference, but it's worth
a shot.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #3 from Masachika ISHIZUKA  ---
(In reply to Kyle Evans from comment #2)

Thank you for reply.
I use r336661 and it dose not connect wlan at startup.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #2 from Kyle Evans  ---
Hi,

Please try a wpa_supplicant past r336529 a d let us know how that goes. There
were some patch issues sorted out after the import.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected at startup (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

Masachika ISHIZUKA  changed:

   What|Removed |Added

Summary|wpa_supplicant v2.6 is not  |wpa_supplicant v2.6 is not
   |connected after reboot  |connected at startup (was:
   |(was: wlan is not connected |wlan is not connected after
   |after reboot)   |reboot)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wpa_supplicant v2.6 is not connected after reboot (was: wlan is not connected after reboot)

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

Masachika ISHIZUKA  changed:

   What|Removed |Added

Summary|wlan is not connected after |wpa_supplicant v2.6 is not
   |reboot  |connected after reboot
   ||(was: wlan is not connected
   ||after reboot)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 230098] wlan is not connected after reboot

2018-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230098

--- Comment #1 from Masachika ISHIZUKA  ---
(In reply to Masachika ISHIZUKA from comment #0)

I copied /usr/sbin/wpa_supplicant from another machine that run on r336196.
This wpa_supplicant is good working at bootup.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"