| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | main.c | 358 struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(link_conf); in mt7925_mac_link_bss_add() local 360 struct mt792x_vif *mvif = mconf->vif; in mt7925_mac_link_bss_add() 365 mconf->mt76.idx = MT792x_MAX_INTERFACES; in mt7925_mac_link_bss_add() 367 mconf->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7925_mac_link_bss_add() 369 if (mconf->mt76.idx >= MT792x_MAX_INTERFACES) { in mt7925_mac_link_bss_add() 375 mconf->mt76.omac_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add() 376 0 : mconf->mt76.idx; in mt7925_mac_link_bss_add() 377 mconf->mt76.band_idx = 0xff; in mt7925_mac_link_bss_add() 378 mconf->mt76.wmm_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add() 379 0 : mconf->mt76.idx % MT76_CONNAC_MAX_WMM_SETS; in mt7925_mac_link_bss_add() [all …]
|
| H A D | mcu.c | 126 struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(link_conf); in mt7925_mcu_update_arp_filter() local 139 .bss_idx = mconf->mt76.idx, in mt7925_mcu_update_arp_filter() 1126 struct mt792x_bss_conf *mconf; in mt7925_mcu_wtbl_update_hdr_trans() local 1134 mconf = mt792x_vif_to_link(mvif, link_id); in mt7925_mcu_wtbl_update_hdr_trans() 1136 skb = __mt76_connac_mcu_alloc_sta_req(&dev->mt76, &mconf->mt76, in mt7925_mcu_wtbl_update_hdr_trans() 1158 struct mt792x_bss_conf *mconf = mt792x_link_conf_to_mconf(bss_conf); in mt7925_mcu_set_tx() local 1163 .bss_idx = mconf->mt76.idx, in mt7925_mcu_set_tx() 1176 struct ieee80211_tx_queue_params *q = &mconf->queue_params[ac]; in mt7925_mcu_set_tx() 1212 struct mt792x_bss_conf *mconf = mt792x_vif_to_link(mvif, wcid->link_id); in mt7925_mcu_sta_key_tlv() local 1225 sec->bss_idx = mconf->mt76.idx; in mt7925_mcu_sta_key_tlv() [all …]
|
| H A D | mt7925.h | 352 int mt7925_mcu_set_mlo_roc(struct mt792x_bss_conf *mconf, u16 sel_links, 354 int mt7925_mcu_set_roc(struct mt792x_phy *phy, struct mt792x_bss_conf *mconf, 357 int mt7925_mcu_abort_roc(struct mt792x_phy *phy, struct mt792x_bss_conf *mconf,
|
| H A D | mac.c | 740 struct mt792x_bss_conf *mconf; in mt7925_mac_write_txwi() local 742 mconf = vif ? mt792x_vif_to_link((struct mt792x_vif *)vif->drv_priv, in mt7925_mac_write_txwi() 744 mvif = mconf ? (struct mt76_vif_link *)&mconf->mt76 : NULL; in mt7925_mac_write_txwi() 1269 struct mt792x_bss_conf *mconf; in mt7925_vif_connect_iter() local 1277 mconf = mt792x_vif_to_link(mvif, i); in mt7925_vif_connect_iter() 1279 mt76_connac_mcu_uni_add_dev(&dev->mphy, bss_conf, &mconf->mt76, in mt7925_vif_connect_iter()
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | mesh.c | 59 if (ifmsh->mconf) { in wpa_supplicant_mesh_iface_deinit() 61 if (ifmsh->mconf->rsn_ie) { in wpa_supplicant_mesh_iface_deinit() 62 ifmsh->mconf->rsn_ie = NULL; in wpa_supplicant_mesh_iface_deinit() 70 os_free(ifmsh->mconf); in wpa_supplicant_mesh_iface_deinit() 71 ifmsh->mconf = NULL; in wpa_supplicant_mesh_iface_deinit() 204 wpa_s->mesh_rsn = mesh_rsn_auth_init(wpa_s, ifmsh->mconf); in wpas_mesh_init_rsn() 268 if (ifmsh->mconf->security != MESH_CONF_SEC_NONE && in wpas_mesh_complete() 282 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete() 283 params->ie_len = ifmsh->mconf->rsn_ie_len; in wpas_mesh_complete() 323 ifmsh->mconf = mesh_config_create(wpa_s, wpa_s->current_ssid); in wpa_supplicant_mesh_enable_iface_cb() [all …]
|
| H A D | mesh_mpm.c | 154 struct mesh_conf *mconf = wpa_s->ifmsh->mconf; in matches_local() local 159 return (mconf->meshid_len == elems->mesh_id_len && in matches_local() 160 os_memcmp(mconf->meshid, elems->mesh_id, in matches_local() 162 mconf->mesh_pp_id == elems->mesh_config[0] && in matches_local() 163 mconf->mesh_pm_id == elems->mesh_config[1] && in matches_local() 164 mconf->mesh_cc_id == elems->mesh_config[2] && in matches_local() 165 mconf->mesh_sp_id == elems->mesh_config[3] && in matches_local() 166 mconf->mesh_auth_id == elems->mesh_config[4]); in matches_local() 216 struct mesh_conf *conf = ifmsh->mconf; in mesh_mpm_send_plink_action() 497 struct mesh_conf *conf = wpa_s->ifmsh->mconf; in plink_timer() [all …]
|
| H A D | wpa_supplicant.c | 4743 struct mesh_conf *mconf; in wpa_supplicant_deauthenticate() local 4745 mconf = wpa_s->ifmsh->mconf; in wpa_supplicant_deauthenticate() 4748 wpas_notify_mesh_group_removed(wpa_s, mconf->meshid, in wpa_supplicant_deauthenticate() 4749 mconf->meshid_len, reason_code); in wpa_supplicant_deauthenticate()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt792x_core.c | 168 struct mt792x_bss_conf *mconf, in mt792x_mac_link_bss_remove() argument 171 struct ieee80211_vif *vif = container_of((void *)mconf->vif, in mt792x_mac_link_bss_remove() 176 link_conf = mt792x_vif_to_bss_conf(vif, mconf->link_id); in mt792x_mac_link_bss_remove() 179 mt76_connac_mcu_uni_add_dev(&dev->mphy, link_conf, &mconf->mt76, in mt792x_mac_link_bss_remove() 184 dev->mt76.vif_mask &= ~BIT_ULL(mconf->mt76.idx); in mt792x_mac_link_bss_remove() 185 mconf->vif->phy->omac_mask &= ~BIT_ULL(mconf->mt76.omac_idx); in mt792x_mac_link_bss_remove() 201 struct mt792x_bss_conf *mconf; in mt792x_remove_interface() local 205 mconf = mt792x_link_conf_to_mconf(&vif->bss_conf); in mt792x_remove_interface() 206 mt792x_mac_link_bss_remove(dev, mconf, &mvif->sta.deflink); in mt792x_remove_interface()
|
| H A D | mt792x.h | 444 struct mt792x_bss_conf *mconf,
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifieee80211.c | 3142 const struct ieee80211_meshconf_ie *mconf = in printmeshconf() local 3145 if (mconf->conf_pselid == IEEE80211_MESHCONF_PATH_HWMP) in printmeshconf() 3150 if (mconf->conf_pmetid == IEEE80211_MESHCONF_METRIC_AIRTIME) in printmeshconf() 3155 if (mconf->conf_ccid == IEEE80211_MESHCONF_CC_DISABLED) in printmeshconf() 3160 if (mconf->conf_syncid == IEEE80211_MESHCONF_SYNC_NEIGHOFF) in printmeshconf() 3165 if (mconf->conf_authid == IEEE80211_MESHCONF_AUTH_DISABLED) in printmeshconf() 3169 printf(" FORM:0x%x CAPS:0x%x>", mconf->conf_form, in printmeshconf() 3170 mconf->conf_cap); in printmeshconf()
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | hostapd.h | 548 struct mesh_conf *mconf; member
|
| H A D | hostapd.c | 1504 if ((hapd->conf->mesh & MESH_ENABLED) && hapd->iface->mconf == NULL) in hostapd_setup_bss() 1735 if ((hapd->conf->mesh & MESH_ENABLED) && iface->mconf == NULL) in hostapd_tx_queue_params() 2541 if (iface->mconf != NULL) { in hostapd_setup_interface_complete_sync() 2697 if (delay_apply_cfg && !iface->mconf) { in hostapd_setup_interface_complete_sync()
|
| H A D | dfs.c | 996 if (iface->mconf) in hostapd_dfs_request_channel_switch()
|