saurav barik 写道: > Hi, > > I am trying to implement rfkill support for realtek driver for rtl8192e. > The realtek driver we are using is very much similar to the one in > kernel 2.6.31.5(linux-2.6.31.5/drivers/staging/rtl8192su). > In order to use "wiphy_rfkill_set_hw_state", I need "struct wiphy" > which in turn is a part of "ieee80211_hw" structure. > However ieee80211_hw is not used in our driver. > Is the usage of 80211_hw is obsolete? No, the rtl8192e need to be updated to support ieee80211_hw in order to be merged to Linux kernel main tree. > Without having the above structure how can I use the rfkill interface? The rtl8192e Linux drive structure is similar with the ipw2200, maybe you can refer to the "struct wiphy" support within it. > > Anybody aware of this, please share some pointers. > > Thanks for your time. > > Regards, > Saurav > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > ------Please consider the environment before printing this e-mail. > > > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html