}
EXPORT_SYMBOL_GPL(mwifiex_enable_hs);
+int mwifiex_set_led(struct mwifiex_adapter *adapter, int on)
+{
+ struct mwifiex_private *priv;
+ struct mwifiex_led_param ledcfg;
+
+ priv = mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_STA);
+ if (!priv->is_edge_gateway)
+ return -ENODEV;
+
+ memset(&ledcfg, 0, sizeof(struct mwifiex_led_param));
+ ledcfg.on = cpu_to_le16(on);
+
+ return mwifiex_send_cmd(priv,
+ HostCmd_CMD_802_11_LED_CONTROL,
+ HostCmd_ACT_GEN_SET, 0,
+ &ledcfg, true);
+}
+
/*
* IOCTL request handler to get BSS information.
*