Home
last modified time | relevance | path

Searched refs:num_wlans (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_known_wlan.c155 uint_t num_wlans; member
169 uint_t num_wlans = wil->num_wlans; in get_wlans_cb() local
173 sizeof (struct nwam_wlan_info *) * ++num_wlans)) == NULL || in get_wlans_cb()
174 (newlist[num_wlans - 1] = calloc(1, in get_wlans_cb()
186 &((newlist[num_wlans - 1])->wlan_name))) != NWAM_SUCCESS || in get_wlans_cb()
190 &((newlist[num_wlans - 1])->wlan_priority))) != NWAM_SUCCESS) { in get_wlans_cb()
191 free(newlist[num_wlans - 1]->wlan_name); in get_wlans_cb()
193 free(newlist[num_wlans - 1]); in get_wlans_cb()
198 (newlist[num_wlans - 1])->wlan_walked = B_FALSE; in get_wlans_cb()
200 wil->num_wlans = num_wlans; in get_wlans_cb()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c174 uint_t num_wlans; in nwamd_door_req_wlan_scan_results() local
191 num_wlans = link->nwamd_link_wifi_scan.nwamd_wifi_scan_curr_num; in nwamd_door_req_wlan_scan_results()
193 if (num_wlans > 0) { in nwamd_door_req_wlan_scan_results()
197 num_wlans * sizeof (nwam_wlan_t)); in nwamd_door_req_wlan_scan_results()
199 req->nwda_data.nwdad_wlan_info.nwdad_num_wlans = num_wlans; in nwamd_door_req_wlan_scan_results()
202 num_wlans); in nwamd_door_req_wlan_scan_results()
H A Devents.c416 nwam_wlan_t *wlans, uint_t num_wlans) in nwamd_event_init_wlan() argument
426 size = sizeof (nwam_wlan_t) * (num_wlans - 1); in nwamd_event_init_wlan()
452 event->event_msg->nwe_data.nwe_wlan_info.nwe_num_wlans = num_wlans; in nwamd_event_init_wlan()
456 num_wlans * sizeof (nwam_wlan_t)); in nwamd_event_init_wlan()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1250 uint_t i, choice, num_wlans = 0; in select_wifi_func() local
1266 err = nwam_wlan_get_scan_results(linkname, &num_wlans, &wlans); in select_wifi_func()
1278 for (i = 0; i < num_wlans; i++) { in select_wifi_func()