Home
last modified time | relevance | path

Searched refs:wl_attrp (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Ddriver_wifi.c44 dladm_wlan_attr_t *wl_attrp; in wpa_driver_wifi_get_bssid() local
50 wl_attrp = &attr.la_wlan_attr; in wpa_driver_wifi_get_bssid()
52 (wl_attrp->wa_valid & DLADM_WLAN_ATTR_BSSID) == 0) in wpa_driver_wifi_get_bssid()
55 (void) memcpy(bssid, wl_attrp->wa_bssid.wb_bytes, DLADM_WLAN_BSSID_LEN); in wpa_driver_wifi_get_bssid()
80 dladm_wlan_attr_t *wl_attrp; in wpa_driver_wifi_get_ssid() local
86 wl_attrp = &attr.la_wlan_attr; in wpa_driver_wifi_get_ssid()
88 (wl_attrp->wa_valid & DLADM_WLAN_ATTR_ESSID) == 0) in wpa_driver_wifi_get_ssid()
91 (void) memcpy(ssid, wl_attrp->wa_essid.we_bytes, MAX_ESSID_LENGTH); in wpa_driver_wifi_get_ssid()
/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c704 dladm_wlan_attr_t *wl_attrp; in dladm_wlan_get_linkattr() local
718 wl_attrp = &attrp->la_wlan_attr; in dladm_wlan_get_linkattr()
734 (void) strlcpy(wl_attrp->wa_essid.we_bytes, wls.wl_essid_essid, in dladm_wlan_get_linkattr()
737 wl_attrp->wa_valid |= DLADM_WLAN_ATTR_ESSID; in dladm_wlan_get_linkattr()
743 (void) memcpy(wl_attrp->wa_bssid.wb_bytes, buf, DLADM_WLAN_BSSID_LEN); in dladm_wlan_get_linkattr()
745 wl_attrp->wa_valid |= DLADM_WLAN_ATTR_BSSID; in dladm_wlan_get_linkattr()
757 wl_attrp->wa_valid |= DLADM_WLAN_ATTR_SECMODE; in dladm_wlan_get_linkattr()
761 wl_attrp->wa_secmode = DLADM_WLAN_SECMODE_NONE; in dladm_wlan_get_linkattr()
764 wl_attrp->wa_secmode = DLADM_WLAN_SECMODE_WEP; in dladm_wlan_get_linkattr()
767 wl_attrp->wa_secmode = DLADM_WLAN_SECMODE_WPA; in dladm_wlan_get_linkattr()
[all …]