summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_regdomain.c
Commit message (Collapse)AuthorAgeFilesLines
* Add basic HT channel setup to ieee80211_init_channels(), this will bebschmidt2012-04-031-6/+64
| | | | | | used by at least ral(4). Reviewed by: ray
* Add modes for 1/2 and 1/4-width channels so we have separate roamingsam2009-02-191-1/+5
| | | | | | | | | | | | | | | | | | and xmit parameters. This makes it possible to use tdma on fractional channels. o add IEEE80211_MODE_HALF and IEEE80211_MODE_QUARTER; note these are band-agnostic (may need revisiting) o setup all default rates in ic_sup_rates instead of doing it only for active modes; we need these to calculate the default tx parameters which are not recalculated after a regulatory update (can't just recalculate after installing a new channel list because we might clobber user settings) o remove special case code in ieee80211_get_suprates; this is now a candidate for an inline or removal o add various entries for new modes (roaming+tx params, wme, rate mapping, scan set setup, country ie construction, tdma, basic rates) Note these modes are intentionally not visible through if_media.
* Change country ie construction to simplify forthcoming changes:sam2009-02-191-11/+17
| | | | | o use c99 initializer for skipflags o calculate band flags instead of statically listing them in the table
* correctly fixup iv_des_chan after installing a new channel table; if thesam2009-02-101-1/+2
| | | | previous channel is now invalid we must set it to IEEE80211_CHAN_ANYC
* change null_getradiocaps to return the actual count of channels insteadsam2009-01-281-1/+1
| | | | | of the true number; otherwise the caller may use the count to do things with the data it should not (e.g. sort the channel table)
* fix commentsam2009-01-271-1/+1
|
* change ic_getradiocaps driver callback to include the max # channelssam2009-01-271-4/+6
| | | | so callers know the size of the array passed down
* fix regulatory state check for all vaps' being down; it must be donesam2009-01-231-7/+7
| | | | before calling the ic_setregdomain callback
* Fix definition of IEEE80211_CHAN_MAX; it was defined as 255 butsam2008-12-151-1/+1
| | | | | | | really was meant to be 256. Adjust usage accordingly and replace bogus usage of this value in checking IEEE channel #'s. NB: this causes an ABI change; ifconfig must be recompiled
* add debug msgssam2008-10-251-5/+28
|
* Multi-bss (aka vap) support for 802.11 devices.sam2008-04-201-178/+251
| | | | | | | | | | | 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)
* correct netband skip check in constructing a country iesam2007-09-171-1/+1
| | | | Approved by: re (blanket net80211)
* Off-by-one bug in country ie construction, which will make HOSTAP send outsephe2007-08-261-1/+3
| | | | | | | malformatted beacons. Reviewed by: sam Approved by: re (bmah), sam (mentor)
* Update 802.11 wireless support:sam2007-06-111-0/+337
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.
OpenPOWER on IntegriCloud