Changeset 4cb0148 in mainline for uspace/drv/bus/usb/ar9271/ar9271.c
- Timestamp:
- 2015-03-05T10:53:02Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e5a51c
- Parents:
- 56c0930
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ar9271/ar9271.c
r56c0930 r4cb0148 165 165 htc_read_data_message(ar9271->htc_device, buffer, buffer_size, 166 166 NULL); 167 usb_log_info(" RC is %d.\n", rc);167 usb_log_info("XXXXXXXXXXXXXXXXXXXXXXXXXXXX RC is %d.\n", rc); 168 168 169 169 /* TODO: Process RX message */ … … 179 179 while(true) { 180 180 uint32_t result; 181 wmi_reg_read(ar9271->htc_device, 0x7828, &result); 182 usb_log_info("0x7828: %x\n", result); 183 wmi_reg_read(ar9271->htc_device, 0x782C, &result); 184 usb_log_info("0x782C: %x\n", result); 185 wmi_reg_read(ar9271->htc_device, 0x8048, &result); 186 usb_log_info("Diag reg.: %x\n", result); 187 wmi_reg_read(ar9271->htc_device, 0x8088, &result); 188 usb_log_info("Successful RTS count: %x\n", result); 189 wmi_reg_read(ar9271->htc_device, 0x808C, &result); 190 usb_log_info("Failed RTS count: %x\n", result); 191 wmi_reg_read(ar9271->htc_device, 0x8090, &result); 192 usb_log_info("Failed ACK count: %x\n", result); 193 wmi_reg_read(ar9271->htc_device, 0x8094, &result); 194 usb_log_info("Failed FCS count: %x\n", result); 181 195 wmi_reg_read(ar9271->htc_device, 0x80F0, &result); 182 196 usb_log_info("RX count: %x\n", result); 183 197 wmi_reg_read(ar9271->htc_device, 0x8098, &result); 184 198 usb_log_info("Beacon count: %x\n", result); 199 wmi_reg_read(ar9271->htc_device, 0x812C, &result); 200 usb_log_info("PHY errors: %x\n", result); 185 201 sleep(1); 186 202 }
Note:
See TracChangeset
for help on using the changeset viewer.