Lines Matching refs:wireless_nic
53 static char wireless_nic[32]; variable
94 sprintf(line,"iwconfig %s 2> /dev/null", wireless_nic); in check_unused_wiresless_up()
212 wireless_nic[0] = 0; in find_wireless_nic()
216 strcpy(wireless_nic, "wlan0"); in find_wireless_nic()
230 strcpy(wireless_nic, line); in find_wireless_nic()
233 strcpy(wireless_nic, "wlan0"); in find_wireless_nic()
238 if (strlen(wireless_nic)==0) in find_wireless_nic()
249 strcpy(ifr.ifr_name, wireless_nic); in find_wireless_nic()
275 sprintf(line, "/sbin/iwpriv %s set_power 5 2> /dev/null", wireless_nic); in activate_wireless_suggestion()
302 if (strlen(wireless_nic)==0) in suggest_wireless_powersave()
307 if (ret >= 0 && need_wireless_suggest(wireless_nic)) { in suggest_wireless_powersave()
310 "This will sacrifice network performance slightly to save power."), wireless_nic); in suggest_wireless_powersave()