Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352182
b: refs/heads/master
c: c108c90
h: refs/heads/master
v: v3
  • Loading branch information
Luciano Coelho committed Dec 4, 2012
1 parent 72f8005 commit 59724d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 518b680a8eb3ef953c80c9ef1bd6502e107b36fb
refs/heads/master: c108c90535ae29099de88187a90b8411bc1fe9a1
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ti/wlcore/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ static ssize_t driver_state_read(struct file *file, char __user *user_buf,
DRIVER_STATE_PRINT_HEX(chip.id);
DRIVER_STATE_PRINT_STR(chip.fw_ver_str);
DRIVER_STATE_PRINT_STR(chip.phy_fw_ver_str);
DRIVER_STATE_PRINT_INT(recovery_count);

#undef DRIVER_STATE_PRINT_INT
#undef DRIVER_STATE_PRINT_LONG
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,8 @@ static void wlcore_print_recovery(struct wl1271 *wl)
if (ret < 0)
return;

wl1271_info("pc: 0x%x, hint_sts: 0x%08x", pc, hint_sts);
wl1271_info("pc: 0x%x, hint_sts: 0x%08x count: %d",
pc, hint_sts, ++wl->recovery_count);

wlcore_set_partition(wl, &wl->ptable[PART_WORK]);
}
Expand Down Expand Up @@ -5685,6 +5686,7 @@ struct ieee80211_hw *wlcore_alloc_hw(size_t priv_size, u32 aggr_buf_size,
wl->flags = 0;
wl->sg_enabled = true;
wl->sleep_auth = WL1271_PSM_ILLEGAL;
wl->recovery_count = 0;
wl->hw_pg_ver = -1;
wl->ap_ps_map = 0;
wl->ap_fw_ps_map = 0;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ti/wlcore/wlcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ struct wl1271 {

bool enable_11a;

int recovery_count;

/* Most recently reported noise in dBm */
s8 noise;

Expand Down

0 comments on commit 59724d4

Please sign in to comment.