Lines Matching refs:ifname
195 char ifname[IFNAMSIZ+1]; member
349 static int wl_ext_enable_iface(struct net_device *dev, char *ifname,
351 static int wl_ext_disable_iface(struct net_device *dev, char *ifname);
408 IAPSTA_TRACE(cur_if->ifname, "dhd is null or not up\n"); in wl_ext_pm_work_handler()
462 IAPSTA_ERROR(cur_if->ifname, "Can't schedule pm work handler\n"); in wl_ext_add_remove_pm_enable_work()
1116 cur_if->ifname, cur_if->prefix); in wl_ext_mesh_peer_status()
1394 WL_MSG(mesh_if->ifname, "moving channel %d -> %d\n", in wl_mesh_update_mesh_info()
1396 wl_ext_disable_iface(mesh_if->dev, mesh_if->ifname); in wl_mesh_update_mesh_info()
1398 wl_ext_enable_iface(mesh_if->dev, mesh_if->ifname, 500, TRUE); in wl_mesh_update_mesh_info()
1617 tmp_if->ifname, tmp_if->prefix, &mesh_info->master_bssid, in wl_ext_isam_peer_path()
1655 WL_MSG(cur_if->ifname, "[%c] Turning off...\n", cur_if->prefix); in wl_ext_if_down()
1696 IAPSTA_ERROR(cur_if->ifname, "Wrong ifmode\n"); in wl_ext_if_up()
1701 WL_MSG(cur_if->ifname, "[%c] skip DFS channel %d\n", in wl_ext_if_up()
1705 WL_MSG(cur_if->ifname, "[%c] skip PASSIVE channel %d\n", in wl_ext_if_up()
1709 WL_MSG(cur_if->ifname, "[%c] no valid channel\n", cur_if->prefix); in wl_ext_if_up()
1713 WL_MSG(cur_if->ifname, "[%c] Turning on...\n", cur_if->prefix); in wl_ext_if_up()
1736 WL_MSG(cur_if->ifname, "[%c] failed to up with SSID: \"%s\"\n", in wl_ext_if_up()
1743 WL_MSG(cur_if->ifname, "[%c] enabled with SSID: \"%s\" on channel %s-%d(0x%x)\n", in wl_ext_if_up()
1822 IAPSTA_INFO(cur_if->ifname, "cur_chan=%s-%d, target_chan=%s-%d\n", in wl_ext_get_vsdb_chan()
1876 WL_MSG(cur_if->ifname, "[%c] no valid channel\n", cur_if->prefix); in wl_ext_trigger_csa()
1878 WL_MSG(cur_if->ifname, "[%c] skip DFS channel %d\n", in wl_ext_trigger_csa()
1889 WL_MSG(cur_if->ifname, "[%c] Skip CSA due to rsdb core conflict\n", in wl_ext_trigger_csa()
1892 WL_MSG(cur_if->ifname, "[%c] Trigger CSA to channel %d(0x%x)\n", in wl_ext_trigger_csa()
1901 IAPSTA_ERROR(cur_if->ifname, "fail to get chanspec\n"); in wl_ext_trigger_csa()
1923 WL_MSG(cur_if->ifname, "[%c] no valid channel\n", cur_if->prefix); in wl_ext_move_cur_dfs_channel()
1977 WL_MSG(cur_if->ifname, "[%c] move channel %s-%d => %s-%d\n", in wl_ext_move_cur_dfs_channel()
1997 WL_MSG(tgt_if->ifname, "[%c] no valid channel\n", tgt_if->prefix); in wl_ext_move_other_dfs_channel()
2034 WL_MSG(tgt_if->ifname, "[%c] move channel %s-%d => %s-%d\n", in wl_ext_move_other_dfs_channel()
2075 WL_MSG(cur_if->ifname, "[%c] keep on current channel %s-%d\n", in wl_ext_move_cur_channel()
2079 WL_MSG(cur_if->ifname, "[%c] channel=%s-%d => %s[%c] channel=%s-%d\n", in wl_ext_move_cur_channel()
2082 target_if->ifname, target_if->prefix, in wl_ext_move_cur_channel()
2123 WL_MSG(target_if->ifname, "channel=%s-%d => %s channel=%s-%d\n", in wl_ext_move_other_channel()
2125 cur_if->ifname, WLCBAND2STR(cur_if->chan_info.band), cur_if->chan_info.chan); in wl_ext_move_other_channel()
2132 wl_ext_enable_iface(target_if->dev, target_if->ifname, 0, FALSE); in wl_ext_move_other_channel()
2161 WL_MSG(cur_if->ifname, "waiting for %s[%c] enabling...\n", in wl_ext_wait_other_enabling()
2162 tmp_if->ifname, tmp_if->prefix); in wl_ext_wait_other_enabling()
2180 WL_MSG(cur_if->ifname, "%s[%c] is still enabling...\n", in wl_ext_wait_other_enabling()
2181 tmp_if->ifname, tmp_if->prefix); in wl_ext_wait_other_enabling()
2298 IAPSTA_INFO(cur_if->ifname, "update maxcount %d\n", maxcount); in wl_ext_get_wlfc_maxcount()
2326 IAPSTA_INFO(tmp_if->ifname, "updated maxcount %d\n", in wl_ext_update_wlfc_maxcount()
2348 IAPSTA_INFO(tmp_if->ifname, "updated maxcount %d\n", in wl_ext_update_wlfc_maxcount()
2465 WL_MSG(tmp_if->ifname, "re-enable channel %d\n", channel); in wl_ext_if_reenabled()
2697 IAPSTA_INFO(cur_if->ifname, "sta_disc_recon_cnt=%d, diff_ms = %dms\n", in wl_ext_disc_recon_retry()
3669 IAPSTA_TRACE(cur_if->ifname, "carrier=%d\n", on); in wl_ext_net_setcarrier()
3757 WL_MSG(cur_if->ifname, "suspend %d\n", suspend); in wl_iapsta_suspend_resume_ap()
5029 WL_MSG(cur_if->ifname, "restart AP\n"); in wl_ext_restart_ap_handler()
5034 WL_MSG(cur_if->ifname, "skip restart AP\n"); in wl_ext_restart_ap_handler()
5074 IAPSTA_ERROR(cur_if->ifname, in wl_ext_counters_cbfn()
5094 IAPSTA_ERROR(cur_if->ifname, in wl_ext_counters_cbfn()
5130 IAPSTA_ERROR(cur_if->ifname, in wl_ext_counters_update()
5140 IAPSTA_ERROR(cur_if->ifname, in wl_ext_counters_update()
5151 IAPSTA_ERROR(cur_if->ifname, "WLC_GET_REVINFO failed %d\n", ret); in wl_ext_counters_update()
5158 IAPSTA_ERROR(cur_if->ifname, "wl_cntbuf_to_xtlv_format failed %d\n", ret); in wl_ext_counters_update()
5165 IAPSTA_ERROR(cur_if->ifname, "bcm_unpack_xtlv_buf failed %d\n", ret); in wl_ext_counters_update()
5224 WL_MSG(cur_if->ifname, "reset AP mode\n"); in wl_ext_reset_ap_handler()
5297 IAPSTA_INFO(cur_if->ifname, in wl_ext_rxf0ovfl_reinit_handler()
5310 WL_MSG(cur_if->ifname, "wl reinit\n"); in wl_ext_rxf0ovfl_reinit_handler()
5335 WL_MSG(cur_if->ifname, in wl_ext_iapsta_link()
5344 WL_MSG(cur_if->ifname, "[%c] Link UP with %pM\n", in wl_ext_iapsta_link()
5358 WL_MSG(cur_if->ifname, in wl_ext_iapsta_link()
5369 WL_MSG(cur_if->ifname, "[%c] Link down with %pM, %s(%d), reason %d\n", in wl_ext_iapsta_link()
5383 WL_MSG(cur_if->ifname, "[%c] Link up (etype=%d)\n", in wl_ext_iapsta_link()
5389 WL_MSG(cur_if->ifname, "[%c] Link up w/o creating? (etype=%d)\n", in wl_ext_iapsta_link()
5403 WL_MSG(cur_if->ifname, "[%c] Link down, reason=%d\n", in wl_ext_iapsta_link()
5414 WL_MSG(cur_if->ifname, "[%c] connected device %pM\n", in wl_ext_iapsta_link()
5421 WL_MSG_RLMT(cur_if->ifname, &e->addr, ETHER_ADDR_LEN, in wl_ext_iapsta_link()
5692 if (i >= 1 && !strlen(cur_if->ifname)) in wl_ext_iapsta_preinit()
5693 snprintf(cur_if->ifname, IFNAMSIZ, "wlan%d", i); in wl_ext_iapsta_preinit()
5829 wl_ext_disable_iface(struct net_device *dev, char *ifname) in wl_ext_disable_iface() argument
5846 if (tmp_if->dev && !strcmp(tmp_if->dev->name, ifname)) { in wl_ext_disable_iface()
5852 IAPSTA_ERROR(dev->name, "wrong ifname=%s or dev not ready\n", ifname); in wl_ext_disable_iface()
5857 WL_MSG(ifname, "[%c] Disabling...\n", cur_if->prefix); in wl_ext_disable_iface()
5923 WL_MSG(ifname, "[%c] Exit\n", cur_if->prefix); in wl_ext_disable_iface()
5929 wl_ext_enable_iface(struct net_device *dev, char *ifname, int wait_up, bool lock) in wl_ext_enable_iface() argument
5949 if (tmp_if->dev && !strcmp(tmp_if->dev->name, ifname)) { in wl_ext_enable_iface()
5955 IAPSTA_ERROR(dev->name, "wrong ifname=%s or dev not ready\n", ifname); in wl_ext_enable_iface()
5969 WL_MSG(ifname, "[%c] Enabling...\n", cur_if->prefix); in wl_ext_enable_iface()
5982 IAPSTA_ERROR(ifname, "invalid channel\n"); in wl_ext_enable_iface()
5991 IAPSTA_ERROR(ifname, "skip channel 0\n"); in wl_ext_enable_iface()
5999 IAPSTA_INFO(cur_if->ifname, "Associated\n"); in wl_ext_enable_iface()
6058 WL_MSG(ifname, "[%c] Broadcast SSID: %s\n", in wl_ext_enable_iface()
6107 IAPSTA_ERROR(cur_if->ifname, "wrong ifmode %d\n", cur_if->ifmode); in wl_ext_enable_iface()
6127 IAPSTA_ERROR(cur_if->ifname, "wrong ifmode %d\n", cur_if->ifmode); in wl_ext_enable_iface()
6141 wl_ext_disable_iface(dev, cur_if->ifname); in wl_ext_enable_iface()
6142 WL_MSG(ifname, "[%c] failed to enable with SSID: \"%s\"\n", in wl_ext_enable_iface()
6163 WL_MSG(ifname, "[%c] Exit ret=%d\n", cur_if->prefix, ret); in wl_ext_enable_iface()
6333 char ifname[IFNAMSIZ+1]; in wl_ext_iapsta_disable() local
6344 strcpy(ifname, pch); in wl_ext_iapsta_disable()
6345 ret = wl_ext_disable_iface(dev, ifname); in wl_ext_iapsta_disable()
6365 char ifname[IFNAMSIZ+1]; in wl_ext_iapsta_enable() local
6376 strcpy(ifname, pch); in wl_ext_iapsta_enable()
6377 ret = wl_ext_enable_iface(dev, ifname, 0, TRUE); in wl_ext_iapsta_enable()
6398 char ifname[IFNAMSIZ+1]; in wl_ext_iapsta_config() local
6414 memset(ifname, 0, IFNAMSIZ+1); in wl_ext_iapsta_config()
6419 strncpy(ifname, pch, pch2-pch); in wl_ext_iapsta_config()
6427 if (tmp_if->dev && !strcmp(tmp_if->dev->name, ifname)) { in wl_ext_iapsta_config()
6434 ifname, apsta_params->apstamode); in wl_ext_iapsta_config()
6566 strcpy(apsta_params->if_info[i].ifname, pch); in wl_ext_isam_init()
6570 strcpy(apsta_params->if_info[IF_VIF].ifname, pick_tmp2); in wl_ext_isam_init()
6632 if (i == 1 && !strlen(cur_if->ifname)) in wl_ext_iapsta_alive_postinit()
6633 strcpy(cur_if->ifname, "wlan1"); in wl_ext_iapsta_alive_postinit()
6634 if (i == 2 && !strlen(cur_if->ifname)) in wl_ext_iapsta_alive_postinit()
6635 strcpy(cur_if->ifname, "wlan2"); in wl_ext_iapsta_alive_postinit()
6704 IAPSTA_TRACE(cur_if->ifname, "ifidx=%d\n", cur_if->ifidx); in wl_ext_iapsta_postinit()
6768 strcpy(cur_if->ifname, net->name); in wl_ext_iapsta_attach_name()
6772 strcpy(cur_if->ifname, net->name); in wl_ext_iapsta_attach_name()
6797 if (strlen(cur_if->ifname)) { in wl_ext_iapsta_update_net_device()
6799 strcpy(net->name, cur_if->ifname); in wl_ext_iapsta_update_net_device()
6927 strcpy(cur_if->ifname, net->name); in wl_ext_iapsta_attach_netdev()