Open silverjam opened 10 years ago
Issue by silverjam from Thursday Apr 24, 2014 at 23:22 GMT _Originally opened as https://github.com/cozybit/wpa_s_mesh_android/issues/30_
+void +wpa_mesh_new_mesh_peer(struct wpa_supplicant wpa_s, const u8 addr, struct ieee802_11_elems *elems) +{ struct hostapd_sta_add_params params; /* struct wmm_information_element wmm; / struct mesh_conf *conf = wpa_s->ifmsh->mconf; struct hostapd_data *data = wpa_s->ifmsh->bss[0]; struct sta_info *sta; int ret = 0; + sta = ap_get_sta(data, addr); if (!sta) { sta = ap_sta_add(data, addr); if (!sta) return; } + /* initialize sta */ if (copy_supp_rates(wpa_s, sta, elems)) return; + /* TODO: our beacons currently don't include this */ /* if (!elems->wmm) { wpa_msg(wpa_s, MSG_ERROR, "all mesh STAs should have a QoS IE!"); return; } wmm = (struct wmm_information_element *) elems->wmm; sta->qosinfo = wmm->qos_info; */
+void +wpa_mesh_new_mesh_peer(struct wpa_supplicant wpa_s, const u8 addr,
Issue by silverjam from Thursday Apr 24, 2014 at 23:22 GMT _Originally opened as https://github.com/cozybit/wpa_s_mesh_android/issues/30_