Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368501
b: refs/heads/master
c: 249a382
h: refs/heads/master
i:
  368499: cb81d52
v: v3
  • Loading branch information
Vladimir Kondratiev authored and John W. Linville committed Mar 13, 2013
1 parent 4300f20 commit 5390d64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3442a5048a0e33e9f24fe2e19d3dff0d496c79fc
refs/heads/master: 249a382b8a147593d40cc9cd1a0585b22aaca546
11 changes: 11 additions & 0 deletions trunk/drivers/net/wireless/ath/wil6210/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,16 @@ static void wmi_evt_linkdown(struct wil6210_priv *wil, int id, void *d, int len)
netif_carrier_off(ndev);
}

static void wmi_evt_ba_status(struct wil6210_priv *wil, int id, void *d,
int len)
{
struct wmi_vring_ba_status_event *evt = d;

wil_dbg_wmi(wil, "BACK[%d] %s {%d} timeout %d\n",
evt->ringid, evt->status ? "N/A" : "OK", evt->agg_wsize,
__le16_to_cpu(evt->ba_timeout));
}

static const struct {
int eventid;
void (*handler)(struct wil6210_priv *wil, int eventid,
Expand All @@ -564,6 +574,7 @@ static const struct {
{WMI_EAPOL_RX_EVENTID, wmi_evt_eapol_rx},
{WMI_DATA_PORT_OPEN_EVENTID, wmi_evt_linkup},
{WMI_WBE_LINKDOWN_EVENTID, wmi_evt_linkdown},
{WMI_BA_STATUS_EVENTID, wmi_evt_ba_status},
};

/*
Expand Down

0 comments on commit 5390d64

Please sign in to comment.