View | Details | Raw Unified | Return to bug 21803
Collapse All | Expand All

(-)wicontrol.8 (-8 / +3 lines)
Lines 38-44 Link Here
38
.Nd configure WaveLAN/IEEE devices
38
.Nd configure WaveLAN/IEEE devices
39
.Sh SYNOPSIS
39
.Sh SYNOPSIS
40
.Nm wicontrol
40
.Nm wicontrol
41
.Fl i Ar iface Op Fl oa
41
.Fl i Ar iface Op Fl o
42
.Nm wicontrol
42
.Nm wicontrol
43
.Fl i Ar iface Fl t Ar tx rate
43
.Fl i Ar iface Fl t Ar tx rate
44
.Nm wicontrol
44
.Nm wicontrol
Lines 105-111 Link Here
105
.Sh OPTIONS
105
.Sh OPTIONS
106
The options are as follows:
106
The options are as follows:
107
.Bl -tag -width Fl
107
.Bl -tag -width Fl
108
.It Fl i Ar iface Op Fl oa
108
.It Fl i Ar iface Op Fl o
109
Display the current settings of the specified WaveLAN/IEEE interface.
109
Display the current settings of the specified WaveLAN/IEEE interface.
110
This retrieves the current card settings from the driver and prints them
110
This retrieves the current card settings from the driver and prints them
111
out.
111
out.
Lines 113-124 Link Here
113
.Fl o
113
.Fl o
114
flag will cause
114
flag will cause
115
.Nm
115
.Nm
116
to print out the statistics counters instead of the card settings. Using
116
to print out the statistics counters instead of the card settings.
117
the additional
118
.Fl a
119
flag will cause
120
.Nm
121
to print out encryption keys as ascii characters instead of in hex.
122
Encryption keys are only displayed if wicontrol is run as root.
117
Encryption keys are only displayed if wicontrol is run as root.
123
.It Fl i Ar iface Fl t Ar tx rate
118
.It Fl i Ar iface Fl t Ar tx rate
124
Set the transmit rate of the specified interface.
119
Set the transmit rate of the specified interface.
(-)wicontrol.c (-1 / +5 lines)
Lines 698-704 Link Here
698
	int			modifier = 0;
698
	int			modifier = 0;
699
699
700
	while((ch = getopt(argc, argv,
700
	while((ch = getopt(argc, argv,
701
	    "hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) {
701
	    "a:hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) {
702
		switch(ch) {
702
		switch(ch) {
703
		case 'Z':
703
		case 'Z':
704
#ifdef WICACHE
704
#ifdef WICACHE
Lines 781-786 Link Here
781
			break;
781
			break;
782
		case 'P':
782
		case 'P':
783
			wi_setword(iface, WI_RID_PM_ENABLED, atoi(optarg));
783
			wi_setword(iface, WI_RID_PM_ENABLED, atoi(optarg));
784
			exit(0);
785
			break;
786
		case 'a':
787
			wi_setword(iface, WI_RID_SYSTEM_SCALE, atoi(optarg));
784
			exit(0);
788
			exit(0);
785
			break;
789
			break;
786
		case 'v':
790
		case 'v':

Return to bug 21803