aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_ioctl.h
Commit message (Collapse)AuthorAgeFilesLines
* net80211: add a new field specifically for announcing specific ciphersAdrian Chadd2024-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This dates way, way back with the original net80211 support w/ atheros chips. The earliest chip (AR5210) had limitations supporting software encryption. It only had the four WEP slots, and not any keycache entries. So when trying to do CCMP/TKIP encryption would be enabled and the key slots would have nothing useful in them, resulting in garbage encryption/decryption. I changed this back in 2012 to disable supporting hardware WEP for AR5210 so if_ath(4) / net80211 crypto is all done in software and yes, I could do CCMP/TKIP on AR5210 in software. Fast-forward to newer-ish hardware - the Qualcomm 11ac hardware. Those also don't support pass-through keycache slots! Well, the hardware does at that layer, but then there's a whole offload data path encap/decap layer that's turning the frames from raw wifi into ethernet frames (for "dumb" AP behaviours) or "wifi direct" frames (ie, "windows".) This hides a bunch of header frame contents required for doing the software encryption / decryption path. But then if you enable the raw transmit/receive frame format it ALSO bypasses the hardware encryption/decryption engine! So for those NICs: * If you want to do encryption, you can only use the firmware supported ciphers w/ wifi direct or ethernet; * If you want to use software encrypt/decrypt, you MUST disable all encryption and instead use 100% software encryption. The wpa_supplicant bsd driver code has a specific comment about this and flips on supporting WEP/TKIP/CCMP, which is understandable but it doesn't fix the ACTUAL intention of all of this stuff. So: * create a new field, ic_sw_cryptocaps * populate it with the default supported set of ciphers for net80211 (right now wep, tkip, ccmp) * Communicate the combination of both ic_sw_cryptocaps and ic_cryptocaps to wpa_supplicant via the relevant devcap ioctl. * Update manpage. I'll follow this up with a driver_bsd.c change in wpa_supplicant to trust this again, and then start adding the other cipher support there. Differential Revision: https://reviews.freebsd.org/D44820
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* net: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-1/+0
| | | | Notes: svn path=/head/; revision=365071
* net80211/ifconfig: print hardware device name for wlan interfacesBjoern A. Zeeb2020-08-071-0/+3
| | | | | | | | | | | | | | | | Add IEEE80211_IOC_IC_NAME to query the ic_name field and in ifconfig to print the parent interface again. This functionality was lost around r287197. It helps in case of multiple wlan interfaces and multiple underlying hardware devices to keep track which wlan interface belongs to which physical device. Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate") Reviewed by: adrian, Idwer Vollering MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25832 Notes: svn path=/head/; revision=364011
* [net80211] Add initial U-APSD negotiation support.Adrian Chadd2020-06-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | U-APSD (unscheduled automatic power save delivery) is a power save method that's a bit better than legacy PS-POLL - stations can mark frames with an extra flag that tells the AP to leak out more frames after it sends its own frames rather than needing to send a PS-POLL to get another frame from the AP. Now, this code just handles the negotiation bits; it doesn't actually implement U-APSD. That's up to drivers, and nothing in the tree yet implements this. I /may/ implement this for ath(4) if I eventually care enough but right now I plan on just implementing it for firmware offload based NICs that handle this in the NIC. I'll commit the ifconfig bit after this and I may have some follow-up commits as this gets used more by me in local testing. This should be a glorious no-op for everyone else. If things change for anyone that isn't fixed by a complete recompile then please reach out to me. Notes: svn path=/head/; revision=362210
* sys: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326272
* [net80211] begin handling multiple hardware decap'ed A-MSDU in the RX path.Adrian Chadd2017-10-121-1/+5
| | | | | | | | | | | | | | | | | | | | | The duplicate detection code currently expects A-MSDU frames to be encaped - they're decap'ed /after/ duplicate detection. However for ath10k (and iwm hardware later on) the firmware supports doing A-MSDU decap in hardware - which shows up as multiple frames with the same sequence number and IV. This is the first part of decap handling - if we see a stretch of A-MSDU frames from the driver with the MORE bit set, then don't treat them as duplicates. This isn't 100% complete as crypto sequence number handling and "A-MSDU in A-MPDU" needs handling, but it's a start. This should be a glorified no-op for everyone. Please tell me if it isn't. Notes: svn path=/head/; revision=324570
* [net80211] add VHT ioctl parameters and driver capabilitiesAdrian Chadd2017-01-071-0/+4
| | | | | | | | | | | | | * Add the VHT capability element to the driver capabilities so ifconfig can see if VHT is available * Add ioctl plumbing for enabling/disabling VHT and each of the VHT widths. Note: this DOES change the ABI (the driver caps ioctl struct size, sigh) so this will require a recompile of at least ifconfig. Notes: svn path=/head/; revision=311578
* [net80211] add an ioctl for LDPC configuration.Adrian Chadd2016-04-261-0/+1
| | | | Notes: svn path=/head/; revision=298603
* [net80211] add amsdu and fast frames encap failure counters in the ioctlAdrian Chadd2016-04-041-1/+4
| | | | | | | | | | definition. The code to set these will come in a subsequent commit (when I start fleshing out A-MSDU support.) Notes: svn path=/head/; revision=297562
* Update net80211 mesh struct ieee80211_meshgann_ie.Monthadar Al Jaberi2013-02-071-0/+1
| | | | | | | | | | | | | | | | * Change all field prefix from pann_ to gann_; * Added IEEE80211_MESHGANN_BASE_SZ macro to be used in the length field of a GANN frame according to 802.11 standard; * Changed gann_seq field type to uint32_t; * Added a Gate Announcement interval field according to IEEE802.11 2012 standard; * Added IEEE80211_MESHRT_FLAGS_GATE as flag bit to ieee80211_mesh_route; * Added IEEE80211_MESHRT_FLAGS_GATE as flag bit to ieee80211req_mesh_route; Approved by: adrian (mentor) Notes: svn path=/head/; revision=246501
* PREQ discovery update.Monthadar Al Jaberi2012-05-011-2/+3
| | | | | | | | | | | | | | | | | * Added a new discovery flag IEEE80211_MESHRT_FLAGS_DISCOVER; * Modified ieee80211_ioctl.h to include IEEE80211_MESHRT_FLAGS_DISCOVER; * Added hwmp_rediscover_cb, which will be called by a timeout to do rediscovery if we have not reach max number of preq discovery; * Modified hwmp_discover to setup a callout for path rediscovery; * Added to ieee80211req_mesh_route to have a back pointer to ieee80211vap for the discovery callout context; * Modified mesh_rt_add_locked arguemnt from ieee80211_mesh_state to ieee80211vap, this because we have to initialize the above back pointer; Approved by: adrian Notes: svn path=/head/; revision=234894
* Net80211s update: Mesh Gate Announcement and removal of Portal Announcement.Monthadar Al Jaberi2012-05-011-0/+1
| | | | | | | | | | | | | | | | | | * Renamed IEEE80211_ELEMID_MESHPANN to IEEE80211_ELEMID_MESHGANN according to amendment; * Added IEEE80211_IOC_MESH_GATE that controls whether Mesh Gate Announcement is activated or not; * Renamed all flags from Portal to Gate in HWMP frames; * Removed IEEE80211_ACTION_MESHPANN enum cause its part of the Mesh Action category now as per amendment; * Renamed IEEE80211_MESHFLAGS_PORTAL to IEEE80211_MESHFLAGS_GATE in ieee80211_mesh_state flags; * Modified ieee80211_hwmp.c/ieee80211_mesh.c to use new GATE flags; Approved by: adrian Notes: svn path=/head/; revision=234892
* Add some statistics to track BAR TX.Adrian Chadd2012-04-081-2/+5
| | | | Notes: svn path=/head/; revision=234018
* Track the number of bad beacons received.Adrian Chadd2012-02-281-1/+2
| | | | | | | PR: kern/165517 Notes: svn path=/head/; revision=232244
* Add 802.11h quiet time element support into net80211.Adrian Chadd2011-11-081-0/+5
| | | | | | | | | | | | | | | This supports both station and hostap modes: * Station mode quiet time element support listens to quiet time IE's and modifies the local quiet time configuration as appropriate; * Hostap mode both obeys the locally configured quiet time period and includes it in beacon frames so stations also can obey as needed. Submitted by: Himali Patel <himali.patel@sibridgetech.com> Sponsored by: Sibridge Technologies Notes: svn path=/head/; revision=227331
* Change i_len in ieee80211req to be unsigned and fix other signed/unsignedKevin Lo2011-06-161-1/+1
| | | | | | | | | | issues. Reviewed by: bschmidt Obtained from: NetBSD Notes: svn path=/head/; revision=223145
* Revert unwanted changes in revision 203422.Rui Paulo2010-02-061-3/+3
| | | | | | | Spotted by: sam Notes: svn path=/head/; revision=203556
* When taking the AMPDU reorder fastpath, need_tap wasn't beingRui Paulo2010-02-031-3/+3
| | | | | | | | | initialized. Initialize on declaration to avoid this. Found with: clang static analyzer Notes: svn path=/head/; revision=203422
* The isr_intval in ieee80211req_scan_result structure should be 16 bit.Rui Paulo2009-11-091-1/+1
| | | | | | | | | | | This makes ifconfig list scan display the correct beacon interval (previously it would int overflow). As a side effect, this makes the ieee80211req_scan_result word aligned. Submitted by: Paul B Mahol <onemda at gmail.com> Notes: svn path=/head/; revision=199076
* Mesh fixes, namely:Rui Paulo2009-07-271-2/+6
| | | | | | | | | | | | | | | * don't clobber proxy entries * HWMP seq number processing, including discard of old frames * flush routing table entries based on nexthop * print route flags in ifconfig * more debugging messages and comments Proxy changes submitted by sam. Approved by: re (kib) Notes: svn path=/head/; revision=195908
* More mesh bits, namely:Rui Paulo2009-07-201-2/+16
| | | | | | | | | | | | | | | | | * bridge support (sam) * handling of errors (sam) * deletion of inactive routing entries * more debug msgs (sam) * fixed some inconsistencies with the spec. * decap is now specific to mesh (sam) * print mesh seq. no. on ifconfig list mesh * small perf. improvements Reviewed by: sam Approved by: re (kib) Notes: svn path=/head/; revision=195784
* Move code that does payload realigment to a new routine, ieee80211_realign,Sam Leffler2009-07-181-1/+2
| | | | | | | | | | so it can be reused. While here rewrite the logic to always use a single mbuf. Reviewed by: rpaulo Approved by: re (kib) Notes: svn path=/head/; revision=195757
* Implementation of the upcoming Wireless Mesh standard, 802.11s, on theRui Paulo2009-07-111-1/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | net80211 wireless stack. This work is based on the March 2009 D3.0 draft standard. This standard is expected to become final next year. This includes two main net80211 modules, ieee80211_mesh.c which deals with peer link management, link metric calculation, routing table control and mesh configuration and ieee80211_hwmp.c which deals with the actually routing process on the mesh network. HWMP is the mandatory routing protocol on by the mesh standard, but others, such as RA-OLSR, can be implemented. Authentication and encryption are not implemented. There are several scripts under tools/tools/net80211/scripts that can be used to test different mesh network topologies and they also teach you how to setup a mesh vap (for the impatient: ifconfig wlan0 create wlandev ... wlanmode mesh). A new build option is available: IEEE80211_SUPPORT_MESH and it's enabled by default on GENERIC kernels for i386, amd64, sparc64 and pc98. Drivers that support mesh networks right now are: ath, ral and mwl. More information at: http://wiki.freebsd.org/WifiMesh Please note that this work is experimental. Also, please note that bridging a mesh vap with another network interface is not yet supported. Many thanks to the FreeBSD Foundation for sponsoring this project and to Sam Leffler for his support. Also, I would like to thank Gateworks Corporation for sending me a Cambria board which was used during the development of this project. Reviewed by: sam Approved by: re (kensmith) Obtained from: projects/mesh11s Notes: svn path=/head/; revision=195618
* mark struct ieee80211req_maclist packed so sizeof works as intended on arm;Sam Leffler2009-07-101-1/+1
| | | | | | | | | fixes "list mac" Approved by: re (kensmith) Notes: svn path=/head/; revision=195561
* Rev IEEE80211_IOC_STA_INFO abi: ni_flags grew from 16 bits to 32Sam Leffler2009-06-131-1/+2
| | | | | | | | | | | bits but isi_state did not follow; expand it to 32 bits and pad to maintain alignment. Note this is an incompatible change that requires rebuilding of user applications. Submitted by: rpaulo, cbzimmer, avatar Notes: svn path=/head/; revision=194136
* reserve ioc's for Greenfield and STBCSam Leffler2009-06-051-0/+2
| | | | Notes: svn path=/head/; revision=193548
* pad data structures to enable integration of future features w/o abi breakageSam Leffler2009-06-011-2/+7
| | | | Notes: svn path=/head/; revision=193239
* Hoist 802.11 encapsulation up into net80211:Sam Leffler2009-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o call ieee80211_encap in ieee80211_start so frames passed down to drivers are already encapsulated o remove ieee80211_encap calls in drivers o fixup wi so it recreates the 802.3 head it requires from the 802.11 header contents o move fast-frame aggregation from ath to net80211 (conditional on IEEE80211_SUPPORT_SUPERG): - aggregation is now done in ieee80211_start; it is enabled when the packets/sec exceeds ieee80211_ffppsmin (net.wlan.ffppsmin) and frames are held on a staging queue according to ieee80211_ffagemax (net.wlan.ffagemax) to wait for a frame to combine with - drivers must call back to age/flush the staging queue (ath does this on tx done, at swba, and on rx according to the state of the tx queues and/or the contents of the staging queue) - remove fast-frame-related data structures from ath - add ieee80211_ff_node_init and ieee80211_ff_node_cleanup to handle per-node fast-frames state (we reuse 11n tx ampdu state) o change ieee80211_encap calling convention to include an explicit vap so frames coming through a WDS vap are recognized w/o setting M_WDS With these changes any device able to tx/rx 3Kbyte+ frames can use fast-frames. Reviewed by: thompsa, rpaulo, avatar, imp, sephe Notes: svn path=/head/; revision=190579
* Remove assumptions about the max # channels in ioctl's:Sam Leffler2009-01-271-6/+21
| | | | | | | | | | | | o change ioctl's that pass channel lists in/out to handle variable-size arrays instead of a fixed (compile-time) value; we do this in a way that maintains binary compatibility o change ifconfig so all channel list data structures are now allocated to hold MAXCHAN entries (1536); this, for example, allows the kernel to return > IEEE80211_CHAN_MAX entries for calls like IEEE80211_IOC_DEVCAPS Notes: svn path=/head/; revision=187801
* TDMA support for long distance point-to-point links using ath devices:Sam Leffler2009-01-081-2/+9
| | | | | | | | | | | | | | | | | | o add net80211 support for a tdma vap that is built on top of the existing adhoc-demo support o add tdma scheduling of frame transmission to the ath driver; it's conceivable other devices might be capable of this too in which case they can make use of the 802.11 protocol additions etc. o add minor bits to user tools that need to know: ifconfig to setup and configure, new statistics in athstats, and new debug mask bits While the architecture can support >2 slots in a TDMA BSS the current design is intended (and tested) for only 2 slots. Sponsored by: Intel Notes: svn path=/head/; revision=186904
* RIFS support; needs driver callback for dynamic state changeSam Leffler2008-09-221-0/+1
| | | | Notes: svn path=/head/; revision=183256
* MIMO power save support; still needs callbacks for notifying driversSam Leffler2008-09-211-0/+1
| | | | | | | of dynamic state change in station mode. Notes: svn path=/head/; revision=183255
* o validate the ba policy in addba responseSam Leffler2008-09-061-1/+2
| | | | | | | | o leave a check for the max ba window disabled; we accept out of range values and just truncate them but may want to act differently in the future Notes: svn path=/head/; revision=182829
* Multi-bss (aka vap) support for 802.11 devices.Sam Leffler2008-04-201-31/+222
| | | | | | | | | | | | | | Note this includes changes to all drivers and moves some device firmware loading to use firmware(9) and a separate module (e.g. ral). Also there no longer are separate wlan_scan* modules; this functionality is now bundled into the wlan module. Supported by: Hobnob and Marvell Reviewed by: many Obtained from: Atheros (some bits) Notes: svn path=/head/; revision=178354
* sync 11n support with vap code base; many changes based on interopSam Leffler2007-11-021-2/+22
| | | | | | | | | testing with all major vendors MFC after: 1 week Notes: svn path=/head/; revision=173273
* correct channel flags returned by IEEE80211_IOC_STA_INFO; we needSam Leffler2007-11-021-1/+1
| | | | | | | | | to return all 32-bits to identify stations operating with HT MFC after: 1 week Notes: svn path=/head/; revision=173272
* o move IEEE80211_NONQOS_TID into a public locationSam Leffler2007-09-181-2/+3
| | | | | | | | | o add IEEE80211_TID_SIZE and replace all the nake constants Approved by: re (blanket wireless) Notes: svn path=/head/; revision=172225
* Fixup sta inactivity handling:Sam Leffler2007-09-061-0/+1
| | | | | | | | | | | | | | | o reset ni_inact when ni_inact_reload is changed so we're assured a valid setting o never let ni_inact go negative o add a knob to disable hostap sta idle handling (e.g. so it can be done by a user application) o remove bogus reload on associate Reviewed by: avatar Approved by: re (blanket wireless) Notes: svn path=/head/; revision=172062
* Update 802.11 wireless support:Sam Leffler2007-06-111-188/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell. Notes: svn path=/head/; revision=170530
* copyright updates:Sam Leffler2007-06-061-7/+1
| | | | | | | | | | o update to include 2007 o switch back to a 2-clause bsd-only license Reviewed by: onoe Notes: svn path=/head/; revision=170360
* More statistics fixups:Sam Leffler2006-08-101-3/+5
| | | | | | | | | | | | | | | | | | | | o change rssi to be signed in ieee80211_nodestats o add noise floor in ieee80211_nodestats (use an implicit hole to preserve layout); return it as zero until we can update the api's so the driver can provide noise floor data o add a bandaid so IEEE80211_IOC_STA_STATS works for sta mode; when all nodes are in the station table this will no longer be needed o fix braino in IEEE80211_IOC_STA_INFO implementation; was supposed to take a mac address and return info for that sta or all stations if ff:ff:ff:ff:ff was supplied--but somehow this didn't get implemented; implement the intended semantics and leave a compat shim at the old ioctl number for the previous api Reviewed by: mlaier MFC after: 3 weeks Notes: svn path=/head/; revision=161146
* minor fixups:Sam Leffler2006-08-101-1/+4
| | | | | | | | | | | | o add some missing stats to the global stat structure o move accounting work for data frame rx into ieee80211_deliver_data o add per-sta stats for rx ucast/mcast frames o set rcvif in ieee80211_deliver_data so callers don't need to MFC after: 2 weeks Notes: svn path=/head/; revision=161145
* add IEEE80211_IOC_BMISSTHRESHOLD for managing the beacon missSam Leffler2006-07-261-0/+1
| | | | | | | | | | threshold Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 2 weeks Notes: svn path=/head/; revision=160686
* Rev ioctl to get scan results:Sam Leffler2006-01-181-5/+11
| | | | | | | | | | | | | | | | | | | o lock the list walk o malloc a results buffer instead of copying out one result at a time using an on-stack buffer o fix definition of ieee80211req_scan_result so size of variable-length information elements is large enough to hold all possible ie's (still only return wpa+wme, at some point may return all) o make rssi+noise data signed; they should've been so all along o add a bit more padding for future additions while we're here o define a new ioctl for new api and add compat code for old ioctl under COMPAT_FREEBSD6 (temporarily enabled local to the file) Reviewed by: Scott Long MFC after: 2 weeks Notes: svn path=/head/; revision=154541
* make packet bursting configurable (default to on if device is capable)Sam Leffler2005-12-141-0/+1
| | | | Notes: svn path=/head/; revision=153421
* add fixed rate for sending multicast framesSam Leffler2005-12-121-0/+1
| | | | | | | | Obtained from: atheros MFC after: 1 week Notes: svn path=/head/; revision=153346
* Extend acl support to pass ioctl requests through and use this toSam Leffler2005-08-131-0/+6
| | | | | | | | | | | add support for getting the current policy setting and collecting the list of mac addresses in the acl table. Submitted by: Michal Mertl (original version) MFC after: 2 weeks Notes: svn path=/head/; revision=149028
* Cleanup beacon/listen interval handling:Sam Leffler2005-08-081-1/+2
| | | | | | | | | | | | | | | | | | | | o separate configured beacon interval from listen interval; this avoids potential use of one value for the other (e.g. setting powersavesleep to 0 clobbers the beacon interval used in hostap or ibss mode) o bounds check the beacon interval received in probe response and beacon frames and drop frames with bogus settings; not clear if we should instead clamp the value as any alteration would result in mismatched sta+ap configuration and probably be more confusing (don't want to log to the console but perhaps ok with rate limiting) o while here up max beacon interval to reflect WiFi standard Noticed by: Martin <nakal@nurfuerspam.de> MFC after: 1 week Notes: svn path=/head/; revision=148843