summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
Commit message (Collapse)AuthorAgeFilesLines
* correct typo that left programmed sifs time in the slot timesam2009-01-212-3/+3
| | | | | | (to be applied on subsequent resets) Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
* export PSB frequenciessam2009-01-161-4/+13
|
* On some platforms touching the bb registers when the phy is poweredsam2009-01-131-2/+3
| | | | | | | down will cause a fault. Check the phy power state before possibly reading from the bb, this can happen as ar5212Reset intentionally calls ar5212GetRfgain before bringing the bb out of reset (but we do it here and not in the caller to guard against other possible uses).
* TDMA support for long distance point-to-point links using ath devices:sam2009-01-083-50/+734
| | | | | | | | | | | | | | | 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
* correct fixed rate handling; the rixmap was changed a while backsam2009-01-071-16/+11
| | | | to be indexed by the ieee rate code
* remove the ath_rate module dependency; it's all bundledsam2009-01-061-1/+0
|
* remove module glue, it's not used any moresam2009-01-063-81/+0
|
* Correct 5212 ani support so that max noise immunity, spur immunity, andsam2008-12-191-10/+10
| | | | | | | step levels are used. Noticed by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net> Reviewed by: rpaulo
* fix ini setupsam2008-12-151-1/+1
| | | | Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
* o remove dead codesam2008-12-131-21/+4
| | | | | | o fix AH_RF macro expansion to be as intended (worked before unintentionally) Obtained from: netbsd
* remove dead codesam2008-12-131-12/+0
| | | | Obtained from: netbsd
* add constsam2008-12-131-4/+4
| | | | Obtained from: netbsd
* fix static const ordersam2008-12-131-3/+3
| | | | Obtained from: netbsd
* fix static const ordersam2008-12-131-2/+2
| | | | Obtained from: netbsd
* remove duplicate casesam2008-12-131-2/+1
| | | | Obtained from: netbsd
* remove conflicting declsam2008-12-131-3/+1
| | | | Obtained from: netbsd
* add missing breaksam2008-12-111-1/+2
| | | | Coverity ID: 4159
* add missing breaksam2008-12-111-1/+2
| | | | Coverity ID: 4151
* honor IEEE80211_BPF_CRYPTO for raw xmit; fixes shared key auth in sta modesam2008-12-071-2/+50
| | | | PR: kern/129022
* New periodic calibration scheme needed for 11n parts that havesam2008-12-072-54/+92
| | | | | | | | | | | | | | | multiple algorithms and potentially collect multiple samples. Instead of a single calibration interval we now have short and long intervals; the long interval roughly corresponds to the previous single interval. The short interval is used to speedup collection of samples and happens much quicker. We make calls using the short interval until we're told the calibration work is complete at which point we fallback to the long interval. In addition there is a much longer reset interval used to flush all calibration state and cause everthing to start anew. With these changes you can also disable calibration entirely by setting the long interval to zero.
* Switch to ath hal source code. Note this removes the ath_halsam2008-12-018-54/+29
| | | | | | | | | | | | | | | | | module; the ath module now brings in the hal support. Kernel config files are almost backwards compatible; supplying device ath_hal gives you the same chip support that the binary hal did but you must also include options AH_SUPPORT_AR5416 to enable the extended format descriptors used by 11n parts. It is now possible to control the chip support included in a build by specifying exactly which chips are to be supported in the config file; consult ath_hal(4) for information.
* import ath halsam2008-12-01110-0/+52514
|
* cover up sun4v namespace pollutionsam2008-11-301-0/+3
|
* Major overhaul:sam2008-11-302-382/+569
| | | | | | | | | | | | | | | | o eliminate private state indexed by 802.11 rate codes; use the hal's rate tables directly to get the same info o calculate a mask of operational rates to optimize lookups and checks (instead of using for loops and similar) o optimize size bin operations o ignore rates marked as "do not use" in the hal phy tables o fix bug that caused upshifting to break in 11g once the rate dropped below 11Mb/s o add more intelligent multi-rate tx schedules o add support for 1/2 and 1/4 width channels o add dev.ath.X.sample_stats sysctl to dump runtime statistics to the console (needs to go up to a user app) o export more tuning knobs via sysctls (still a couple of magic constants)
* sync w/ p4 branchsam2008-11-301-1/+2
|
* some of the 11n parts can hang under certain conditions withoutsam2008-11-301-2/+28
| | | | | | | necessary workarounds, add code to detect these hangs and distinguish them from other events; note this code is only invoked for anomalous conditions and (at the moment) is a noop because the hang detection code is in a new hal that's coming shortly
* add frequency mapping for the Zcomax GZ-901sam2008-11-301-4/+9
|
* print the extended tx/rx descriptor for 5416 and later partssam2008-11-241-9/+32
|
* nuke special handling of RXORN interrupt; the hal marks the FATALsam2008-11-242-17/+4
| | | | | bit in the interrupt status when RXORN is hit and the chip requires a reset so our special handling was causing useless resets
* Fix checks for fast frames negotiation. ni_ath_flags holds thesam2008-10-301-1/+1
| | | | | | | | | | | | | | capabilities reported by the ap. These need to be cross-checked against the local configuration in the vap. Previously we were only checking the ap capabilities which meant that if an ap reported it was ff-capable but we were not setup to use them we'd try to do ff aggregation and drop the frame. There are a number of problems to be fixed here but applying this fix immediately as the problem causes all traffic to stop (and has not workaround). Reported by: Ashish Shukla
* prepare for a new halsam2008-10-273-9/+36
|
* o With the addition of HT rates the set of h/w codes has a much wider rangesam2008-10-273-59/+47
| | | | | | | | | | | making the use of sc_hwmap to do direct mapping impractical. Switch to indexing by the rate index instead of the rate code and adjust associated state and logic appropriately. This has several benefits including simplification of the led code. o fix radiotap capture of HT rates o fix conditional compilation of HT radiotap support to be based on the hal having 5416 support; not the ABI version as hal builds may or may not include 5416 support
* prefer #define to naked constantsam2008-10-271-1/+1
|
* fix handling of HT rates; these overlap legacy rates and need to besam2008-10-271-2/+7
| | | | marked as MCS in the inverse mapping table
* add hack to deal with Ubiquiti XR9 cards, they have a different mappingsam2008-10-271-9/+24
| | | | | between 900MHz and 2.4GHz frequencies than SR9 cards; they are distinguished by different country codes
* install bssid for ahdemo mode toosam2008-10-271-0/+1
|
* fix commentsam2008-10-271-1/+1
|
* correct callback status parameter; only indicate success when an ACK wassam2008-10-271-1/+2
| | | | received
* Fixup statistics:sam2008-10-272-10/+16
| | | | | | | o update tx rssi data only when an ACK was received o return tx rssi from sampled data instead of the last frame o track noise floor o return rx rssi and noise floor (was broken)
* update the sta inactivity timer only if we actually received an ACKsam2008-10-271-1/+2
|
* Regdomain fixups:sam2008-10-271-18/+55
| | | | | | | | | | | o pass country code, outdoor indication, and ecm mode into the hal when requesting a channel list o add a console msg when regulatory setup fails o add placeholder code to map between Atheros sku's and 802.11 sku's that handles only the debug country code used to unlock the full channel list (to be used only for debugging) o fix multiple instances of mismapping the 802.11 location to the outdoor indication (anywhere may be outdoor also)
* add regdomain debug msgssam2008-10-271-0/+18
|
* add sys.dev.ath.X.intmit knob to enable/disable ANIsam2008-10-272-0/+24
| | | | (the intmit name is historical)
* shuffle debug setup to simplify debugging events during attachsam2008-10-271-5/+8
|
* rename bf_flags to bf_txflags in preparation for the addition of flagssam2008-10-272-5/+5
| | | | separate from the tx descriptor flags currently recorded
* use the ic's opmode instead of our hal equivalent to check for adhoc mode;sam2008-10-271-1/+1
| | | | they are always the same
* intercept IEEE80211_IOC_TXPOWER and service tx power changes immediatelysam2008-10-271-1/+17
|
* move complaints about bad rate codes up a level so we can printsam2008-10-271-16/+24
| | | | the h/w rate code and other useful info
* remove driver-private equivalent of ni_txparms; it's now superfluoussam2008-10-275-28/+6
|
* now that the new association callback is used when joining a bss we cansam2008-10-275-125/+0
| | | | eliminate the ath_rate_newassoc callback and associated code
OpenPOWER on IntegriCloud