> I would like to enable TPC in ath9k using iw command: > > iw dev wlan0 set txpower auto > > I knew user_power_level is set to IEEE80211_UNSET_POWER_LEVEL in that > case. Is there a better way than to check user_power_level? But ... the API already allows for that flexibility? I think if anything you should expose the "TX power type" that the nl80211 API has. johannes -- 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