freebsd-dev/etc
Gleb Smirnoff 7a79cebfba Replay r286410. Change KPI of how device drivers that provide wireless
connectivity interact with the net80211 stack.

Historical background: originally wireless devices created an interface,
just like Ethernet devices do. Name of an interface matched the name of
the driver that created. Later, wlan(4) layer was introduced, and the
wlanX interfaces become the actual interface, leaving original ones as
"a parent interface" of wlanX. Kernelwise, the KPI between net80211 layer
and a driver became a mix of methods that pass a pointer to struct ifnet
as identifier and methods that pass pointer to struct ieee80211com. From
user point of view, the parent interface just hangs on in the ifconfig
list, and user can't do anything useful with it.

Now, the struct ifnet goes away. The struct ieee80211com is the only
KPI between a device driver and net80211. Details:

- The struct ieee80211com is embedded into drivers softc.
- Packets are sent via new ic_transmit method, which is very much like
  the previous if_transmit.
- Bringing parent up/down is done via new ic_parent method, which notifies
  driver about any changes: number of wlan(4) interfaces, number of them
  in promisc or allmulti state.
- Device specific ioctls (if any) are received on new ic_ioctl method.
- Packets/errors accounting are done by the stack. In certain cases, when
  driver experiences errors and can not attribute them to any specific
  interface, driver updates ic_oerrors or ic_ierrors counters.

Details on interface configuration with new world order:
- A sequence of commands needed to bring up wireless DOESN"T change.
- /etc/rc.conf parameters DON'T change.
- List of devices that can be used to create wlan(4) interfaces is
  now provided by net.wlan.devices sysctl.

Most drivers in this change were converted by me, except of wpi(4),
that was done by Andriy Voskoboinyk. Big thanks to Kevin Lo for testing
changes to at least 8 drivers. Thanks to pluknet@, Oliver Hartmann,
Olivier Cochard, gjb@, mmoll@, op@ and lev@, who also participated in
testing.

Reviewed by:	adrian
Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
2015-08-27 08:56:39 +00:00
..
autofs Make the autofs LDAP script cope with server returning entries with 2015-03-21 09:42:37 +00:00
bluetooth
casper Please welcome casperd daemon. It (and its services) will be responsible for 2013-12-02 08:21:28 +00:00
defaults Make rctl_enable rc variable actually work. To avoid breaking existing 2015-08-05 17:38:02 +00:00
devd - Fix compilation after r285909 with USB_DEBUG defined. 2015-07-27 14:43:14 +00:00
dma Install a default configuration file for dma 2014-02-21 21:02:19 +00:00
etc.aarch64 Start to import support for the AArch64 architecture from ARM. This change 2015-03-19 13:53:47 +00:00
etc.amd64 Convert the potential console port over to using 3wire, for i386/amd64. 2014-06-17 18:51:03 +00:00
etc.arm Enable ttyu1, ttyu2, ttyu3 for arm installations. 2015-06-21 19:50:02 +00:00
etc.i386 Convert the potential console port over to using 3wire, for i386/amd64. 2014-06-17 18:51:03 +00:00
etc.mips Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
etc.pc98
etc.powerpc Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
etc.sparc64 Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
gss
mail Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
mtree Upgrade libxo to 0.4.5. 2015-08-24 16:26:20 +00:00
newsyslog.conf.d Add sample log rotation support for opensm 2015-01-22 23:50:47 +00:00
pam.d Honor MK_ACCT with etc/pam.d/atrun 2015-01-26 08:50:12 +00:00
periodic Allow additional flags to be passed to netstat -i in the daily status check. 2015-03-27 00:37:41 +00:00
pkg Give hint on how to disable the default repository. 2014-03-30 15:24:17 +00:00
ppp
rc.d Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
root Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2015-07-07 03:00:57 +00:00
amd.map
apmd.conf
auto_master Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf Remove a comment in the wrong place. 2015-07-18 12:25:47 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab 10 years too late add support for "2.88MB 3.5in Extra High Density" 2012-11-02 00:17:30 +00:00
fbtab
freebsd-update.conf Remove remnants of BIND from /etc, since there is no BIND in base now. 2013-11-05 09:30:06 +00:00
ftpusers Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
gettytab Add 3wire and std as terminal types/classes. These are similar to 2014-03-09 20:51:14 +00:00
group Add a new group named 'video' with the id of 44. And make drm create 2015-08-09 12:58:56 +00:00
hosts
hosts.allow Allow info to display correctly in for varying tabstop settings 2014-12-24 01:50:44 +00:00
hosts.equiv
hosts.lpd
inetd.conf - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 2015-07-07 20:15:09 +00:00
libalias.conf
libmap.conf Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
login.access
login.conf Correctly set LC_COLLATE into setenv 2015-04-15 06:57:47 +00:00
mac.conf Spelling fixes for etc/ 2012-01-07 16:10:32 +00:00
Makefile Add META_MODE support. 2015-06-13 19:20:56 +00:00
man.alias
master.passwd Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
minfree
motd Add the less-ambiguous freebsd-version command. 2014-11-02 19:25:31 +00:00
netconfig
netstart Purge references to the mrouted rc script, which was removed in r275299. 2015-02-21 06:05:51 +00:00
network.subr Replay r286410. Change KPI of how device drivers that provide wireless 2015-08-27 08:56:39 +00:00
networks
newsyslog.conf - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by 2014-05-20 03:00:20 +00:00
nls.alias
nscd.conf
nsmb.conf Remove IPX support. 2014-03-14 02:58:48 +00:00
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf Add limited to the default restrictions. 2015-03-31 19:56:46 +00:00
opieaccess
pccard_ether Not only load pccard_ether settings, also load network settings. This 2012-11-08 20:34:12 +00:00
pf.os Add DragonFly BSD fingerprints to pf.os 2013-12-03 04:32:02 +00:00
phones
portsnap.conf Disable building INDEX-9 and INDEX-10 because they are not useful for 2015-08-11 22:43:28 +00:00
printcap
profile
protocols Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc The early-late divider was originally set to mountcritlocal. Since that 2014-12-01 12:29:59 +00:00
rc.bsdextended
rc.firewall Slight tidy up of comments before MFC 2015-06-29 07:43:09 +00:00
rc.initdiskless Revert r243228. This commit appears to cause more trouble than 2012-11-21 18:12:28 +00:00
rc.resume wpa_supplicant should be able to reassociate when resuming, so remove a 2013-07-04 07:32:40 +00:00
rc.sendmail
rc.shutdown Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.subr Update the comment about handling old-style rc(5) scripts 2015-08-05 03:03:57 +00:00
rc.suspend Revert r211288 and move the logic to the acpi_timer itself. 2012-02-08 20:31:42 +00:00
regdomain.xml Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
remote
rpc
services Add CouchDB ports (5984 TCP/UDP). 2015-06-29 15:38:34 +00:00
shells
snmpd.config Adds the bsnmp module to export the temperature data from lm75 sensors on 2014-06-01 03:14:03 +00:00
sysctl.conf
syslog.conf sbin/devd/devd.cc 2013-12-13 22:58:57 +00:00
termcap.small