Searched refs:wif (Results 1 - 25 of 35) sorted by relevance

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/qca/
H A Dqca.c70 char wif[8]; local
72 __get_wlifname(nvram_get_int("wps_band"), 0, wif);
73 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
80 char wif[8]; local
82 __get_wlifname(wps_band, 0, wif);
83 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
359 char wif[10], vphy[10]; local
379 __get_wlifname(band, subnet, wif);
382 sprintf(path1,"/etc/Wireless/conf/hostapd_%s.conf",wif);
383 sprintf(path2,"/etc/Wireless/sh/postwifi_%s.sh",wif);
2040 char line_buf[300],cmd[300],tmp[128],wif[8]; // max 14x local
2554 wlcscan_core(char *ofile, char *wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/qca/
H A Dqca.c70 char wif[8]; local
72 __get_wlifname(nvram_get_int("wps_band"), 0, wif);
73 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
80 char wif[8]; local
82 __get_wlifname(wps_band, 0, wif);
83 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
359 char wif[10], vphy[10]; local
379 __get_wlifname(band, subnet, wif);
382 sprintf(path1,"/etc/Wireless/conf/hostapd_%s.conf",wif);
383 sprintf(path2,"/etc/Wireless/sh/postwifi_%s.sh",wif);
2040 char line_buf[300],cmd[300],tmp[128],wif[8]; // max 14x local
2554 wlcscan_core(char *ofile, char *wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/qca/
H A Dqca.c70 char wif[8]; local
72 __get_wlifname(nvram_get_int("wps_band"), 0, wif);
73 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
80 char wif[8]; local
82 __get_wlifname(wps_band, 0, wif);
83 sprintf(tmpstr, "/var/run/wscd.pid.%s", wif);
359 char wif[10], vphy[10]; local
379 __get_wlifname(band, subnet, wif);
382 sprintf(path1,"/etc/Wireless/conf/hostapd_%s.conf",wif);
383 sprintf(path2,"/etc/Wireless/sh/postwifi_%s.sh",wif);
2040 char line_buf[300],cmd[300],tmp[128],wif[8]; // max 14x local
2554 wlcscan_core(char *ofile, char *wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/
H A Dsysdeps.h30 static inline void tweak_wifi_ps(const char *wif) { } argument
44 extern int wlcscan_core(char *ofile, char *wif);
H A Dlan.c877 qca_wif_up(const char* wif) argument
880 if ((nvram_get_int("sw_mode") == SW_MODE_REPEATER && !strncmp(wif,"sta",3)))
881 ifconfig(wif, IFUP, NULL, NULL);
893 char wif[256], *next; local
919 foreach (wif, nvram_safe_get("lan_ifnames"), next) {
922 if (!guest_wlif(wif) && (unit = get_wifi_unit(wif)) >= 0 && unit < sizeof(led_onoff)) {
927 if (!strcmp(wif, WIF_2G)) { // 2.4G
931 else if (!strncmp(wif,wi2_gn,strlen(wi2_gn))) // 2.4G guest
933 p1=strstr(wif,wi2_g
1115 set_wlpara_qca(const char* wif, int band) argument
1138 wlconf_qca(const char* wif) argument
1170 gen_ra_config(const char* wif) argument
1196 radio_ra(const char *wif, int band, int ctrl) argument
1218 set_wlpara_ra(const char* wif, int band) argument
1266 wlconf_ra(const char* wif) argument
2070 stop_wds_ra(const char* lan_ifname, const char* wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/
H A Dsysdeps.h30 static inline void tweak_wifi_ps(const char *wif) { } argument
44 extern int wlcscan_core(char *ofile, char *wif);
H A Dlan.c877 qca_wif_up(const char* wif) argument
880 if ((nvram_get_int("sw_mode") == SW_MODE_REPEATER && !strncmp(wif,"sta",3)))
881 ifconfig(wif, IFUP, NULL, NULL);
893 char wif[256], *next; local
919 foreach (wif, nvram_safe_get("lan_ifnames"), next) {
922 if (!guest_wlif(wif) && (unit = get_wifi_unit(wif)) >= 0 && unit < sizeof(led_onoff)) {
927 if (!strcmp(wif, WIF_2G)) { // 2.4G
931 else if (!strncmp(wif,wi2_gn,strlen(wi2_gn))) // 2.4G guest
933 p1=strstr(wif,wi2_g
1115 set_wlpara_qca(const char* wif, int band) argument
1138 wlconf_qca(const char* wif) argument
1170 gen_ra_config(const char* wif) argument
1196 radio_ra(const char *wif, int band, int ctrl) argument
1218 set_wlpara_ra(const char* wif, int band) argument
1266 wlconf_ra(const char* wif) argument
2070 stop_wds_ra(const char* lan_ifname, const char* wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/
H A Dsysdeps.h30 static inline void tweak_wifi_ps(const char *wif) { } argument
44 extern int wlcscan_core(char *ofile, char *wif);
H A Dlan.c877 qca_wif_up(const char* wif) argument
880 if ((nvram_get_int("sw_mode") == SW_MODE_REPEATER && !strncmp(wif,"sta",3)))
881 ifconfig(wif, IFUP, NULL, NULL);
893 char wif[256], *next; local
919 foreach (wif, nvram_safe_get("lan_ifnames"), next) {
922 if (!guest_wlif(wif) && (unit = get_wifi_unit(wif)) >= 0 && unit < sizeof(led_onoff)) {
927 if (!strcmp(wif, WIF_2G)) { // 2.4G
931 else if (!strncmp(wif,wi2_gn,strlen(wi2_gn))) // 2.4G guest
933 p1=strstr(wif,wi2_g
1115 set_wlpara_qca(const char* wif, int band) argument
1138 wlconf_qca(const char* wif) argument
1170 gen_ra_config(const char* wif) argument
1196 radio_ra(const char *wif, int band, int ctrl) argument
1218 set_wlpara_ra(const char* wif, int band) argument
1266 wlconf_ra(const char* wif) argument
2070 stop_wds_ra(const char* lan_ifname, const char* wif) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/broadcom/
H A Dbroadcom.c1664 int wlcscan_core(char *ofile, char *wif) argument
1704 wl_ioctl(wif, WLC_GET_BAND, &band, sizeof(band));
1707 if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 1)
1715 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 2)
1723 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 3)
1725 if (wl_channel_valid(wif, 120))
1753 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 4)
1782 if (wl_channel_valid(wif, 13))
1814 wl_ioctl(wif, WLC_GET_SCAN_CHANNEL_TIME, &org_scan_time, sizeof(org_scan_time));
1816 wl_ioctl(wif, WLC_SET_SCAN_CHANNEL_TIM
2491 wlcscan_core_escan(char *ofile, char *wif) argument
2955 get_wlc_status(char *wif) argument
3301 wl_channel_valid(char *wif, int channel) argument
3325 wl_subband(char *wif, int idx) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/broadcom/
H A Dbroadcom.c1664 int wlcscan_core(char *ofile, char *wif) argument
1704 wl_ioctl(wif, WLC_GET_BAND, &band, sizeof(band));
1707 if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 1)
1715 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 2)
1723 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 3)
1725 if (wl_channel_valid(wif, 120))
1753 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 4)
1782 if (wl_channel_valid(wif, 13))
1814 wl_ioctl(wif, WLC_GET_SCAN_CHANNEL_TIME, &org_scan_time, sizeof(org_scan_time));
1816 wl_ioctl(wif, WLC_SET_SCAN_CHANNEL_TIM
2491 wlcscan_core_escan(char *ofile, char *wif) argument
2955 get_wlc_status(char *wif) argument
3301 wl_channel_valid(char *wif, int channel) argument
3325 wl_subband(char *wif, int idx) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/broadcom/
H A Dbroadcom.c1664 int wlcscan_core(char *ofile, char *wif) argument
1704 wl_ioctl(wif, WLC_GET_BAND, &band, sizeof(band));
1707 if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 1)
1715 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 2)
1723 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 3)
1725 if (wl_channel_valid(wif, 120))
1753 else if (wl_subband(wif, nvram_get_int("wlcscan_idx")+1) == 4)
1782 if (wl_channel_valid(wif, 13))
1814 wl_ioctl(wif, WLC_GET_SCAN_CHANNEL_TIME, &org_scan_time, sizeof(org_scan_time));
1816 wl_ioctl(wif, WLC_SET_SCAN_CHANNEL_TIM
2491 wlcscan_core_escan(char *ofile, char *wif) argument
2955 get_wlc_status(char *wif) argument
3301 wl_channel_valid(char *wif, int channel) argument
3325 wl_subband(char *wif, int idx) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/ralink/
H A Dralink.c3574 int site_survey_for_channel(int n, const char *wif, int *HT_EXT) argument
3604 if (wl_ioctl(wif, RTPRIV_IOCTL_SET, &wrq) < 0) {
3626 if (wl_ioctl(wif, RTPRIV_IOCTL_GSITESURVEY, &wrq) < 0) {
4579 const char *wif; local
4587 wif = get_wifname(i);
4592 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4593 doSystem("iwpriv %s set EncrypType=%s", wif, "NONE");
4595 doSystem("iwpriv %s set IEEE8021X=%d", wif, 0);
4599 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4600 doSystem("iwpriv %s set EncrypType=%s", wif, "WE
4991 wlcscan_core(char *ofile, char *wif) argument
5026 char *wif; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/ralink/
H A Dralink.c3574 int site_survey_for_channel(int n, const char *wif, int *HT_EXT) argument
3604 if (wl_ioctl(wif, RTPRIV_IOCTL_SET, &wrq) < 0) {
3626 if (wl_ioctl(wif, RTPRIV_IOCTL_GSITESURVEY, &wrq) < 0) {
4579 const char *wif; local
4587 wif = get_wifname(i);
4592 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4593 doSystem("iwpriv %s set EncrypType=%s", wif, "NONE");
4595 doSystem("iwpriv %s set IEEE8021X=%d", wif, 0);
4599 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4600 doSystem("iwpriv %s set EncrypType=%s", wif, "WE
4991 wlcscan_core(char *ofile, char *wif) argument
5026 char *wif; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/ralink/
H A Dralink.c3574 int site_survey_for_channel(int n, const char *wif, int *HT_EXT) argument
3604 if (wl_ioctl(wif, RTPRIV_IOCTL_SET, &wrq) < 0) {
3626 if (wl_ioctl(wif, RTPRIV_IOCTL_GSITESURVEY, &wrq) < 0) {
4579 const char *wif; local
4587 wif = get_wifname(i);
4592 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4593 doSystem("iwpriv %s set EncrypType=%s", wif, "NONE");
4595 doSystem("iwpriv %s set IEEE8021X=%d", wif, 0);
4599 doSystem("iwpriv %s set AuthMode=%s", wif, "OPEN");
4600 doSystem("iwpriv %s set EncrypType=%s", wif, "WE
4991 wlcscan_core(char *ofile, char *wif) argument
5026 char *wif; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/sysdeps/
H A Dinit-qca.c853 char wif[256]; local
867 __get_wlifname(unit, sunit, wif);
868 sprintf(pid_path, "/var/run/hostapd_%s.pid", wif);
871 sprintf(path, "/sys/class/net/%s", wif);
873 eval("ifconfig", wif, "down");
874 eval("wlanconfig", wif, "destroy");
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/sysdeps/
H A Dinit-qca.c853 char wif[256]; local
867 __get_wlifname(unit, sunit, wif);
868 sprintf(pid_path, "/var/run/hostapd_%s.pid", wif);
871 sprintf(path, "/sys/class/net/%s", wif);
873 eval("ifconfig", wif, "down");
874 eval("wlanconfig", wif, "destroy");
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/sysdeps/
H A Dinit-qca.c853 char wif[256]; local
867 __get_wlifname(unit, sunit, wif);
868 sprintf(pid_path, "/var/run/hostapd_%s.pid", wif);
871 sprintf(path, "/sys/class/net/%s", wif);
873 eval("ifconfig", wif, "down");
874 eval("wlanconfig", wif, "destroy");
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/shared/
H A Dshared.h753 extern char *wif_to_vif(char *wif);
765 extern char *wif_to_vif(char *wif);
772 #define wif_to_vif(wif) (wif)
866 extern int get_wifi_unit(char *wif);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/shared/
H A Dshared.h753 extern char *wif_to_vif(char *wif);
765 extern char *wif_to_vif(char *wif);
772 #define wif_to_vif(wif) (wif)
866 extern int get_wifi_unit(char *wif);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/shared/
H A Dshared.h753 extern char *wif_to_vif(char *wif);
765 extern char *wif_to_vif(char *wif);
772 #define wif_to_vif(wif) (wif)
866 extern int get_wifi_unit(char *wif);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/shared/sysdeps/
H A Dapi-qca.c410 char *wif_to_vif(char *wif) argument
422 if (nvram_match(strcat_r(prefix, "_ifname", tmp), wif)) {
H A Dapi-ralink.c324 char *wif_to_vif(char *wif) argument
337 if (nvram_match(strcat_r(prefix, "_ifname", tmp), wif))
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/shared/sysdeps/
H A Dapi-qca.c410 char *wif_to_vif(char *wif) argument
422 if (nvram_match(strcat_r(prefix, "_ifname", tmp), wif)) {
H A Dapi-ralink.c324 char *wif_to_vif(char *wif) argument
337 if (nvram_match(strcat_r(prefix, "_ifname", tmp), wif))

Completed in 246 milliseconds

12