Powered by Apache

CVS log for nsh/ieee80211.c

[BACK] Up to [local] / nsh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 2 20:50:50 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
CVS Tags: HEAD
Diff to previous 1.17 (colored)

Remove clause 3,4 from NetBSD copyrights

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 1 01:29:56 2009 UTC (3 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.16 (colored)

From Stuart Henderson <stu@spacehopper.org>
- ignore EINVAL for SIOCG80211TXPOWER, avoids error message
  on the many interfaces that don't grok it

Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 4 02:49:46 2008 UTC (4 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.15 (colored)

Destroy inappropriate use of CMP_ARG and rename it to MIN_ARG since is
is really only for comparing that an argument matches a minimum of the
characters supplied to the second position in the macro.

Next move from using half-assed minimum-matching/ambiguous proof to
being truly table driven by using genget everywhere.  This is done by
eliminating chains of if (CMP_ARG){...; return;} and using structs
which genget loops around to determine the shortest non-ambiguous
prefix.  This doesn't buy command completion yet!  But, by using
table driven command sets, it moves in the right direction.

Also replace use of CMP_ARG in places that are not table-driven to
isprefix() (it was already in genget.c) which does matching in the
opposite order, so nsh can know that an argument is "interface"
and match i, in, int, inte, ... but not match iff or other mis-spelled
arguments.  (CMP_ARG was just matching against the minimum non-
ambiguous part of the argument as compiled into nsh at any given
time, poor form)

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 13 02:27:38 2008 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.14 (colored)

random cleanup and arp set/search support (show arp already works)

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 27 02:07:13 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.13 (colored)

txpower defaults to 100, not 0 and
more cleanup in route display

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 25 06:42:55 2007 UTC (4 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.12 (colored)

fix txpower display, also there is a potential kernel bug that needs to
be tracked down (at least with my ral card.)  IEEE80211_TXPOWER_MODE_FIXED
is always read from the ioctl, even after assert IEEE80211_TXPOWER_MODE_AUTO.
will look at when i am awake.  txpower of 0 means 'off' in this implementation,
but in reality, a txpower of 0 could be valid, in fact, some cards even allow
settings of -4dBm or lower! it's not practical for most users, but the setting
should be possible.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 19 10:29:37 2007 UTC (5 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.11 (colored)

Make powersave not display ms if its default (currently 100ms) under
get_nwinfo scheme

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 19 09:45:57 2007 UTC (5 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.10 (colored)

add bssid function w/conf output, collapse get_nwpowersave into get_nwinfo,
needs testing

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 16 07:35:08 2006 UTC (5 years, 6 months ago) by pata
Branch: MAIN
Diff to previous 1.9 (colored)

o add function inttxpower (wifi interfaces)

Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 31 19:09:13 2004 UTC (7 years, 4 months ago) by chris
Branch: MAIN
Diff to previous 1.8 (colored)

Compile under current (skip 3.6)
No new feature support yet

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 18 20:31:38 2003 UTC (8 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.7 (colored)

Remove clause 3 from UCB copyrights, a clause which UC Berkeley rescinded in
7/22/1999, also remove clause 3 and 4 from Jason's copyright, which he removed
6/2/2003

Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 18 19:14:37 2003 UTC (8 years, 8 months ago) by chris
Branch: MAIN
Diff to previous 1.6 (colored)

Whoops...Define a size for tmp

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 18 09:29:46 2003 UTC (9 years, 2 months ago) by chris
Branch: MAIN
Diff to previous 1.5 (colored)

add rcs tags to everything

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 11 01:48:17 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.4 (colored)

Get rid of output to stderr.  It is unnecessary, and useless to try and output
to stderr from what is supposed to be a shell.  When stderr is taken out
of the equation, useful error logging can be obtained like this:

nsh -vi /etc/nshrc | logger -t nsh -p daemon.info

Interactive users won't notice this.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 10 08:20:42 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.3 (colored)

import of nsh-20030208
-make static work as static <mac> <member> not the other way around
-that way you can do no static <mac> without specifying a member
-use void where we don't need anything else
-add pfctl handling so that you can edit pf rules, flush pf, save pf.conf in
nshrc (this helps with the goal of keeping all the configuration in one file,
although calling pfctl to begin with is a compromise since pfctl is too
much of a moving target to try and integrate)
-add a manual
-exit if fork fails
-add commands to reboot and shutdown (jose)
-add command to save config (jose)
-add tunnel to conf() output
-add pf to conf() output
-make default mtu table nicer
-same for interface types
-make rtdump easier to handle correctly
-fix botched strlcat conversion in ieee80211 stuff
-improve method to get hardware address for an interface
-/dev/altq/altq becomes /dev/pf

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 10 08:10:26 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.2 (colored)

import of nsh-20020619
-use a more macros for better enjoyment
-fix up the toilet flusher to handle arps and routes
-make show route display a specific destination like 'route get' if you
specify an additional argument
-add media types in conf() output
-add powersave to conf() output
-add routes/arps to conf() output
-add media type and hardware address to show interface
-same for network key/powersaving time
-add function that "suprisingly actually works" to get hardware address
-merge ip/netmask/bitmask parser to parse_ip() instead of duplicating code
-strtoul vs atoi becomes an issue
-add capability to setup vlans from interface mode
-get rid of mrtd code from routesys.c and go back to berkeley rtmsg()
-whoops, i forgot to 'cvs add' bridge.c in the last commit!!

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 10 07:56:54 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN
Diff to previous 1.1 (colored)

import of nsh-20020607
-bridge config support from brconfig
-rant on openbsd routers
-extend interface mode handler to bridges as well (of course, they
are interfaces anyways) but in a rather hackish way
-add broadcast address to conf() output (not displayed if the user did
not make it non-default)
-fix up rate output while there
-add bridge commands to conf() output
-get rid of unused kern_routes()
-start passing a socket along to interface mode support routines instead of
opening and closing them each time
-explain broadcast or pointtopoint in show interface
-display vlan and rate information in show interface
-display average input and output sizes in show interface
-display flags on show interface if verbose
-add a function to find the network address given an IP and netmask
-add a function to find the broadcast address given an IP and netmask
-stop using strlen() where it is completely unnecessary

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 10 07:47:55 2003 UTC (9 years, 3 months ago) by chris
Branch: MAIN

import of nsh-20020531
-ieee 802.11 interface config support from ifconfig
-add metric to conf() output
-add 802.11 nwid/nwkey to conf() output
-add link flags and no arp to conf() output
-nwid and powersave commands for interface mode

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>