Lines Matching refs:ssid

304 	struct ndis_80211_ssid ssid;  member
1040 static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid) in set_essid() argument
1045 ret = rndis_set_oid(usbdev, OID_802_11_SSID, ssid, sizeof(*ssid)); in set_essid()
1118 struct ndis_80211_ssid ssid; in disassociate() local
1141 ssid.length = cpu_to_le32(sizeof(ssid.essid)); in disassociate()
1142 get_random_bytes(&ssid.essid[2], sizeof(ssid.essid)-2); in disassociate()
1143 ssid.essid[0] = 0x1; in disassociate()
1144 ssid.essid[1] = 0xff; in disassociate()
1145 for (i = 2; i < sizeof(ssid.essid); i++) in disassociate()
1146 ssid.essid[i] = 0x1 + (ssid.essid[i] * 0xfe / 0xff); in disassociate()
1147 ret = set_essid(usbdev, &ssid); in disassociate()
2024 bssid->ssid.essid, bssid->mac, le32_to_cpu(bssid->length)); in rndis_bss_info_update()
2183 struct ndis_80211_ssid ssid; in rndis_connect() local
2214 sme->ssid, sme->bssid, chan, in rndis_connect()
2279 memset(&ssid, 0, sizeof(ssid)); in rndis_connect()
2280 ssid.length = cpu_to_le32(length); in rndis_connect()
2281 memcpy(ssid.essid, sme->ssid, length); in rndis_connect()
2289 ret = set_essid(usbdev, &ssid); in rndis_connect()
2320 struct ndis_80211_ssid ssid; in rndis_join_ibss() local
2341 params->ssid, params->bssid, chan, params->privacy); in rndis_join_ibss()
2393 memset(&ssid, 0, sizeof(ssid)); in rndis_join_ibss()
2394 ssid.length = cpu_to_le32(length); in rndis_join_ibss()
2395 memcpy(ssid.essid, params->ssid, length); in rndis_join_ibss()
2401 ret = set_essid(usbdev, &ssid); in rndis_join_ibss()
2683 struct ndis_80211_ssid ssid; in rndis_wlan_craft_connected_bss() local
2721 len = sizeof(ssid); in rndis_wlan_craft_connected_bss()
2722 memset(&ssid, 0, sizeof(ssid)); in rndis_wlan_craft_connected_bss()
2723 ret = rndis_query_oid(usbdev, OID_802_11_SSID, &ssid, &len); in rndis_wlan_craft_connected_bss()
2726 le32_to_cpu(ssid.length), ssid.essid); in rndis_wlan_craft_connected_bss()
2728 if (le32_to_cpu(ssid.length) > 32) in rndis_wlan_craft_connected_bss()
2729 ssid.length = cpu_to_le32(32); in rndis_wlan_craft_connected_bss()
2732 ie_buf[1] = le32_to_cpu(ssid.length); in rndis_wlan_craft_connected_bss()
2733 memcpy(&ie_buf[2], ssid.essid, le32_to_cpu(ssid.length)); in rndis_wlan_craft_connected_bss()
2735 ie_len = le32_to_cpu(ssid.length) + 2; in rndis_wlan_craft_connected_bss()
2744 ssid.essid, signal); in rndis_wlan_craft_connected_bss()