Home
last modified time | relevance | path

Searched refs:essid (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_wlan.c60 nwam_wlan_select(const char *linkname, const char *essid, const char *bssid, in nwam_wlan_select() argument
64 linkname, essid, bssid, secmode, 0, NULL, add_to_known_wlans)); in nwam_wlan_select()
71 nwam_wlan_set_key(const char *linkname, const char *essid, const char *bssid, in nwam_wlan_set_key() argument
75 linkname, essid, bssid, secmode, keyslot, key, B_FALSE)); in nwam_wlan_set_key()
H A Dlibnwam_known_wlan.c581 nwam_known_wlan_add_to_known_wlans(const char *essid, const char *bssid, in nwam_known_wlan_add_to_known_wlans() argument
597 err = nwam_known_wlan_read(essid, 0, &kwh); in nwam_known_wlan_add_to_known_wlans()
601 if ((err = nwam_known_wlan_create(essid, &kwh)) != NWAM_SUCCESS) in nwam_known_wlan_add_to_known_wlans()
753 nwam_known_wlan_remove_from_known_wlans(const char *essid, const char *bssid, in nwam_known_wlan_remove_from_known_wlans() argument
764 if ((err = nwam_known_wlan_read(essid, 0, &kwh)) != NWAM_SUCCESS) in nwam_known_wlan_remove_from_known_wlans()
H A Dlibnwam_util.c206 const char *essid, const char *bssid, uint32_t security_mode, in nwam_request_wlan() argument
217 if (essid != NULL) { in nwam_request_wlan()
218 (void) strlcpy(req.nwda_data.nwdad_wlan_info.nwdad_essid, essid, in nwam_request_wlan()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dknown_wlans.c111 kw_lookup(const char *essid) in kw_lookup() argument
115 if (essid == NULL) in kw_lookup()
121 if (strcmp(essid, kw->kw_essid) == 0) in kw_lookup()
129 kw_add(const char *essid, const char *bssid) in kw_add() argument
146 (void) strlcpy(kw->kw_essid, essid, sizeof (kw->kw_essid)); in kw_add()
152 nlog(LOG_DEBUG, "kw_add: added Known WLAN %s, BSSID %s", essid, bssid); in kw_add()
442 known_wlan_get_keyname(const char *essid, char *name) in known_wlan_get_keyname() argument
449 if ((err = nwam_known_wlan_read(essid, 0, &kwh)) != NWAM_SUCCESS) in known_wlan_get_keyname()
H A Dncu_phys.c410 essid); in nwamd_set_key_name()
413 essid, bssid); in nwamd_set_key_name()
493 nwamd_set_key_name(essid, NULL, obj_name, in nwamd_wlan_set_key()
847 (void) strlcpy(link->nwamd_link_wifi_essid, essid, in nwamd_wlan_select()
1190 char essid[DLADM_STRSIZE]; in nwamd_wlan_connected() local
1216 ncu->ncu_name, essid, bssid); in nwamd_wlan_connected()
1225 (void) strlcpy(link->nwamd_link_wifi_essid, essid, in nwamd_wlan_connected()
1253 } else if (strlen(essid) == 0) { in nwamd_wlan_connected()
1284 char essid[DLADM_STRSIZE]; in wlan_scan_thread() local
1470 sizeof (essid)); in wlan_scan_thread()
[all …]
H A Dconditions.c84 const char *essid);
86 const char *essid);
657 const char *essid) in test_condition_wireless_essid() argument
662 wa.exp_essid = essid; in test_condition_wireless_essid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1256 char essid[NWAM_MAX_VALUE_LEN]; in select_wifi_func() local
1299 while (fgets(essid, sizeof (essid), stdin) == NULL) {} in select_wifi_func()
1300 essid[strlen(essid) - 1] = '\0'; in select_wifi_func()
1301 } while (strspn(essid, " \t") == strlen(essid)); in select_wifi_func()
1326 if (nwam_known_wlan_read(essid, 0, &kwh) == NWAM_SUCCESS && in select_wifi_func()
1336 (void) strlcpy(essid, wlans[choice - 1].nww_essid, in select_wifi_func()
1337 sizeof (essid)); in select_wifi_func()
1351 "ESSID %s: "), essid); in select_wifi_func()
1367 err = nwam_wlan_set_key(linkname, essid, bssid, security_mode, in select_wifi_func()
1372 err = nwam_wlan_select(linkname, essid, bssid[0] != '\0' ? bssid : NULL, in select_wifi_func()
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c439 dladm_wlan_essid_t essid; in do_connect() local
508 generate_essid(&essid); in do_connect()
514 essid = attrp->wa_essid; in do_connect()
905 dladm_wlan_essid2str(dladm_wlan_essid_t *essid, char *buf) in dladm_wlan_essid2str() argument
907 (void) snprintf(buf, DLADM_STRSIZE, "%s", essid->we_bytes); in dladm_wlan_essid2str()
1360 dladm_wlan_essid_t *essid) in do_set_essid() argument
1364 (void) memset(&iessid, 0, sizeof (essid)); in do_set_essid()
1366 if (essid != NULL && essid->we_bytes[0] != '\0') { in do_set_essid()
1367 iessid.wl_essid_length = strlen(essid->we_bytes); in do_set_essid()
1368 (void) strlcpy(iessid.wl_essid_essid, essid->we_bytes, in do_set_essid()
[all …]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ioctl.c1442 char *essid; in wl_set_essid() local
1454 essid = iw_essid->wl_essid_essid; in wl_set_essid()
1455 essid[IEEE80211_NWID_LEN] = 0; in wl_set_essid()
1459 essid, iw_essid->wl_essid_length); in wl_set_essid()
1463 bcopy(essid, ic->ic_des_essid, ic->ic_des_esslen); in wl_set_essid()
1475 char *essid; in wl_get_essid() local
1478 essid = (char *)ic->ic_des_essid; in wl_get_essid()
1479 if (essid[0] == '\0') in wl_get_essid()
1480 essid = (char *)ic->ic_bss->in_essid; in wl_get_essid()
1483 ow_essid.wl_essid_length = wifi_strnlen((const char *)essid, in wl_get_essid()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c1732 char essid[34]; in heuristic_load() local
1782 sizeof (essid)); in heuristic_load()
1784 gExecName, essid, in heuristic_load()
2079 char essid[34], bssid[32]; in find_active_profile() local
2087 sizeof (essid)); in find_active_profile()
2123 (strcmp(essid, pessid) == 0) && in find_active_profile()
3250 wl_essid_t essid; in do_set_essid() local
3260 (void) memset(&essid, 0x0, sizeof (essid)); in do_set_essid()
3263 essid.wl_essid_length = 0; in do_set_essid()
3264 essid.wl_essid_essid[0] = '\0'; in do_set_essid()
[all …]
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c2894 uint8_t essid[IEEE80211_NWID_LEN+1]; local
2929 bcopy(ic->ic_des_essid, essid, ic->ic_des_esslen);
2930 essid[ic->ic_des_esslen] = '\0';
2931 WPI_DBG((WPI_DEBUG_SCAN, "directed scan %s\n", essid));
2933 bcopy(ic->ic_des_essid, hdr->essid, ic->ic_des_esslen);
2935 bzero(hdr->essid, sizeof (hdr->essid));
2957 bcopy(in->in_essid, essid, in->in_esslen);
2958 essid[in->in_esslen] = '\0';
2960 essid));
H A Dwpireg.h540 uint8_t essid[134]; member
/illumos-gate/usr/src/lib/libnwam/
H A DREADME443 nwam_error_t nwam_known_wlan_add_to_known_wlan(const char *essid,
445 nwam_error_t nwam_known_wlan_remove_from_known_wlan(const char *essid,
464 const char *essid, const char *bssid, boolean_t add_to_known_wlans);
465 extern nwam_error_t nwam_wlan_set_key(const char *linkname, const char *essid,
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.h328 uint8_t essid[32]; member
H A Datu.c436 bcopy(node->in_essid, join.essid, node->in_esslen); in atu_join()
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100_impl.h505 uint8_t essid[IEEE80211_NWID_LEN]; member
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp.c3916 uint8_t essid[IEEE80211_NWID_LEN+1]; in iwp_scan() local
3956 bcopy(ic->ic_des_essid, essid, ic->ic_des_esslen); in iwp_scan()
3957 essid[ic->ic_des_esslen] = '\0'; in iwp_scan()
3959 "directed scan %s\n", essid)); in iwp_scan()
3987 bcopy(in->in_essid, essid, in->in_esslen); in iwp_scan()
3988 essid[in->in_esslen] = '\0'; in iwp_scan()
3991 essid)); in iwp_scan()
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh.c4115 uint8_t essid[IEEE80211_NWID_LEN+1]; in iwh_scan() local
4155 bcopy(ic->ic_des_essid, essid, ic->ic_des_esslen); in iwh_scan()
4156 essid[ic->ic_des_esslen] = '\0'; in iwh_scan()
4158 "directed scan %s\n", essid)); in iwh_scan()
4186 bcopy(in->in_essid, essid, in->in_esslen); in iwh_scan()
4187 essid[in->in_esslen] = '\0'; in iwh_scan()
4190 essid)); in iwh_scan()
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2.c3648 uint8_t essid[IEEE80211_NWID_LEN+1]; in iwk_scan() local
3686 bcopy(ic->ic_des_essid, essid, ic->ic_des_esslen); in iwk_scan()
3687 essid[ic->ic_des_esslen] = '\0'; in iwk_scan()
3688 IWK_DBG((IWK_DEBUG_SCAN, "directed scan %s\n", essid)); in iwk_scan()
3713 bcopy(in->in_essid, essid, in->in_esslen); in iwk_scan()
3714 essid[in->in_esslen] = '\0'; in iwk_scan()
3716 essid)); in iwk_scan()
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c5692 struct iwn_scan_essid *essid; in iwn_scan() local
5759 essid = (struct iwn_scan_essid *)(tx + 1); in iwn_scan()
5767 essid[0].id = IEEE80211_ELEMID_SSID; in iwn_scan()
5768 essid[0].len = ic->ic_des_esslen; in iwn_scan()
5769 memcpy(essid[0].data, ic->ic_des_essid, ic->ic_des_esslen); in iwn_scan()
5779 wh = (struct ieee80211_frame *)(essid + 20); in iwn_scan()