Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328371
b: refs/heads/master
c: eab1c76
h: refs/heads/master
i:
  328369: 182e715
  328367: b80958e
v: v3
  • Loading branch information
Stone Piao authored and John W. Linville committed Sep 28, 2012
1 parent 44baade commit cd6dfd0
Show file tree
Hide file tree
Showing 3 changed files with 14 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: 7feb4c48313d58b445a91a598d99c025029ce00b
refs/heads/master: eab1c76bfc40904ddc9edc4f076ff7749696870a
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/mwifiex/fw.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ enum ENH_PS_MODES {
#define EVENT_BW_CHANGE 0x00000048
#define EVENT_UAP_MIC_COUNTERMEASURES 0x0000004c
#define EVENT_HOSTWAKE_STAIE 0x0000004d
#define EVENT_REMAIN_ON_CHAN_EXPIRED 0x0000005f

#define EVENT_ID_MASK 0xffff
#define BSS_NUM_MASK 0xf
Expand Down
12 changes: 12 additions & 0 deletions trunk/drivers/net/wireless/mwifiex/sta_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,18 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
dev_dbg(adapter->dev, "event: HOSTWAKE_STAIE %d\n", eventcause);
break;

case EVENT_REMAIN_ON_CHAN_EXPIRED:
dev_dbg(adapter->dev, "event: Remain on channel expired\n");
cfg80211_remain_on_channel_expired(priv->wdev,
priv->roc_cfg.cookie,
&priv->roc_cfg.chan,
priv->roc_cfg.chan_type,
GFP_ATOMIC);

memset(&priv->roc_cfg, 0x00, sizeof(struct mwifiex_roc_cfg));

break;

default:
dev_dbg(adapter->dev, "event: unknown event id: %#x\n",
eventcause);
Expand Down

0 comments on commit cd6dfd0

Please sign in to comment.