Created attachment 150686 [details] Patch for if_wpi.c (wpi_scan()) / if_wpireg.h - Use macros instead of numbers. - Replace code with function call.
Hi! I think it's about time that "add ssid" method just got added somewhere in net80211. Want to do that? I think that's the better solution. Then I'll commit it! It's likely we can then use that particular routine from a variety of other drivers. Thanks! -adrian
ok, would you now submit a replacement patch with the new public ieee80211_add_ssid () ? Thanks!
Created attachment 150752 [details] Patch for if_wpi.c (wpi_scan()) / if_wpireg.h Rebase against HEAD.
Committed, thanks!
A commit references this bug: Author: adrian Date: Sat Dec 20 20:07:49 UTC 2014 New revision: 275966 URL: https://svnweb.freebsd.org/changeset/base/275966 Log: Remove some hard-coded IE assembly over to use net80211 methods. PR: kern/196069 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Changes: head/sys/dev/wpi/if_wpi.c head/sys/dev/wpi/if_wpireg.h