提交 1f717199 编写于 作者: X Xinming Hu 提交者: Kalle Valo

mwifiex: uap: process remain on channel expired event

AP interface need process remain-on-channel firmware event and notify
cfg80211, this will be used in the listen-stage of p2p find procedure.
Signed-off-by: NXinming Hu <huxm@marvell.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 01926202
...@@ -312,6 +312,17 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv) ...@@ -312,6 +312,17 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
adapter->event_skb->len - adapter->event_skb->len -
sizeof(eventcause)); sizeof(eventcause));
break; break;
case EVENT_REMAIN_ON_CHAN_EXPIRED:
mwifiex_dbg(adapter, EVENT,
"event: uap: Remain on channel expired\n");
cfg80211_remain_on_channel_expired(&priv->wdev,
priv->roc_cfg.cookie,
&priv->roc_cfg.chan,
GFP_ATOMIC);
memset(&priv->roc_cfg, 0x00, sizeof(struct mwifiex_roc_cfg));
break;
default: default:
mwifiex_dbg(adapter, EVENT, mwifiex_dbg(adapter, EVENT,
"event: unknown event id: %#x\n", eventcause); "event: unknown event id: %#x\n", eventcause);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册