mesh              239 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h 	u8 mesh;
mesh              145 drivers/scsi/mesh.c 	volatile struct	mesh_regs __iomem *mesh;
mesh              223 drivers/scsi/mesh.c 	tlp->bs0 = ms->mesh->bus_status0;
mesh              224 drivers/scsi/mesh.c 	tlp->bs1 = ms->mesh->bus_status1;
mesh              305 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              360 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              407 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              618 drivers/scsi/mesh.c 		out_8(&ms->mesh->sequence, SEQ_ENBRESEL);
mesh              619 drivers/scsi/mesh.c 		mesh_flush_io(ms->mesh);
mesh              641 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              682 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              826 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              858 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh              991 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1034 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1128 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1322 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1366 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1445 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1659 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1707 drivers/scsi/mesh.c 	volatile struct mesh_regs __iomem *mr = ms->mesh;
mesh             1820 drivers/scsi/mesh.c        	mr = ms->mesh;
mesh             1847 drivers/scsi/mesh.c 	struct device_node *mesh = macio_get_of_node(mdev);
mesh             1885 drivers/scsi/mesh.c        	note_scsi_host(mesh, mesh_host);
mesh             1896 drivers/scsi/mesh.c 	ms->mesh = ioremap(macio_resource_start(mdev, 0), 0x1000);
mesh             1897 drivers/scsi/mesh.c 	if (ms->mesh == NULL) {
mesh             1904 drivers/scsi/mesh.c 		iounmap(ms->mesh);
mesh             1938 drivers/scsi/mesh.c 	if ((cfp = of_get_property(mesh, "clock-frequency", NULL)))
mesh             1983 drivers/scsi/mesh.c 	iounmap(ms->mesh);
mesh             2008 drivers/scsi/mesh.c 	iounmap(ms->mesh);
mesh              472 net/mac80211/cfg.c 		if (sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE)
mesh             1275 net/mac80211/cfg.c 			if (sta->mesh->plink_state != NL80211_PLINK_ESTAB)
mesh             1277 net/mac80211/cfg.c 			sta->mesh->plink_state = params->plink_state;
mesh             1278 net/mac80211/cfg.c 			sta->mesh->aid = params->peer_aid;
mesh             1282 net/mac80211/cfg.c 				      sdata->u.mesh.mshcfg.power_mode);
mesh             1284 net/mac80211/cfg.c 			ewma_mesh_tx_rate_avg_init(&sta->mesh->tx_rate_avg);
mesh             1286 net/mac80211/cfg.c 			ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg, 10);
mesh             1295 net/mac80211/cfg.c 			if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh             1297 net/mac80211/cfg.c 			sta->mesh->plink_state = params->plink_state;
mesh             1624 net/mac80211/cfg.c 		if (sdata->u.mesh.user_mpm)
mesh             1802 net/mac80211/cfg.c 	pinfo->generation = mpath->sdata->u.mesh.mesh_paths_generation;
mesh             1884 net/mac80211/cfg.c 	pinfo->generation = mpath->sdata->u.mesh.mpp_paths_generation;
mesh             1936 net/mac80211/cfg.c 	memcpy(conf, &(sdata->u.mesh.mshcfg), sizeof(struct mesh_config));
mesh             1951 net/mac80211/cfg.c 					struct ieee80211_sub_if_data, u.mesh);
mesh             2002 net/mac80211/cfg.c 	ifmsh = &sdata->u.mesh;
mesh             2005 net/mac80211/cfg.c 	conf = &(sdata->u.mesh.mshcfg);
mesh             2112 net/mac80211/cfg.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             3280 net/mac80211/cfg.c 		struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              588 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(estab_plinks, u.mesh.estab_plinks, ATOMIC);
mesh              591 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_mcast, u.mesh.mshstats.fwded_mcast, DEC);
mesh              592 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_unicast, u.mesh.mshstats.fwded_unicast, DEC);
mesh              593 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(fwded_frames, u.mesh.mshstats.fwded_frames, DEC);
mesh              594 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dropped_frames_ttl, u.mesh.mshstats.dropped_frames_ttl, DEC);
mesh              596 net/mac80211/debugfs_netdev.c 		  u.mesh.mshstats.dropped_frames_congestion, DEC);
mesh              598 net/mac80211/debugfs_netdev.c 		  u.mesh.mshstats.dropped_frames_no_route, DEC);
mesh              602 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshMaxRetries, DEC);
mesh              604 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshRetryTimeout, DEC);
mesh              606 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshConfirmTimeout, DEC);
mesh              608 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHoldingTimeout, DEC);
mesh              609 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dot11MeshTTL, u.mesh.mshcfg.dot11MeshTTL, DEC);
mesh              610 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(element_ttl, u.mesh.mshcfg.element_ttl, DEC);
mesh              611 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(auto_open_plinks, u.mesh.mshcfg.auto_open_plinks, DEC);
mesh              613 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshMaxPeerLinks, DEC);
mesh              615 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout, DEC);
mesh              617 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval, DEC);
mesh              619 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPperrMinInterval, DEC);
mesh              621 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime, DEC);
mesh              623 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries, DEC);
mesh              625 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.path_refresh_time, DEC);
mesh              627 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.min_discovery_timeout, DEC);
mesh              629 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC);
mesh              631 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshGateAnnouncementProtocol, DEC);
mesh              633 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPRannInterval, DEC);
mesh              634 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(dot11MeshForwarding, u.mesh.mshcfg.dot11MeshForwarding, DEC);
mesh              635 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(rssi_threshold, u.mesh.mshcfg.rssi_threshold, DEC);
mesh              636 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(ht_opmode, u.mesh.mshcfg.ht_opmode, DEC);
mesh              638 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPactivePathToRootTimeout, DEC);
mesh              640 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMProotInterval, DEC);
mesh              642 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval, DEC);
mesh              643 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(power_mode, u.mesh.mshcfg.power_mode, DEC);
mesh              645 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshAwakeWindowDuration, DEC);
mesh              647 net/mac80211/debugfs_netdev.c 		  u.mesh.mshcfg.dot11MeshConnectedToMeshGate, DEC);
mesh              972 net/mac80211/ieee80211_i.h 		struct ieee80211_if_mesh mesh;
mesh               41 net/mac80211/mesh.c 		from_timer(sdata, t, u.mesh.housekeeping_timer);
mesh               43 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh               62 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              141 net/mac80211/mesh.c 	if (free_plinks != sdata->u.mesh.accepting_plinks) {
mesh              142 net/mac80211/mesh.c 		sdata->u.mesh.accepting_plinks = free_plinks;
mesh              167 net/mac80211/mesh.c 	sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL);
mesh              168 net/mac80211/mesh.c 	if (!sdata->u.mesh.rmc)
mesh              170 net/mac80211/mesh.c 	sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1;
mesh              172 net/mac80211/mesh.c 		INIT_HLIST_HEAD(&sdata->u.mesh.rmc->bucket[i]);
mesh              178 net/mac80211/mesh.c 	struct mesh_rmc *rmc = sdata->u.mesh.rmc;
mesh              183 net/mac80211/mesh.c 	if (!sdata->u.mesh.rmc)
mesh              194 net/mac80211/mesh.c 	sdata->u.mesh.rmc = NULL;
mesh              213 net/mac80211/mesh.c 	struct mesh_rmc *rmc = sdata->u.mesh.rmc;
mesh              251 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              296 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              314 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              337 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              360 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              593 net/mac80211/mesh.c 		from_timer(sdata, t, u.mesh.mesh_path_timer);
mesh              601 net/mac80211/mesh.c 		from_timer(sdata, t, u.mesh.mesh_path_root_timer);
mesh              602 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              672 net/mac80211/mesh.c 	meshhdr->ttl = sdata->u.mesh.mshcfg.dot11MeshTTL;
mesh              675 net/mac80211/mesh.c 	put_unaligned(cpu_to_le32(sdata->u.mesh.mesh_seqnum), &meshhdr->seqnum);
mesh              676 net/mac80211/mesh.c 	sdata->u.mesh.mesh_seqnum++;
mesh              694 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              711 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              740 net/mac80211/mesh.c 	sdata = container_of(ifmsh, struct ieee80211_sub_if_data, u.mesh);
mesh              795 net/mac80211/mesh.c 		sdata->u.mesh.security ? WLAN_CAPABILITY_PRIVACY : 0);
mesh              911 net/mac80211/mesh.c 	old_bcn = rcu_dereference_protected(sdata->u.mesh.beacon,
mesh              913 net/mac80211/mesh.c 	ret = ieee80211_mesh_build_beacon(&sdata->u.mesh);
mesh              926 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              942 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              984 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1010 net/mac80211/mesh.c 	del_timer_sync(&sdata->u.mesh.housekeeping_timer);
mesh             1011 net/mac80211/mesh.c 	del_timer_sync(&sdata->u.mesh.mesh_path_root_timer);
mesh             1012 net/mac80211/mesh.c 	del_timer_sync(&sdata->u.mesh.mesh_path_timer);
mesh             1044 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1156 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1217 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1238 net/mac80211/mesh.c 	    (elems.rsn && sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) ||
mesh             1239 net/mac80211/mesh.c 	    (!elems.rsn && sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE))
mesh             1254 net/mac80211/mesh.c 			sdata->u.mesh.mshcfg.rssi_threshold, rx_status->signal);
mesh             1255 net/mac80211/mesh.c 		if (!sdata->u.mesh.user_mpm ||
mesh             1256 net/mac80211/mesh.c 		    sdata->u.mesh.mshcfg.rssi_threshold == 0 ||
mesh             1257 net/mac80211/mesh.c 		    sdata->u.mesh.mshcfg.rssi_threshold < rx_status->signal)
mesh             1273 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1302 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1359 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1437 net/mac80211/mesh.c 	if (!sdata->u.mesh.mesh_id_len)
mesh             1463 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1485 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1490 net/mac80211/mesh.c 	if (!sdata->u.mesh.mesh_id_len)
mesh             1516 net/mac80211/mesh.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              204 net/mac80211/mesh.h void mesh_ids_set_default(struct ieee80211_if_mesh *mesh);
mesh              324 net/mac80211/mesh.h 	atomic_inc(&sdata->u.mesh.estab_plinks);
mesh              331 net/mac80211/mesh.h 	atomic_dec(&sdata->u.mesh.estab_plinks);
mesh              337 net/mac80211/mesh.h 	return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks -
mesh              338 net/mac80211/mesh.h 	       atomic_read(&sdata->u.mesh.estab_plinks);
mesh              354 net/mac80211/mesh.h 	return sdata->u.mesh.mesh_pp_id == IEEE80211_PATH_PROTOCOL_HWMP;
mesh               80 net/mac80211/mesh_hwmp.c 	msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime)
mesh               82 net/mac80211/mesh_hwmp.c 	MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout)
mesh               84 net/mac80211/mesh_hwmp.c 	(msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval))
mesh               85 net/mac80211/mesh_hwmp.c #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries)
mesh               87 net/mac80211/mesh_hwmp.c 	msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout)
mesh               89 net/mac80211/mesh_hwmp.c 	msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval)
mesh              240 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              308 net/mac80211/mesh_hwmp.c 	ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, failed * 100);
mesh              309 net/mac80211/mesh_hwmp.c 	if (ewma_mesh_fail_avg_read(&sta->mesh->fail_avg) >
mesh              314 net/mac80211/mesh_hwmp.c 	ewma_mesh_tx_rate_avg_add(&sta->mesh->tx_rate_avg,
mesh              329 net/mac80211/mesh_hwmp.c 		ewma_mesh_fail_avg_read(&sta->mesh->fail_avg);
mesh              331 net/mac80211/mesh_hwmp.c 	if (sta->mesh->plink_state != NL80211_PLINK_ESTAB)
mesh              347 net/mac80211/mesh_hwmp.c 		rate = ewma_mesh_tx_rate_avg_read(&sta->mesh->tx_rate_avg);
mesh              500 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
mesh              502 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
mesh              546 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_init(&sta->mesh->fail_avg);
mesh              548 net/mac80211/mesh_hwmp.c 			ewma_mesh_fail_avg_add(&sta->mesh->fail_avg, 1);
mesh              563 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              699 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              719 net/mac80211/mesh_hwmp.c 		sdata->u.mesh.mshstats.dropped_frames_ttl++;
mesh              748 net/mac80211/mesh_hwmp.c 	sdata->u.mesh.mshstats.fwded_unicast++;
mesh              749 net/mac80211/mesh_hwmp.c 	sdata->u.mesh.mshstats.fwded_frames++;
mesh              754 net/mac80211/mesh_hwmp.c 	sdata->u.mesh.mshstats.dropped_frames_no_route++;
mesh              761 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              813 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              857 net/mac80211/mesh_hwmp.c 			sdata->u.mesh.mshstats.dropped_frames_no_route++;
mesh              922 net/mac80211/mesh_hwmp.c 	if (!sta || sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
mesh              974 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1031 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             1086 net/mac80211/mesh_hwmp.c 		sdata->u.mesh.last_sn_update = jiffies;
mesh             1089 net/mac80211/mesh_hwmp.c 	ttl = sdata->u.mesh.mshcfg.element_ttl;
mesh             1091 net/mac80211/mesh_hwmp.c 		sdata->u.mesh.mshstats.dropped_frames_ttl++;
mesh             1202 net/mac80211/mesh_hwmp.c 		       msecs_to_jiffies(sdata->u.mesh.mshcfg.path_refresh_time)) &&
mesh             1256 net/mac80211/mesh_hwmp.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              239 net/mac80211/mesh_pathtbl.c 	return mpath_lookup(sdata->u.mesh.mesh_paths, dst, sdata);
mesh              245 net/mac80211/mesh_pathtbl.c 	return mpath_lookup(sdata->u.mesh.mpp_paths, dst, sdata);
mesh              282 net/mac80211/mesh_pathtbl.c 	return __mesh_path_lookup_by_idx(sdata->u.mesh.mesh_paths, idx);
mesh              297 net/mac80211/mesh_pathtbl.c 	return __mesh_path_lookup_by_idx(sdata->u.mesh.mpp_paths, idx);
mesh              310 net/mac80211/mesh_pathtbl.c 	tbl = mpath->sdata->u.mesh.mesh_paths;
mesh              319 net/mac80211/mesh_pathtbl.c 	mpath->sdata->u.mesh.num_gates++;
mesh              329 net/mac80211/mesh_pathtbl.c 		  mpath->dst, mpath->sdata->u.mesh.num_gates);
mesh              350 net/mac80211/mesh_pathtbl.c 	mpath->sdata->u.mesh.num_gates--;
mesh              355 net/mac80211/mesh_pathtbl.c 		  mpath->dst, mpath->sdata->u.mesh.num_gates);
mesh              364 net/mac80211/mesh_pathtbl.c 	return sdata->u.mesh.num_gates;
mesh              412 net/mac80211/mesh_pathtbl.c 	if (atomic_add_unless(&sdata->u.mesh.mpaths, 1, MESH_MAX_MPATHS) == 0)
mesh              419 net/mac80211/mesh_pathtbl.c 	tbl = sdata->u.mesh.mesh_paths;
mesh              437 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mesh_paths_generation++;
mesh              461 net/mac80211/mesh_pathtbl.c 	tbl = sdata->u.mesh.mpp_paths;
mesh              474 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mpp_paths_generation++;
mesh              490 net/mac80211/mesh_pathtbl.c 	struct mesh_table *tbl = sdata->u.mesh.mesh_paths;
mesh              504 net/mac80211/mesh_pathtbl.c 				sdata->u.mesh.mshcfg.element_ttl,
mesh              522 net/mac80211/mesh_pathtbl.c 	atomic_dec(&sdata->u.mesh.mpaths);
mesh              548 net/mac80211/mesh_pathtbl.c 	struct mesh_table *tbl = sdata->u.mesh.mesh_paths;
mesh              563 net/mac80211/mesh_pathtbl.c 	struct mesh_table *tbl = sdata->u.mesh.mpp_paths;
mesh              597 net/mac80211/mesh_pathtbl.c 	table_flush_by_iface(sdata->u.mesh.mesh_paths);
mesh              598 net/mac80211/mesh_pathtbl.c 	table_flush_by_iface(sdata->u.mesh.mpp_paths);
mesh              644 net/mac80211/mesh_pathtbl.c 	err = table_path_del(sdata->u.mesh.mesh_paths, sdata, addr);
mesh              645 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mesh_paths_generation++;
mesh              682 net/mac80211/mesh_pathtbl.c 	tbl = sdata->u.mesh.mesh_paths;
mesh              719 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mshstats.dropped_frames_no_route++;
mesh              756 net/mac80211/mesh_pathtbl.c 	ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg);
mesh              758 net/mac80211/mesh_pathtbl.c 	ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1);
mesh              780 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mesh_paths = tbl_path;
mesh              781 net/mac80211/mesh_pathtbl.c 	sdata->u.mesh.mpp_paths = tbl_mpp;
mesh              809 net/mac80211/mesh_pathtbl.c 	mesh_path_tbl_expire(sdata, sdata->u.mesh.mesh_paths);
mesh              810 net/mac80211/mesh_pathtbl.c 	mesh_path_tbl_expire(sdata, sdata->u.mesh.mpp_paths);
mesh              815 net/mac80211/mesh_pathtbl.c 	mesh_table_free(sdata->u.mesh.mesh_paths);
mesh              816 net/mac80211/mesh_pathtbl.c 	mesh_table_free(sdata->u.mesh.mpp_paths);
mesh               20 net/mac80211/mesh_plink.c #define mod_plink_timer(s, t) (mod_timer(&s->mesh->plink_timer, \
mesh               61 net/mac80211/mesh_plink.c 	s32 rssi_threshold = sdata->u.mesh.mshcfg.rssi_threshold;
mesh               77 net/mac80211/mesh_plink.c 	lockdep_assert_held(&sta->mesh->plink_lock);
mesh               78 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_LISTEN;
mesh               79 net/mac80211/mesh_plink.c 	sta->mesh->llid = sta->mesh->plid = sta->mesh->reason = 0;
mesh               80 net/mac80211/mesh_plink.c 	sta->mesh->plink_retries = 0;
mesh              124 net/mac80211/mesh_plink.c 		    sta->mesh->plink_state != NL80211_PLINK_ESTAB)
mesh              174 net/mac80211/mesh_plink.c 		    sta->mesh->plink_state != NL80211_PLINK_ESTAB)
mesh              204 net/mac80211/mesh_plink.c 	sdata->u.mesh.mshcfg.ht_opmode = ht_opmode;
mesh              233 net/mac80211/mesh_plink.c 			    2 + sdata->u.mesh.mesh_id_len +
mesh              242 net/mac80211/mesh_plink.c 			    sdata->u.mesh.ie_len);
mesh              362 net/mac80211/mesh_plink.c 	lockdep_assert_held(&sta->mesh->plink_lock);
mesh              364 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh              366 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_BLOCKED;
mesh              387 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              390 net/mac80211/mesh_plink.c 	if (!sdata->u.mesh.user_mpm) {
mesh              391 net/mac80211/mesh_plink.c 		sta->mesh->reason = WLAN_REASON_MESH_PEER_CANCELED;
mesh              393 net/mac80211/mesh_plink.c 				    sta->sta.addr, sta->mesh->llid,
mesh              394 net/mac80211/mesh_plink.c 				    sta->mesh->plid, sta->mesh->reason);
mesh              396 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              397 net/mac80211/mesh_plink.c 	if (!sdata->u.mesh.user_mpm)
mesh              398 net/mac80211/mesh_plink.c 		del_timer_sync(&sta->mesh->plink_timer);
mesh              423 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              427 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB &&
mesh              428 net/mac80211/mesh_plink.c 	    sta->mesh->processed_beacon)
mesh              430 net/mac80211/mesh_plink.c 	sta->mesh->processed_beacon = true;
mesh              463 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              511 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_LISTEN;
mesh              530 net/mac80211/mesh_plink.c 	if (sdata->u.mesh.user_mpm ||
mesh              531 net/mac80211/mesh_plink.c 	    sdata->u.mesh.security & IEEE80211_MESH_SEC_AUTHED) {
mesh              612 net/mac80211/mesh_plink.c 	sta->mesh->connected_to_gate = elems->mesh_config->meshconf_form &
mesh              616 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state == NL80211_PLINK_LISTEN &&
mesh              617 net/mac80211/mesh_plink.c 	    sdata->u.mesh.accepting_plinks &&
mesh              618 net/mac80211/mesh_plink.c 	    sdata->u.mesh.mshcfg.auto_open_plinks &&
mesh              630 net/mac80211/mesh_plink.c 	struct mesh_sta *mesh = from_timer(mesh, t, plink_timer);
mesh              642 net/mac80211/mesh_plink.c 	sta = mesh->plink_sta;
mesh              647 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              654 net/mac80211/mesh_plink.c 	if (time_before(jiffies, sta->mesh->plink_timer.expires)) {
mesh              657 net/mac80211/mesh_plink.c 			sta->sta.addr, mplstates[sta->mesh->plink_state]);
mesh              658 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
mesh              663 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state == NL80211_PLINK_LISTEN ||
mesh              664 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state == NL80211_PLINK_ESTAB) {
mesh              667 net/mac80211/mesh_plink.c 			sta->sta.addr, mplstates[sta->mesh->plink_state]);
mesh              668 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
mesh              674 net/mac80211/mesh_plink.c 		sta->sta.addr, mplstates[sta->mesh->plink_state]);
mesh              676 net/mac80211/mesh_plink.c 	mshcfg = &sdata->u.mesh.mshcfg;
mesh              678 net/mac80211/mesh_plink.c 	switch (sta->mesh->plink_state) {
mesh              682 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_retries < mshcfg->dot11MeshMaxRetries) {
mesh              686 net/mac80211/mesh_plink.c 				sta->sta.addr, sta->mesh->plink_retries,
mesh              687 net/mac80211/mesh_plink.c 				sta->mesh->plink_timeout);
mesh              689 net/mac80211/mesh_plink.c 			sta->mesh->plink_timeout = sta->mesh->plink_timeout +
mesh              690 net/mac80211/mesh_plink.c 					     rand % sta->mesh->plink_timeout;
mesh              691 net/mac80211/mesh_plink.c 			++sta->mesh->plink_retries;
mesh              692 net/mac80211/mesh_plink.c 			mod_plink_timer(sta, sta->mesh->plink_timeout);
mesh              702 net/mac80211/mesh_plink.c 		sta->mesh->plink_state = NL80211_PLINK_HOLDING;
mesh              708 net/mac80211/mesh_plink.c 		del_timer(&sta->mesh->plink_timer);
mesh              714 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              717 net/mac80211/mesh_plink.c 				    sta->mesh->llid, sta->mesh->plid, reason);
mesh              722 net/mac80211/mesh_plink.c 	sta->mesh->plink_timeout = timeout;
mesh              723 net/mac80211/mesh_plink.c 	mod_timer(&sta->mesh->plink_timer, jiffies + msecs_to_jiffies(timeout));
mesh              738 net/mac80211/mesh_plink.c 		if (!memcmp(&sta->mesh->llid, &llid, sizeof(llid))) {
mesh              767 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              768 net/mac80211/mesh_plink.c 	sta->mesh->llid = mesh_get_new_llid(sdata);
mesh              769 net/mac80211/mesh_plink.c 	if (sta->mesh->plink_state != NL80211_PLINK_LISTEN &&
mesh              770 net/mac80211/mesh_plink.c 	    sta->mesh->plink_state != NL80211_PLINK_BLOCKED) {
mesh              771 net/mac80211/mesh_plink.c 		spin_unlock_bh(&sta->mesh->plink_lock);
mesh              774 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_OPN_SNT;
mesh              775 net/mac80211/mesh_plink.c 	mesh_plink_timer_set(sta, sdata->u.mesh.mshcfg.dot11MeshRetryTimeout);
mesh              776 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              785 net/mac80211/mesh_plink.c 			    sta->sta.addr, sta->mesh->llid, 0, 0);
mesh              793 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              795 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_BLOCKED;
mesh              796 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              806 net/mac80211/mesh_plink.c 	struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg;
mesh              810 net/mac80211/mesh_plink.c 	sta->mesh->reason = reason;
mesh              811 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_HOLDING;
mesh              818 net/mac80211/mesh_plink.c 	struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg;
mesh              821 net/mac80211/mesh_plink.c 	del_timer(&sta->mesh->plink_timer);
mesh              822 net/mac80211/mesh_plink.c 	sta->mesh->plink_state = NL80211_PLINK_ESTAB;
mesh              844 net/mac80211/mesh_plink.c 	struct mesh_config *mshcfg = &sdata->u.mesh.mshcfg;
mesh              850 net/mac80211/mesh_plink.c 		mplstates[sta->mesh->plink_state], mplevents[event]);
mesh              852 net/mac80211/mesh_plink.c 	spin_lock_bh(&sta->mesh->plink_lock);
mesh              853 net/mac80211/mesh_plink.c 	switch (sta->mesh->plink_state) {
mesh              860 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_OPN_RCVD;
mesh              861 net/mac80211/mesh_plink.c 			sta->mesh->llid = mesh_get_new_llid(sdata);
mesh              883 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_OPN_RCVD;
mesh              887 net/mac80211/mesh_plink.c 			sta->mesh->plink_state = NL80211_PLINK_CNF_RCVD;
mesh              948 net/mac80211/mesh_plink.c 			del_timer(&sta->mesh->plink_timer);
mesh              967 net/mac80211/mesh_plink.c 	spin_unlock_bh(&sta->mesh->plink_lock);
mesh              972 net/mac80211/mesh_plink.c 				    sta->mesh->llid, sta->mesh->plid,
mesh              973 net/mac80211/mesh_plink.c 				    sta->mesh->reason);
mesh              979 net/mac80211/mesh_plink.c 					    sta->sta.addr, sta->mesh->llid,
mesh              980 net/mac80211/mesh_plink.c 					    sta->mesh->plid, 0);
mesh             1039 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_state == NL80211_PLINK_BLOCKED)
mesh             1048 net/mac80211/mesh_plink.c 		    (sta->mesh->plid && sta->mesh->plid != plid))
mesh             1057 net/mac80211/mesh_plink.c 		    sta->mesh->llid != llid ||
mesh             1058 net/mac80211/mesh_plink.c 		    (sta->mesh->plid && sta->mesh->plid != plid))
mesh             1064 net/mac80211/mesh_plink.c 		if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh             1075 net/mac80211/mesh_plink.c 		else if (sta->mesh->plid != plid)
mesh             1077 net/mac80211/mesh_plink.c 		else if (ie_len == 8 && sta->mesh->llid != llid)
mesh             1112 net/mac80211/mesh_plink.c 	    sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) {
mesh             1165 net/mac80211/mesh_plink.c 		sta->mesh->plid = plid;
mesh             1178 net/mac80211/mesh_plink.c 		if (!sta->mesh->plid)
mesh             1179 net/mac80211/mesh_plink.c 			sta->mesh->plid = plid;
mesh             1181 net/mac80211/mesh_plink.c 		sta->mesh->aid = get_unaligned_le16(PLINK_CNF_AID(mgmt));
mesh             1205 net/mac80211/mesh_plink.c 	if (sdata->u.mesh.user_mpm)
mesh               79 net/mac80211/mesh_ps.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh               92 net/mac80211/mesh_ps.c 		switch (sta->mesh->plink_state) {
mesh               99 net/mac80211/mesh_ps.c 			if (sta->mesh->local_pm == NL80211_MESH_POWER_LIGHT_SLEEP)
mesh              101 net/mac80211/mesh_ps.c 			else if (sta->mesh->local_pm == NL80211_MESH_POWER_DEEP_SLEEP)
mesh              153 net/mac80211/mesh_ps.c 	if (sta->mesh->local_pm == pm)
mesh              159 net/mac80211/mesh_ps.c 	sta->mesh->local_pm = pm;
mesh              165 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh              197 net/mac80211/mesh_ps.c 	    sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh              198 net/mac80211/mesh_ps.c 		pm = sta->mesh->local_pm;
mesh              200 net/mac80211/mesh_ps.c 		pm = sdata->u.mesh.nonpeer_pm;
mesh              215 net/mac80211/mesh_ps.c 	     sdata->u.mesh.ps_peers_deep_sleep > 0))
mesh              241 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB &&
mesh              242 net/mac80211/mesh_ps.c 	    sta->mesh->peer_pm != NL80211_MESH_POWER_UNKNOWN)
mesh              243 net/mac80211/mesh_ps.c 		pm = sta->mesh->peer_pm;
mesh              245 net/mac80211/mesh_ps.c 		pm = sta->mesh->nonpeer_pm;
mesh              250 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state != NL80211_PLINK_ESTAB) {
mesh              263 net/mac80211/mesh_ps.c 		atomic_inc(&sta->sdata->u.mesh.ps.num_sta_ps);
mesh              296 net/mac80211/mesh_ps.c 	if (sta->mesh->peer_pm == pm)
mesh              302 net/mac80211/mesh_ps.c 	sta->mesh->peer_pm = pm;
mesh              317 net/mac80211/mesh_ps.c 	if (sta->mesh->nonpeer_pm == pm)
mesh              323 net/mac80211/mesh_ps.c 	sta->mesh->nonpeer_pm = pm;
mesh              552 net/mac80211/mesh_ps.c 		else if (sta->mesh->local_pm != NL80211_MESH_POWER_ACTIVE)
mesh              577 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh              579 net/mac80211/mesh_ps.c 						   sta->mesh->aid);
mesh              598 net/mac80211/mesh_ps.c 	if (sta->mesh->plink_state == NL80211_PLINK_ESTAB)
mesh               49 net/mac80211/mesh_sync.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh               85 net/mac80211/mesh_sync.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              130 net/mac80211/mesh_sync.c 	sta->mesh->t_offset = t_t - t_r;
mesh              133 net/mac80211/mesh_sync.c 		s64 t_clockdrift = sta->mesh->t_offset_setpoint - sta->mesh->t_offset;
mesh              136 net/mac80211/mesh_sync.c 			  sta->sta.addr, (long long) sta->mesh->t_offset,
mesh              137 net/mac80211/mesh_sync.c 			  (long long) sta->mesh->t_offset_setpoint,
mesh              155 net/mac80211/mesh_sync.c 		sta->mesh->t_offset_setpoint = sta->mesh->t_offset - TOFFSET_SET_MARGIN;
mesh              160 net/mac80211/mesh_sync.c 			  (long long) sta->mesh->t_offset);
mesh              170 net/mac80211/mesh_sync.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh              810 net/mac80211/offchannel.c 		    !sdata->u.mesh.mesh_id_len)
mesh              910 net/mac80211/offchannel.c 			beacon = rcu_dereference(sdata->u.mesh.beacon);
mesh             2673 net/mac80211/rx.c 	struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             3307 net/mac80211/rx.c 			if (sdata->u.mesh.user_mpm)
mesh               99 net/mac80211/sta_info.c 			ps = &sdata->u.mesh.ps;
mesh              256 net/mac80211/sta_info.c 	kfree(sta->mesh);
mesh              330 net/mac80211/sta_info.c 		sta->mesh = kzalloc(sizeof(*sta->mesh), gfp);
mesh              331 net/mac80211/sta_info.c 		if (!sta->mesh)
mesh              333 net/mac80211/sta_info.c 		sta->mesh->plink_sta = sta;
mesh              334 net/mac80211/sta_info.c 		spin_lock_init(&sta->mesh->plink_lock);
mesh              336 net/mac80211/sta_info.c 		    !sdata->u.mesh.user_mpm)
mesh              337 net/mac80211/sta_info.c 			timer_setup(&sta->mesh->plink_timer, mesh_plink_timer,
mesh              339 net/mac80211/sta_info.c 		sta->mesh->nonpeer_pm = NL80211_MESH_POWER_ACTIVE;
mesh              494 net/mac80211/sta_info.c 	kfree(sta->mesh);
mesh              778 net/mac80211/sta_info.c 		ps = &sta->sdata->u.mesh.ps;
mesh             1217 net/mac80211/sta_info.c 				atomic_dec(&sdata->u.mesh.ps.num_sta_ps);
mesh             1287 net/mac80211/sta_info.c 		ps = &sdata->u.mesh.ps;
mesh             2367 net/mac80211/sta_info.c 		sinfo->llid = sta->mesh->llid;
mesh             2368 net/mac80211/sta_info.c 		sinfo->plid = sta->mesh->plid;
mesh             2369 net/mac80211/sta_info.c 		sinfo->plink_state = sta->mesh->plink_state;
mesh             2372 net/mac80211/sta_info.c 			sinfo->t_offset = sta->mesh->t_offset;
mesh             2374 net/mac80211/sta_info.c 		sinfo->local_pm = sta->mesh->local_pm;
mesh             2375 net/mac80211/sta_info.c 		sinfo->peer_pm = sta->mesh->peer_pm;
mesh             2376 net/mac80211/sta_info.c 		sinfo->nonpeer_pm = sta->mesh->nonpeer_pm;
mesh             2377 net/mac80211/sta_info.c 		sinfo->connected_to_gate = sta->mesh->connected_to_gate;
mesh              543 net/mac80211/sta_info.h 	struct mesh_sta *mesh;
mesh              633 net/mac80211/sta_info.h 	return sta->mesh->plink_state;
mesh              366 net/mac80211/tx.c 			ps = &sdata->u.mesh.ps;
mesh              423 net/mac80211/tx.c 		ps = &tx->sdata->u.mesh.ps;
mesh             4367 net/mac80211/tx.c 		beacon = rcu_dereference(sdata->u.mesh.beacon);
mesh             4392 net/mac80211/tx.c 		beacon = rcu_dereference(sdata->u.mesh.beacon);
mesh             4435 net/mac80211/tx.c 		struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             4558 net/mac80211/tx.c 		struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             4921 net/mac80211/tx.c 		ps = &sdata->u.mesh.ps;
mesh             3528 net/mac80211/util.c 		struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh;
mesh             3533 net/mac80211/util.c 		*pos++ = sdata->u.mesh.mshcfg.dot11MeshTTL;	/* Mesh TTL */
mesh             3790 net/mac80211/util.c 		ps = &sdata->u.mesh.ps;