Lines Matching refs:net

120 int wl_cfg80211_get_p2p_dev_addr(struct net_device *net, struct ether_addr *p2pdev_addr);
123 int wl_cfg80211_get_p2p_dev_addr(struct net_device *net, struct ether_addr *p2pdev_addr)
125 int wl_cfg80211_set_p2p_noa(struct net_device *net, char* buf, int len)
127 int wl_cfg80211_get_p2p_noa(struct net_device *net, char* buf, int len)
129 int wl_cfg80211_set_p2p_ps(struct net_device *net, char* buf, int len)
158 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len)
164 error = wldev_get_link_speed(net, &link_speed);
175 static int wl_android_get_rssi(struct net_device *net, char *command, int total_len)
182 error = wldev_get_rssi(net, &rssi);
186 error = wldev_get_ssid(net, &ssid);
449 static int wl_android_set_fwpath(struct net_device *net, char *command, int total_len)
465 int wl_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
473 net_os_wake_lock(net);
504 bytes_written = wl_android_wifi_on(net);
507 bytes_written = wl_android_set_fwpath(net, command, priv_cmd.total_len);
518 bytes_written = wl_android_wifi_off(net);
527 bytes_written = wl_android_get_rssi(net, command, priv_cmd.total_len);
530 bytes_written = wl_android_get_link_speed(net, command, priv_cmd.total_len);
534 bytes_written = net_os_enable_packet_filter(net, 1);
537 bytes_written = net_os_enable_packet_filter(net, 0);
541 bytes_written = net_os_rxfilter_add_remove(net, TRUE, filter_num);
545 bytes_written = net_os_rxfilter_add_remove(net, FALSE, filter_num);
556 bytes_written = wl_cfg80211_set_btcoex_dhcp(net, command);
562 net_os_enable_packet_filter(net, 0); /* DHCP starts */
564 net_os_enable_packet_filter(net, 1); /* DHCP ends */
569 bytes_written = wl_android_set_suspendopt(net, command, priv_cmd.total_len);
572 bytes_written = wl_android_set_suspendmode(net, command, priv_cmd.total_len);
577 if (wl_cfg80211_set_band(net, band) < 0) {
582 bytes_written = wldev_set_band(net, band);
584 bytes_written = wldev_set_band(net, band);
588 bytes_written = wl_android_get_band(net, command, priv_cmd.total_len);
593 bytes_written = wldev_set_country(net, country_code);
598 bytes_written = dhd_dev_pno_reset(net);
601 bytes_written = wl_android_set_pno_setup(net, command, priv_cmd.total_len);
605 bytes_written = dhd_dev_pno_enable(net, pfn_enabled);
609 bytes_written = wl_android_get_p2p_dev_addr(net, command, priv_cmd.total_len);
613 bytes_written = wl_cfg80211_set_p2p_noa(net, command + skip,
618 bytes_written = wl_cfg80211_get_p2p_noa(net, command, priv_cmd.total_len);
623 bytes_written = wl_cfg80211_set_p2p_ps(net, command + skip,
630 bytes_written = wl_cfg80211_set_wps_p2p_ie(net, command + skip,
660 net_os_wake_unlock(net);