aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/wlan
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Fix some modules to export more used symbolsKonstantin Belousov2021-11-181-0/+2
| | | | | | | | | and remove non-present symbols that are now reported by kmod_syms.awk. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-1/+1
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* [net80211] include the prototype VHT code into the build.Adrian Chadd2017-01-081-1/+1
| | | | | | | Note: it isn't called anywhere yet! Notes: svn path=/head/; revision=311663
* Refactor and split out the net80211 software scan engine from the restAdrian Chadd2015-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the scan API. The eventual aim is to have 'ieee80211_scan.c' have the net80211 and driver facing scan API to start, finish and continue doing scanning while 'ieee80211_swscan.c' implements the software scanner that runs the scan task, handles probe request/reply bits, configures the VAP off-channel, changes channel and does the scanning bits. For NICs that do no scanning at all, the existing code is needed. ath(4) and most of the other NICs (dumb USB ones in particular) do little to no scan offload - it's all done in software. Some NICs may do single channel at a time scanning; I haven't really checked them out in detail. iwn(4), the upcoming 7260 driver stuff, the new Qualcomm Atheros 11ac chipsets and the Atheros mobile/USB full-offload chips all have complete scan engines in firmware. We don't have to drive any of it at all - the firmware just needs to be told what to scan, when to scan, how long to scan. It'll take care of going off channel, pausing TX/RX appropriately, sending sleep notification to the AP, sending probe requests and handling probe responses. It'll do passive/active scan itself. It's almost completely transparent to the network stack - all we see are scan notifications when it finishes scanning each channel and beacons/probe responses when it does its thing. Once it's done we get a final notification that the scan is complete, with some scan results in the message. The iwn(4) NICs handle doing active scanning too as an option and will handle waiting appropriately on 5GHz passive channels before active scanning. There's some more refactoring, tidying up and lock assertions to sprinkle around to tidy this whole thing up before I turn swscan.c into another set of ic methods to override by the driver or alternate scan module. So in theory this is all one big no-op commit. In theory. Tested: * iwn(4) 5200, STA mode * ath(4) 6205, STA mode * ath(4) - various NICs, AP mode Notes: svn path=/head/; revision=276730
* Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportWarner Losh2015-01-031-1/+0
| | | | | | | | | | | CWARNFALGS.$file centrally so we don't have to have it in all the places. Remove a few warning flags that are no longer needed. Also, always use -Wno-unknown-pragma to (hopefully temporarily) work around #pragma ident in debug.h in the opensolaris code. Remove some stale warning suppression that's no longer necessary. Notes: svn path=/head/; revision=276606
* Move most of the 15 variations on generating opt_inet.h andWarner Losh2014-08-041-12/+0
| | | | | | | | | opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too. Notes: svn path=/head/; revision=269540
* Remove IPX support.Gleb Smirnoff2014-03-141-3/+1
| | | | | | | | | | | | | | IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to TCP/IP as default transport in 1998. Later, in this century the Novell Open Enterprise Server became successor of Novell NetWare. The last release that claimed to still support IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco) discontinued support for IPX in 2011. Thus, IPX won't be supported in FreeBSD 11.0-RELEASE. Notes: svn path=/head/; revision=263140
* Similar to r260026, disable warning about unused functions forDimitry Andric2014-02-141-0/+3
| | | | | | | | | ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c. MFC after: 3 days Notes: svn path=/head/; revision=261899
* Disable warning about unused functions for ieee80211_crypto.c andDimitry Andric2013-12-281-0/+4
| | | | | | | | | ieee80211_mesh.c for now. MFC after: 3 days Notes: svn path=/head/; revision=260026
* Allow IEEE80211_SUPPORT_SUPERG to be defined _and_ have a working wlanAdrian Chadd2013-02-021-1/+1
| | | | | | | module. Notes: svn path=/head/; revision=246227
* Fix 'make depend'.Ulrich Spörlein2012-02-161-2/+2
| | | | Notes: svn path=/head/; revision=231838
* Fix the situation where net80211 is built with IEEE80211_SUPPORT_TDMA but a ↵Adrian Chadd2012-01-151-1/+2
| | | | | | | | | | | | | | | | | module is used. Although the module _builds_, it fails to load because of a missing symbol from ieee80211_tdma.c. Specifics: * Always build ieee80211_tdma.c in the module; * only compile in the code if IEEE80211_SUPPORT_TDMA is defined. Notes: svn path=/head/; revision=230153
* Fix a typo, it is MPDU not MDPU.Bernhard Schmidt2011-05-211-1/+1
| | | | Notes: svn path=/head/; revision=222161
* Fix an undefined behaviour if the desired ratectl algo is not available.Bernhard Schmidt2010-10-191-1/+1
| | | | | | | | | | | | | This can happen if the algos are built as modules but are not loaded. If the selected ratectl algo is not available, try to load it (The load module functions does nothing currently). Add a dummy ratectl algo which always selects the first available rate. Use that one if the desired algo is not available. MFC after: 1 week Notes: svn path=/head/; revision=214069
* Revert r206418Rui Paulo2010-10-191-2/+2
| | | | Notes: svn path=/head/; revision=214056
* Add ieee80211_{amrr,rssadapt}.c.Rui Paulo2010-04-091-2/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=206418
* net80211 rate control framework (net80211 ratectl).Rui Paulo2010-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | This framework allows drivers to abstract the rate control algorithm and just feed the framework with the usable parameters. The rate control framework will now deal with passing the parameters to the selected algorithm. Right now we have AMRR (the default) and RSSADAPT but there's no way to select one with ifconfig, yet. The objective is to have more rate control algorithms in the net80211 stack so all drivers[0] can use it. Ideally, we'll have the well-known sample rate control algorithm in the net80211 at some point so all drivers can use it (not just ath). [0] all drivers that do rate control in software, that is. Reviewed by: bschmidt, thompsa, weyongo MFC after: 1 months Notes: svn path=/head/; revision=206358
* correct setup of opt_ddb.hSam Leffler2009-07-211-1/+1
| | | | | | | | Submitted by: jkim Approved by: re (kib) Notes: svn path=/head/; revision=195810
* Enable mesh support.Rui Paulo2009-07-211-5/+6
| | | | | | | | Submitted by: jkim Approved by: re (kib) Notes: svn path=/head/; revision=195804
* catchup with action+ageq additionsSam Leffler2009-07-051-1/+2
| | | | | | | | Submitted by: "Paul B. Mahol" <onemda@gmail.com> Approved by: re (implicit) Notes: svn path=/head/; revision=195383
* adds opt_inet6.h to fix a error during compiling wlan as a module.Weongyo Jeong2009-06-171-1/+2
| | | | | | | Reviewed by: sam Notes: svn path=/head/; revision=194330
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onBjoern A. Zeeb2009-06-081-2/+1
| | | | | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c. Notes: svn path=/head/; revision=193744
* update for r192468 (monitor mode changes)Sam Leffler2009-05-211-1/+1
| | | | | | | Submitted by: jkim Notes: svn path=/head/; revision=192571
* Rather than using hidden includes (with cicular dependencies),Bjoern A. Zeeb2008-12-021-1/+2
| | | | | | | | | | | | | | directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=185571
* add ddb support (default to off unless built with the kernel)Sam Leffler2008-09-151-4/+5
| | | | Notes: svn path=/head/; revision=183055
* Per email to arch@ a little while ago (that was greeted with silence),Warner Losh2008-09-011-4/+4
| | | | | | | | prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles. Notes: svn path=/head/; revision=182668
* enable IEEE80211_AMDPU_AGE by defaultSam Leffler2008-05-031-0/+1
| | | | Notes: svn path=/head/; revision=178743
* Multi-bss (aka vap) support for 802.11 devices.Sam Leffler2008-04-201-7/+9
| | | | | | | | | | | | | | 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
* Add new files in the net80211 changes.Andrew Thompson2007-06-111-1/+3
| | | | Notes: svn path=/head/; revision=170549
* Add a value to the define I forgot, for the purity's sake.Ruslan Ermilov2006-09-261-1/+1
| | | | Notes: svn path=/head/; revision=162660
* Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h.Ruslan Ermilov2006-09-261-1/+4
| | | | Notes: svn path=/head/; revision=162659
* Let modules use the kernel's opt_*.h files if built along withYaroslav Tykhiy2005-10-141-0/+2
| | | | | | | | | | | | | | | | | the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64 Notes: svn path=/head/; revision=151350
* Update/new modules for net80211 and ath changes.Sam Leffler2004-12-081-1/+2
| | | | Notes: svn path=/head/; revision=138573
* Fix module build during buildworld with MODULES_WITH_WORLD defined.Alexander Kabaev2004-04-101-1/+4
| | | | Notes: svn path=/head/; revision=128091
* switch to new 802.11 supportSam Leffler2003-06-281-2/+3
| | | | Notes: svn path=/head/; revision=116953
* add module for 802.11 link layer codeSam Leffler2003-01-151-0/+12
Reviewed by: imp Notes: svn path=/head/; revision=109320