Searched refs:nwid (Results 1 – 3 of 3) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_haiku.cpp | 301 struct ieee80211_nwid nwid; in wlan_control() local 302 ifr.ifr_data = (uint8_t*)&nwid; in wlan_control() 305 nwid.i_len = ireq.i_len; in wlan_control() 306 if (user_memcpy(nwid.i_nwid, ireq.i_data, ireq.i_len) != B_OK) in wlan_control() 323 if (ireq.i_len < nwid.i_len) in wlan_control() 325 ireq.i_len = nwid.i_len; in wlan_control() 326 if (user_memcpy(ireq.i_data, nwid.i_nwid, ireq.i_len) != B_OK) in wlan_control() 346 struct ieee80211_nwid nwid; in wlan_control() local 347 ifr.ifr_data = (uint8_t*)&nwid; in wlan_control() 348 nwid.i_len = 0; in wlan_control() [all …]
|
H A D | ieee80211_ioctl.c | 463 struct ieee80211_nwid nwid; in ieee80211_ioctl() local 493 if ((error = copyin(ifr->ifr_data, &nwid, sizeof(nwid))) != 0) in ieee80211_ioctl() 495 if (nwid.i_len > IEEE80211_NWID_LEN) { in ieee80211_ioctl() 500 ic->ic_des_esslen = nwid.i_len; in ieee80211_ioctl() 501 memcpy(ic->ic_des_essid, nwid.i_nwid, nwid.i_len); in ieee80211_ioctl() 515 memset(&nwid, 0, sizeof(nwid)); in ieee80211_ioctl() 519 nwid.i_len = ic->ic_des_esslen; in ieee80211_ioctl() 520 memcpy(nwid.i_nwid, ic->ic_des_essid, nwid.i_len); in ieee80211_ioctl() 523 nwid.i_len = ic->ic_bss->ni_esslen; in ieee80211_ioctl() 524 memcpy(nwid.i_nwid, ic->ic_bss->ni_essid, nwid.i_len); in ieee80211_ioctl() [all …]
|
H A D | ieee80211_node.c | 189 ieee80211_get_ess(struct ieee80211com *ic, const char *nwid, int len) in ieee80211_get_ess() argument 195 memcmp(ess->essid, nwid, ess->esslen) == 0) in ieee80211_get_ess() 203 ieee80211_del_ess(struct ieee80211com *ic, char *nwid, int len, int all) in ieee80211_del_ess() argument 209 memcmp(ess->essid, nwid, len) == 0)) { in ieee80211_del_ess()
|