Lines Matching refs:ifmsh
2458 static int copy_mesh_setup(struct ieee80211_if_mesh *ifmsh, in copy_mesh_setup() argument
2462 struct ieee80211_sub_if_data *sdata = container_of(ifmsh, in copy_mesh_setup()
2475 ifmsh->ie_len = setup->ie_len; in copy_mesh_setup()
2476 ifmsh->ie = new_ie; in copy_mesh_setup()
2479 ifmsh->mesh_id_len = setup->mesh_id_len; in copy_mesh_setup()
2480 memcpy(ifmsh->mesh_id, setup->mesh_id, ifmsh->mesh_id_len); in copy_mesh_setup()
2481 ifmsh->mesh_sp_id = setup->sync_method; in copy_mesh_setup()
2482 ifmsh->mesh_pp_id = setup->path_sel_proto; in copy_mesh_setup()
2483 ifmsh->mesh_pm_id = setup->path_metric; in copy_mesh_setup()
2484 ifmsh->user_mpm = setup->user_mpm; in copy_mesh_setup()
2485 ifmsh->mesh_auth_id = setup->auth_id; in copy_mesh_setup()
2486 ifmsh->security = IEEE80211_MESH_SEC_NONE; in copy_mesh_setup()
2487 ifmsh->userspace_handles_dfs = setup->userspace_handles_dfs; in copy_mesh_setup()
2489 ifmsh->security |= IEEE80211_MESH_SEC_AUTHED; in copy_mesh_setup()
2491 ifmsh->security |= IEEE80211_MESH_SEC_SECURED; in copy_mesh_setup()
2521 struct ieee80211_if_mesh *ifmsh; in ieee80211_update_mesh_config() local
2524 ifmsh = &sdata->u.mesh; in ieee80211_update_mesh_config()
2543 if (ifmsh->user_mpm) in ieee80211_update_mesh_config()
2572 ieee80211_mesh_root_setup(ifmsh); in ieee80211_update_mesh_config()
2581 ieee80211_mesh_root_setup(ifmsh); in ieee80211_update_mesh_config()
2640 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_join_mesh() local
2643 memcpy(&ifmsh->mshcfg, conf, sizeof(struct mesh_config)); in ieee80211_join_mesh()
2644 err = copy_mesh_setup(ifmsh, setup); in ieee80211_join_mesh()
3844 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_set_csa_beacon() local
3851 if (ifmsh->csa_role == IEEE80211_MESH_CSA_ROLE_NONE) { in ieee80211_set_csa_beacon()
3852 ifmsh->csa_role = IEEE80211_MESH_CSA_ROLE_INIT; in ieee80211_set_csa_beacon()
3853 if (!ifmsh->pre_value) in ieee80211_set_csa_beacon()
3854 ifmsh->pre_value = 1; in ieee80211_set_csa_beacon()
3856 ifmsh->pre_value++; in ieee80211_set_csa_beacon()
3863 ifmsh->csa_role = IEEE80211_MESH_CSA_ROLE_NONE; in ieee80211_set_csa_beacon()
3868 if (ifmsh->csa_role == IEEE80211_MESH_CSA_ROLE_INIT) in ieee80211_set_csa_beacon()