Lines Matching refs:netif

2090     struct netif *netif = net_get_uap_interface();  in do_start()  local
2108 wpa_supp_set_ap_bw(netif, 1); in do_start()
2152 wpa_supp_set_ap_bw(netif, 1); in do_start()
2197 wpa_supp_set_ap_bw(netif, 1); in do_start()
2199 wpa_supp_set_ap_bw(netif, bandwidth); in do_start()
2201 ret = wpa_supp_start_ap(netif, network, 0); in do_start()
2252 struct netif *netif = net_get_uap_interface(); in do_stop() local
2260 ret = wpa_supp_stop_ap(netif, network); in do_stop()
3766 struct netif *netif = net_get_sta_interface(); in wlcm_process_association_notify_event() local
3773 (void)wpa_supp_notify_assoc(netif); in wlcm_process_association_notify_event()
3813 struct netif *netif = net_get_sta_interface(); in wlcm_process_authentication_event() local
3894 wpa_supp_network_status(netif, network); in wlcm_process_authentication_event()
4195 struct netif *netif = net_get_sta_interface(); in wlan_11k_roam() local
4218 ret = wpa_supp_roam(netif, NULL); in wlan_11k_roam()
4225 ret = wpa_supp_scan(netif, &params); in wlan_11k_roam()
4368 struct netif *netif = net_get_sta_interface(); in wlan_ft_roam() local
4406 ret = wpa_supp_roam(netif, (t_u8 *)bssid); in wlan_ft_roam()
4413 ret = wpa_supp_scan(netif, &params); in wlan_ft_roam()
4799 struct netif *netif = net_get_sta_interface(); in wlcm_process_deauthentication_event() local
4802 supplicant_get_wifi_conn_params(net_if_get_device((void *)netif), &params); in wlcm_process_deauthentication_event()
5232 struct netif *netif = net_get_uap_interface(); in wpa_supplicant_msg_cb() local
5234 struct netif *sta_netif = net_get_sta_interface(); in wpa_supplicant_msg_cb()
5294 ret = wpa_supp_get_sta_info(netif, addr, &is_11n_enabled); in wpa_supplicant_msg_cb()
5656 wpa_supp_start_ap(netif, &wlan.networks[network_idx], 1); in wpa_supplicant_msg_cb()
5849 struct netif *netif = net_get_sta_interface(); in wlcm_process_net_if_config_event() local
5885 ret = wpa_supp_status(netif); in wlcm_process_net_if_config_event()
5910 struct netif *netif = net_get_sta_interface(); in wlcm_process_fw_hang_event() local
5920 wpa_supp_disconnect(netif); in wlcm_process_fw_hang_event()
5988 struct netif *netif = net_get_uap_interface(); in uap_state_machine() local
6005 supplicant_ap_disable(net_if_get_device((void *)netif)); in uap_state_machine()
6067 wpa_supp_network_status(netif, network); in uap_state_machine()
6488 struct netif *netif = net_get_sta_interface(); in wlcm_request_connect() local
6528 ret = wpa_supp_reassociate(netif); in wlcm_request_connect()
6532 ret = wpa_supp_connect(netif, new_network); in wlcm_request_connect()
6844 struct netif *netif = net_get_sta_interface(); in handle_message() local
6867 ret = wpa_supp_abort_scan(netif); in handle_message()
6872 wpa_supp_disconnect(netif); in handle_message()
6874 supplicant_disconnect(net_if_get_device((void *)netif)); in handle_message()
8840 struct netif *netif = net_get_sta_interface(); in wlan_add_network() local
9071 netif = net_get_uap_interface(); in wlan_add_network()
9078 netif = net_get_sta_interface(); in wlan_add_network()
9627 ret = wpa_supp_add_network(netif, &wlan.networks[pos]); in wlan_add_network()
9731 struct netif *netif = net_get_sta_interface(); in wlan_remove_network() local
9786 netif = net_get_sta_interface(); in wlan_remove_network()
9791 netif = net_get_uap_interface(); in wlan_remove_network()
9799 wpa_supp_remove_network(netif, &wlan.networks[i]); in wlan_remove_network()
9948 struct netif *netif = net_get_sta_interface(); in wlan_get_current_network_bssid() local
9952 supplicant_status(net_if_get_device((void *)netif), &status); in wlan_get_current_network_bssid()
13130 struct netif *netif = net_get_sta_interface(); in wlan_host_11k_neighbor_req() local
13142 ret = wpa_supp_send_neighbor_rep(netif, (char *)ssid, 0, 0); in wlan_host_11k_neighbor_req()
13161 struct netif *netif = net_get_sta_interface(); in wlan_host_11v_bss_trans_query() local
13175 return wpa_supp_send_btm_query(netif, query_reason); in wlan_host_11v_bss_trans_query()
13247 struct netif *netif = net_get_sta_interface(); in wlan_mbo_peferch_cfg() local
13249 return wpa_supp_mbo_update_non_pref_chan(netif, non_pref_chan); in wlan_mbo_peferch_cfg()
13258 struct netif *netif = net_get_sta_interface(); in wlan_mbo_set_cell_capa() local
13265 return wpa_supp_mbo_set_cell_capa(netif, cell_capa); in wlan_mbo_set_cell_capa()
13274 struct netif *netif = net_get_sta_interface(); in wlan_mbo_set_oce() local
13281 return wpa_supp_mbo_set_oce(netif, oce); in wlan_mbo_set_oce()
13291 struct netif *netif = net_get_sta_interface(); in wlan_set_okc() local
13298 return wpa_supp_set_okc(netif, okc); in wlan_set_okc()
13307 struct netif *netif = net_get_sta_interface(); in wlan_pmksa_list() local
13309 return wpa_supp_pmksa_list(netif, buf, buflen); in wlan_pmksa_list()
13317 struct netif *netif = net_get_sta_interface(); in wlan_pmksa_flush() local
13319 return wpa_supp_pmksa_flush(netif); in wlan_pmksa_flush()
13321 return supplicant_pmksa_flush(net_if_get_device((void *)netif)); in wlan_pmksa_flush()
13328 struct netif *netif = net_get_sta_interface(); in wlan_set_scan_interval() local
13330 return wpa_supp_set_scan_interval(netif, scan_int); in wlan_set_scan_interval()
13397 struct netif *netif = net_get_sta_interface(); in wlan_set_roaming() local
13404 wpa_supp_set_okc(netif, wlan.roaming_enabled == true ? 0 : 1); in wlan_set_roaming()
15031 struct netif *netif = net_get_sta_interface(); in wlan_remove_wps_network() local
15033 ret = wpa_supp_cancel_scan(netif); in wlan_remove_wps_network()
15038 ret = wpa_supp_remove_network(netif, &wlan.networks[i]); in wlan_remove_wps_network()
15046 struct netif *netif = net_get_sta_interface(); in wlan_start_wps_pbc() local
15054 ret = wpa_supp_start_wps_pbc(netif, 0); in wlan_start_wps_pbc()
15065 struct netif *netif = net_get_sta_interface(); in wlan_wps_generate_pin() local
15067 wpa_supp_wps_generate_pin(netif, (unsigned int *)pin); in wlan_wps_generate_pin()
15072 struct netif *netif = net_get_sta_interface(); in wlan_start_wps_pin() local
15080 if (wpa_supp_wps_pin_valid(netif, (const unsigned char *)pin) != WM_SUCCESS) in wlan_start_wps_pin()
15086 return wpa_supp_start_wps_pin(netif, pin, 0); in wlan_start_wps_pin()
15091 struct netif *netif = net_get_sta_interface(); in wlan_wps_cancel() local
15098 return wpa_supp_cancel_wps(netif, 0); in wlan_wps_cancel()
15104 struct netif *netif = net_get_uap_interface(); in wlan_start_ap_wps_pbc() local
15112 return wpa_supp_start_wps_pbc(netif, 1); in wlan_start_ap_wps_pbc()
15117 struct netif *netif = net_get_uap_interface(); in wlan_start_ap_wps_pin() local
15125 if (wpa_supp_wps_pin_valid(netif, (const unsigned char *)pin) != WM_SUCCESS) in wlan_start_ap_wps_pin()
15131 return wpa_supp_start_wps_pin(netif, pin, 1); in wlan_start_ap_wps_pin()
15136 struct netif *netif = net_get_uap_interface(); in wlan_wps_ap_cancel() local
15138 return wpa_supp_cancel_wps(netif, 1); in wlan_wps_ap_cancel()
15794 struct netif *uap_netif = net_get_uap_interface(); in wlan_host_set_sta_mac_filter()
16112 struct netif *netif = net_get_uap_interface(); in wlan_uap_disconnect_sta() local
16113 ret = wpa_supp_deauth_sta(netif, sta_addr); in wlan_uap_disconnect_sta()