/* * Linux RFKILL support for RTL8187 * * Copyright (c) 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> * * Based on the RFKILL handling in the r8187 driver, which is: * Copyright (c) Realtek Semiconductor Corp. All rights reserved. * * Thanks to Realtek for their support! * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/types.h> #include <linux/usb.h> #include <net/mac80211.h> #include "rtl8187.h" #include "rfkill.h"
static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) { u8 gpio; gpio = rtl818x_ioread8(priv, &priv->map->GPIO0); rtl818x_iowrite8(priv, &priv->map->GPIO0, gpio & ~priv->rfkill_mask); gpio = rtl818x_ioread8(priv, &priv->map->GPIO1); return gpio & priv->rfkill_mask; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Herton Ronaldo Krzesinski | 62 | 91.18% | 1 | 50.00% |
Larry Finger | 6 | 8.82% | 1 | 50.00% |
Total | 68 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Herton Ronaldo Krzesinski | 61 | 100.00% | 1 | 100.00% |
Total | 61 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Herton Ronaldo Krzesinski | 86 | 100.00% | 1 | 100.00% |
Total | 86 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Herton Ronaldo Krzesinski | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Herton Ronaldo Krzesinski | 239 | 96.37% | 1 | 25.00% |
Larry Finger | 8 | 3.23% | 2 | 50.00% |
John W. Linville | 1 | 0.40% | 1 | 25.00% |
Total | 248 | 100.00% | 4 | 100.00% |