Lines Matching refs:wss
119 ssize_t __wlp_wss_properties_show(struct wlp_wss *wss, char *buf,
124 result = wlp_wss_uuid_print(buf, bufsize, &wss->wssid);
127 &wss->bcast);
129 " 0x%02x %u ", wss->hash, wss->secure_status);
131 wss->master_key);
133 wss->tag);
135 &wss->virtual_addr);
136 result += scnprintf(buf + result, bufsize - result, " %s", wss->name);
148 ssize_t wlp_wss_activate_show(struct wlp_wss *wss, char *buf)
152 if (mutex_lock_interruptible(&wss->mutex))
154 if (wss->state >= WLP_WSS_STATE_ACTIVE)
155 result = __wlp_wss_properties_show(wss, buf, PAGE_SIZE);
172 mutex_unlock(&wss->mutex);
191 ssize_t wlp_wss_activate_store(struct wlp_wss *wss,
231 result = wlp_wss_enroll_activate(wss, &wssid, &bcast);
239 result = wlp_wss_create_activate(wss, &wssid, name,
244 result = wlp_wss_enroll_activate(wss, &wssid, &dev);
568 struct wlp_wss *wss = kobj_to_wlp_wss(kobj);
572 ret = wss_attr->show(wss, buf);
586 struct wlp_wss *wss = kobj_to_wlp_wss(kobj);
590 ret = wss_attr->store(wss, buf, count);
615 static ssize_t wlp_wss_properties_show(struct wlp_wss *wss, char *buf)
619 if (mutex_lock_interruptible(&wss->mutex))
621 result = __wlp_wss_properties_show(wss, buf, PAGE_SIZE);
622 mutex_unlock(&wss->mutex);
632 static ssize_t wlp_wss_members_show(struct wlp_wss *wss, char *buf)
634 struct wlp *wlp = container_of(wss, struct wlp, wss);
658 static ssize_t wlp_wss_state_show(struct wlp_wss *wss, char *buf)
662 if (mutex_lock_interruptible(&wss->mutex))
665 wlp_wss_strstate(wss->state));
666 mutex_unlock(&wss->mutex);