aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2009-11-21 10:14:01 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:53:01 -0500
commit4ac37208e9b30b36b615ed22a79b4ee787fdc9b5 (patch)
tree792b78405d06b00a0d0a5fa3a342ef359f1f5383 /Documentation/networking
parent885582c48e5fbf47ccc4273aaa5f2f56ad513253 (diff)
USB: cxacru: add write-only sysfs attribute for modem configuration
The modem can be configured using CM_REQUEST_CARD_DATA_SET, although CM_REQUEST_CARD_DATA_GET does not return any data. Tested by setting the modulation (0x0a) option. There is a list of parameters in the following archive, but the meaning of many of them is not well documented: http://sourceforge.net/project/shownotes.php?release_id=301825 This source also indicates that the highest parameter set is 0x4a but this varies by model so an arbitrary limit of 0x7f has been used (the index is a 32-bit integer). Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/cxacru.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/networking/cxacru.txt b/Documentation/networking/cxacru.txt
index 3532ceecd2c3..f4fbf4cd592c 100644
--- a/Documentation/networking/cxacru.txt
+++ b/Documentation/networking/cxacru.txt
@@ -15,6 +15,15 @@ several sysfs attribute files for retrieving device statistics:
15* adsl_headend_environment 15* adsl_headend_environment
16 Information about the remote headend. 16 Information about the remote headend.
17 17
18* adsl_config
19 Configuration writing interface.
20 Write parameters in hexadecimal format <index>=<value>,
21 separated by whitespace, e.g.:
22 "1=0 a=5"
23 Up to 7 parameters at a time will be sent and the modem will restart
24 the ADSL connection when any value is set. These are logged for future
25 reference.
26
18* downstream_attenuation (dB) 27* downstream_attenuation (dB)
19* downstream_bits_per_frame 28* downstream_bits_per_frame
20* downstream_rate (kbps) 29* downstream_rate (kbps)