diff options
author | jal2 <jal2> | 2003-05-01 22:16:56 +0000 |
---|---|---|
committer | jal2 <jal2> | 2003-05-01 22:16:56 +0000 |
commit | 78271166c16dbfd9871b79d7424c208a5a13fb2c (patch) | |
tree | feea82d480e30353c2956686f0e7cdfa780b1678 | |
parent | 93b2a904f2d589b67e6c844aca30ba85ab74af85 (diff) |
added rssi/noise/link in rx frame dbg output, put it down to debug >= 2
-rw-r--r-- | at76c503.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* -*- linux-c -*- */ -/* $Id: at76c503.c,v 1.16 2003/05/01 22:03:00 jal2 Exp $ +/* $Id: at76c503.c,v 1.17 2003/05/01 22:16:56 jal2 Exp $ * * USB at76c503/at76c505 driver * @@ -2582,10 +2582,12 @@ static void rx_tasklet(unsigned long param) defer_kevent(dev, KEVENT_NEW_BSS); } - if (debug > 2) { + if (debug > 1) { char obuf[2*48+1] __attribute__ ((unused)); - dbg("%s: rx frame: rate %d %s", dev->netdev->name, - buf->rx_rate, + dbg("%s: rx frame: rate %d rssi %d noise %d link %d %s", + dev->netdev->name, + buf->rx_rate, buf->rssi, buf->noise_level, + buf->link_quality, hex2str(obuf,(u8 *)i802_11_hdr,sizeof(obuf)/2,'\0')); } @@ -3671,7 +3673,7 @@ struct at76c503 *at76c503_new_device(struct usb_device *udev, int board_type, goto error; } - info("$Id: at76c503.c,v 1.16 2003/05/01 22:03:00 jal2 Exp $ compiled %s %s", __DATE__, __TIME__); + info("$Id: at76c503.c,v 1.17 2003/05/01 22:16:56 jal2 Exp $ compiled %s %s", __DATE__, __TIME__); info("firmware version %d.%d.%d #%d", dev->fw_version.major, dev->fw_version.minor, dev->fw_version.patch, dev->fw_version.build); |