summaryrefslogtreecommitdiff
path: root/sys/dev/wtap
Commit message (Collapse)AuthorAgeFilesLines
* wtap should not set the IEEE80211_F_DATAPAD flag;Monthadar Al Jaberi2012-12-181-5/+1
| | | | | | | Approved by: adrian (mentor) Notes: svn path=/head/; revision=244400
* wtap fix malloc/free.Monthadar Al Jaberi2012-12-181-4/+5
| | | | | | | | | | | * Remove malloc/free pointer cast; * Check return value from malloc; Submitted by: glebius Approved by: adrian (mentor) Notes: svn path=/head/; revision=244399
* wtap should check if ieee80211_vap_setup fails.Monthadar Al Jaberi2012-12-181-0/+4
| | | | | | | | | | * If ieee80211_vap_setup fails, we free allocated M_80211_VAP memory and return NULL; Approved by: adrian (mentor) Notes: svn path=/head/; revision=244389
* wtap: fix clang warning.Monthadar Al Jaberi2012-12-181-1/+1
| | | | | | | | | | | | * The warning message was: 'warning error: format string is not a string literal'; * Changed how make_dev is called, now a string literal for formatting is used; Approved by: adrian (mentor) Notes: svn path=/head/; revision=244388
* Mechanically substitute flags from historic mbuf allocator withGleb Smirnoff2012-12-042-3/+3
| | | | | | | malloc(9) flags in sys/dev. Notes: svn path=/head/; revision=243857
* Don't grab an unreferenced pointer to the VAP bss node.Adrian Chadd2012-08-271-3/+9
| | | | Notes: svn path=/head/; revision=239760
* Fix wtap to not panic in wtap_beacon_intrp.Monthadar Al Jaberi2012-07-311-2/+6
| | | | | | | | | | * Changed KASSERT to be debug printf (DWTAP_PRINTF). If state is not IEEE80211_S_RUN we return without scheduling a new callout; * When net80211 stack changes state to IEEE802_11_INIT we stop the beacon callout task; Notes: svn path=/head/; revision=238938
* Remove this - it's not needed as it's defined in ieee80211_freebsd.h.Adrian Chadd2012-03-191-4/+0
| | | | Notes: svn path=/head/; revision=233184
* Correctly calculate the callout interval for beacon generation.Adrian Chadd2012-03-141-1/+5
| | | | | | | Submitted by: monthadar@gmail.com Notes: svn path=/head/; revision=232978
* Enforce that wtap requires VIMAGE to be useful.Adrian Chadd2012-03-101-0/+7
| | | | Notes: svn path=/head/; revision=232763
* Add a module dependency on wlan.Adrian Chadd2012-02-161-0/+1
| | | | | | | Submitted by: monthadar@gmail.com Notes: svn path=/head/; revision=231828
* Remove direct access to si_name.Ed Schouten2012-02-101-2/+2
| | | | | | | | | | | Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that need it to build properly. MFC after: 2 weeks Notes: svn path=/head/; revision=231378
* Introduce wtap, the beginnings of a net80211 wlan simulator.Adrian Chadd2012-01-1113-0/+2339
This introduces: * a basic wtap interface * a HAL, which implements an abstraction layer for implementing different device behavious; * A visibility plugin, which allows for control over which nodes see other nodes (useful for mesh work.) It doesn't yet implement sta/adhoc/hostap modes but these are quite feasible to implement. Monthadar uses it to do 802.11s mesh verification. The userland tools will be committed in a follow-up commit. Submitted by: Monthadar Al Jaberi <monthadar@gmail.com> Notes: svn path=/head/; revision=229970